Class WsAddMemberResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAddMemberResults
- All Implemented Interfaces:
WsResponseBean
,ResultMetadataHolder
results for the add member call. result code: code of the result for this group overall SUCCESS: means everything ok GROUP_NOT_FOUND: cant find the group GROUP_DUPLICATE: found multiple groups
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsAddMemberResults.WsAddMemberResultsCode addMemberResultsCode) assign the code from the enumvoid
assignResultCodeException
(WsAddMemberResults.WsAddMemberResultsCode wsAddMemberResultsCodeOverride, String theError, Exception e) prcess an exception, log, etcget the response metadataget the result metadataresults for each assignment sent inString[]
attributes of subjects returned, in same order as the datagroup assigned toconvert the result code back to enumvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) void
setResults
(WsAddMemberResult[] results1) results for each assignment sent invoid
setSubjectAttributeNames
(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoid
setWsGroupAssigned
(WsGroup theWsGroupLookupAssigned) group assigned toboolean
tallyResults
(GrouperTransactionType grouperTransactionType, String theSummary) make sure if there is an error, to record that as an error
-
Constructor Details
-
WsAddMemberResults
public WsAddMemberResults()
-
-
Method Details
-
assignResultCode
assign the code from the enum- Parameters:
addMemberResultsCode
-
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
assignResultCodeException
public void assignResultCodeException(WsAddMemberResults.WsAddMemberResultsCode wsAddMemberResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsAddMemberResultsCodeOverride
-theError
-e
-
-
tallyResults
make sure if there is an error, to record that as an error- Parameters:
grouperTransactionType
- for requesttheSummary
-- Returns:
- true if success, false if not
-
getResults
results for each assignment sent in- Returns:
- the results
-
setResults
results for each assignment sent in- Parameters:
results1
- the results to set
-
getWsGroupAssigned
group assigned to- Returns:
- the wsGroupLookup
-
setWsGroupAssigned
group assigned to- Parameters:
theWsGroupLookupAssigned
- the wsGroupLookup to set
-
getResultMetadata
Description copied from interface:WsResponseBean
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Specified by:
getResultMetadata
in interfaceWsResponseBean
- Returns:
- the resultMetadata
-
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
-
getResponseMetadata
Description copied from interface:WsResponseBean
get the response metadata- Specified by:
getResponseMetadata
in interfaceWsResponseBean
- Returns:
- the response metadata
- See Also:
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-
setResponseMetadata
- Parameters:
responseMetadata1
- the responseMetadata to set
-