Class WsHasMemberResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsHasMemberResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of seeing if one subject is a member of a group. The number of
results will equal the number of subjects sent in to the method
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
ConstructorsConstructorDescriptionempty constructorWsHasMemberResult(WsSubjectLookup wsSubjectLookup, String[] subjectAttributeNamesToRetrieve) result based on a subject lookup. -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsHasMemberResult.WsHasMemberResultCode hasMemberResultCode) assign the code from the enumvoidassignResultCodeException(Exception e, WsSubjectLookup wsSubjectLookup) assign a resultcode of exception, and process/log the exceptionget the result metadataconvert string to result codevoidsetResultMetadata(WsResultMeta resultMetadata1) voidsetWsSubject(WsSubject wsSubjectResult1)
-
Constructor Details
-
WsHasMemberResult
public WsHasMemberResult()empty constructor -
WsHasMemberResult
result based on a subject lookup. Might set stat codes meaning abort mission- Parameters:
wsSubjectLookup-subjectAttributeNamesToRetrieve-
-
-
Method Details
-
getWsSubject
- Returns:
- the wsSubject
-
setWsSubject
- Parameters:
wsSubjectResult1- the wsSubject to set
-
assignResultCode
assign the code from the enum- Parameters:
hasMemberResultCode-
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e-wsSubjectLookup-
-
getResultMetadata
Description copied from interface:ResultMetadataHolderget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Returns:
- the resultMetadata
-
resultCode
convert string to result code- Returns:
- the result code
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-