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
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResult
(Set<Subject> subjectSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames, Set<WsSubjectLookup> wsSubjectLookups) convert members to subject resultsvoid
assignResultCode
(WsGetSubjectsResults.WsGetSubjectsResultsCode getMembersResultCode) assign the code from the enumvoid
assignResultCodeException
(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 resultsvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) result metadatavoid
setSubjectAttributeNames
(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoid
setWsGroup
(WsGroup wsGroup1) void
setWsSubjects
(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:WsResponseBean
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Specified by:
getResultMetadata
in interfaceWsResponseBean
- Returns:
- the resultMetadata
-
getResponseMetadata
Description copied from interface:WsResponseBean
get the response metadata- Specified by:
getResponseMetadata
in 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
-