Class WsGetMembershipsResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetMembershipsResults
- 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 TypeMethodDescriptionvoidassignPitMembershipResult(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert pit members to subject resultsvoidassignResult(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert members to subject resultsvoidassignResultCode(WsGetMembershipsResults.WsGetMembershipsResultsCode getMembersResultCode) assign the code from the enumvoidassignResultCodeException(WsGetMembershipsResults.WsGetMembershipsResultsCode 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 dataattributeDefs that are in the resultsWsGroup[]results for each assignment sent inWsStem[]stems that are in the resultssubjects that are in the resultsvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) result metadatavoidsetSubjectAttributeNames(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoidsetWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1) attributeDefs that are in the resultsvoidsetWsGroups(WsGroup[] wsGroup1) voidsetWsMemberships(WsMembership[] results1) results for each assignment sent invoidsetWsStems(WsStem[] wsStems1) stems that are in the resultsvoidsetWsSubjects(WsSubject[] wsSubjects1) subjects that are in the results
-
Constructor Details
-
WsGetMembershipsResults
public WsGetMembershipsResults()
-
-
Method Details
-
setResultMetadata
result metadata- Parameters:
resultMetadata1-
-
assignResultCode
public void assignResultCode(WsGetMembershipsResults.WsGetMembershipsResultsCode getMembersResultCode) assign the code from the enum- Parameters:
getMembersResultCode-
-
getWsAttributeDefs
attributeDefs that are in the results- Returns:
- attributeDefs
-
setWsAttributeDefs
attributeDefs that are in the results- Parameters:
wsAttributeDefs1-
-
getWsStems
stems that are in the results- Returns:
- stems
-
setWsStems
stems that are in the results- Parameters:
wsStems1-
-
getWsSubjects
subjects that are in the results- Returns:
- the subjects
-
setWsSubjects
subjects that are in the results- Parameters:
wsSubjects1-
-
getWsMemberships
results for each assignment sent in- Returns:
- the results
-
setWsMemberships
results for each assignment sent in- Parameters:
results1- the results to set
-
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
-
getWsGroups
- Returns:
- the wsGroups
-
setWsGroups
- Parameters:
wsGroup1- the wsGroups to set
-
assignPitMembershipResult
public void assignPitMembershipResult(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert pit members to subject results- Parameters:
membershipSet-includeGroupDetail-includeSubjectDetail-theSubjectAttributeNames-
-
assignResult
public void assignResult(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert members to subject results- Parameters:
membershipSet-includeGroupDetail-includeSubjectDetail-theSubjectAttributeNames-returnedGroups-returnedMembers-
-
assignResultCodeException
public void assignResultCodeException(WsGetMembershipsResults.WsGetMembershipsResultsCode 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
-