Class WsStemSaveLiteResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsStemSaveLiteResult
- All Implemented Interfaces:
WsResponseBean
,ResultMetadataHolder
results for the stems save call. result code: code of the result for this stem overall SUCCESS: means everything ok STEM_NOT_FOUND: cant find the stem STEM_DUPLICATE: found multiple stems
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
ConstructorDescriptionemptyWsStemSaveLiteResult
(WsStemSaveResults wsStemSaveResults) construct from results of other -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsStemSaveLiteResult.WsStemSaveLiteResultCode stemSaveResultsCode, GrouperVersion clientVersion) assign the code from the enumvoid
assignResultCodeException
(WsStemSaveLiteResult.WsStemSaveLiteResultCode wsStemSaveResultsCodeOverride, String theError, Exception e, GrouperVersion clientVersion) prcess an exception, log, etcget the response metadataget the result metadataconvert the result code back to enumvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) void
-
Constructor Details
-
WsStemSaveLiteResult
public WsStemSaveLiteResult()empty -
WsStemSaveLiteResult
construct from results of other- Parameters:
wsStemSaveResults
-
-
-
Method Details
-
assignResultCode
public void assignResultCode(WsStemSaveLiteResult.WsStemSaveLiteResultCode stemSaveResultsCode, GrouperVersion clientVersion) assign the code from the enum- Parameters:
stemSaveResultsCode
-clientVersion
-
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
getResultMetadata
Description copied from interface:WsResponseBean
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Specified by:
getResultMetadata
in interfaceWsResponseBean
- Returns:
- the resultMetadata
-
assignResultCodeException
public void assignResultCodeException(WsStemSaveLiteResult.WsStemSaveLiteResultCode wsStemSaveResultsCodeOverride, String theError, Exception e, GrouperVersion clientVersion) prcess an exception, log, etc- Parameters:
wsStemSaveResultsCodeOverride
-theError
-e
-clientVersion
-
-
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
-
getWsStem
- Returns:
- the wsStem
-
setWsStem
- Parameters:
wsStem1
- the wsStem to set
-