Class WsGroupSaveResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGroupSaveResults
- All Implemented Interfaces:
WsResponseBean
,ResultMetadataHolder
results for the groups save 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
(WsGroupSaveResults.WsGroupSaveResultsCode groupSaveResultsCode, GrouperVersion clientVersion) assign the code from the enumvoid
assignResultCodeException
(WsGroupSaveResults.WsGroupSaveResultsCode wsGroupSaveResultsCodeOverride, String theError, Exception e, GrouperVersion clientVersion) prcess an exception, log, etcget the response metadataget the result metadataresults for each deletion sent inconvert the result code back to enumvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) void
setResults
(WsGroupSaveResult[] results1) results for each deletion sent inboolean
tallyResults
(GrouperTransactionType grouperTransactionType, String theSummary, GrouperVersion clientVersion) make sure if there is an error, to record that as an error
-
Constructor Details
-
WsGroupSaveResults
public WsGroupSaveResults()
-
-
Method Details
-
assignResultCodeException
public void assignResultCodeException(WsGroupSaveResults.WsGroupSaveResultsCode wsGroupSaveResultsCodeOverride, String theError, Exception e, GrouperVersion clientVersion) prcess an exception, log, etc- Parameters:
wsGroupSaveResultsCodeOverride
-theError
-e
-clientVersion
-
-
assignResultCode
public void assignResultCode(WsGroupSaveResults.WsGroupSaveResultsCode groupSaveResultsCode, GrouperVersion clientVersion) assign the code from the enum- Parameters:
groupSaveResultsCode
-clientVersion
-
-
tallyResults
public boolean tallyResults(GrouperTransactionType grouperTransactionType, String theSummary, GrouperVersion clientVersion) make sure if there is an error, to record that as an error- Parameters:
grouperTransactionType
- for requesttheSummary
-clientVersion
-- Returns:
- true if success, false if not
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
getResults
results for each deletion sent in- Returns:
- the results
-
setResults
results for each deletion sent in- Parameters:
results1
- the results 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
-
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
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-