Class WsGetSubjectsResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetSubjectsResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
results for the get memberships call, or the get memberships lite 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
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResult(Set<Subject> subjectSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames, Set<WsSubjectLookup> wsSubjectLookups) convert members to subject resultsvoidassignResultCode(WsGetSubjectsResults.WsGetSubjectsResultsCode getMembersResultCode) assign the code from the enumvoidassignResultCodeException(WsGetSubjectsResults.WsGetSubjectsResultsCode wsGetMembershipsResultsCodeOverride, String theError, Exception e) process an exception, log, etcget the response metadataget the result metadataString[]attributes of subjects returned, in same order as the datasubjects that are in the resultsvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) result metadatavoidsetSubjectAttributeNames(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoidsetWsGroup(WsGroup wsGroup1) voidsetWsSubjects(WsSubject[] wsSubjects1) subjects that are in the results
-
Constructor Details
-
WsGetSubjectsResults
public WsGetSubjectsResults()
-
-
Method Details
-
setResultMetadata
result metadata- Parameters:
resultMetadata1-
-
assignResultCode
assign the code from the enum- Parameters:
getMembersResultCode-
-
getWsSubjects
subjects that are in the results- Returns:
- the subjects
-
setWsSubjects
subjects that are in the results- Parameters:
wsSubjects1-
-
getSubjectAttributeNames
attributes of subjects returned, in same order as the data- Returns:
- the attributeNames
-
setSubjectAttributeNames
attributes of subjects returned, in same order as the data- Parameters:
attributeNamesa- the attributeNames to set
-
assignResult
public void assignResult(Set<Subject> subjectSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames, Set<WsSubjectLookup> wsSubjectLookups) convert members to subject results- Parameters:
subjectSet-includeGroupDetail-includeSubjectDetail-theSubjectAttributeNames-wsSubjectLookups-
-
assignResultCodeException
public void assignResultCodeException(WsGetSubjectsResults.WsGetSubjectsResultsCode wsGetMembershipsResultsCodeOverride, String theError, Exception e) process an exception, log, etc- Parameters:
wsGetMembershipsResultsCodeOverride-theError-e-
-
getResultMetadata
Description copied from interface:WsResponseBeanget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Specified by:
getResultMetadatain interfaceWsResponseBean- Returns:
- the resultMetadata
-
getResponseMetadata
Description copied from interface:WsResponseBeanget the response metadata- Specified by:
getResponseMetadatain interfaceWsResponseBean- Returns:
- the response metadata
- See Also:
-
setResponseMetadata
- Parameters:
responseMetadata1- the responseMetadata to set
-
getWsGroup
- Returns:
- the wsGroups
-
setWsGroup
- Parameters:
wsGroup1- the wsGroups to set
-