Class WsGetMembersResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetMembersResult
- All Implemented Interfaces:
ResultMetadataHolder
results for the get members call. result code: code of the result for this group overall SUCCESS: means everything ok GROUP_NOT_FOUND: cant find the group INVALID_QUERY: bad inputs EXCEPTION: something bad happened
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsGetMembersResult.WsGetMembersResultCode getMembersResultCode) assign the code from the enumvoid
assignResultCodeException
(WsGetMembersResult.WsGetMembersResultCode wsGetMembersResultsCodeOverride, String theError, WsGroupLookup wsGroupLookup, Exception e) prcess an exception, log, etcvoid
assignSubjectResult
(Set<Member> memberSet, String[] attributeNames1, boolean includeSubjectDetails) convert members to subject resultsget the result metadataresults for each assignment sent inconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsGroup
(WsGroup wsGroup1) void
setWsSubjects
(WsSubject[] results1) results for each assignment sent in
-
Constructor Details
-
WsGetMembersResult
public WsGetMembersResult()
-
-
Method Details
-
assignResultCode
assign the code from the enum- Parameters:
getMembersResultCode
-
-
assignResultCodeException
public void assignResultCodeException(WsGetMembersResult.WsGetMembersResultCode wsGetMembersResultsCodeOverride, String theError, WsGroupLookup wsGroupLookup, Exception e) prcess an exception, log, etc- Parameters:
wsGetMembersResultsCodeOverride
-theError
-wsGroupLookup
-e
-
-
getWsSubjects
results for each assignment sent in- Returns:
- the results
-
setWsSubjects
results for each assignment sent in- Parameters:
results1
- the results to set
-
getWsGroup
- Returns:
- the wsGroup
-
setWsGroup
- Parameters:
wsGroup1
- the wsGroup to set
-
assignSubjectResult
public void assignSubjectResult(Set<Member> memberSet, String[] attributeNames1, boolean includeSubjectDetails) convert members to subject results- Parameters:
attributeNames1
- to get from subjectsmemberSet
-includeSubjectDetails
-
-
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
-