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
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
ConstructorDescriptionempty constructorWsHasMemberResult
(WsSubjectLookup wsSubjectLookup, String[] subjectAttributeNamesToRetrieve) result based on a subject lookup. -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsHasMemberResult.WsHasMemberResultCode hasMemberResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsSubjectLookup wsSubjectLookup) assign a resultcode of exception, and process/log the exceptionget the result metadataconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsSubject
(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:ResultMetadataHolder
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Returns:
- the resultMetadata
-
resultCode
convert string to result code- Returns:
- the result code
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-