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
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignPitMembershipResult
(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert pit members to subject resultsvoid
assignResult
(Set<Object[]> membershipSet, boolean includeGroupDetail, boolean includeSubjectDetail, String[] theSubjectAttributeNames) convert members to subject resultsvoid
assignResultCode
(WsGetMembershipsResults.WsGetMembershipsResultsCode getMembersResultCode) assign the code from the enumvoid
assignResultCodeException
(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 resultsvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) result metadatavoid
setSubjectAttributeNames
(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoid
setWsAttributeDefs
(WsAttributeDef[] wsAttributeDefs1) attributeDefs that are in the resultsvoid
setWsGroups
(WsGroup[] wsGroup1) void
setWsMemberships
(WsMembership[] results1) results for each assignment sent invoid
setWsStems
(WsStem[] wsStems1) stems that are in the resultsvoid
setWsSubjects
(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: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
-