Class WsAttributeDefDeleteResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefDeleteResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
public class WsAttributeDefDeleteResults
extends Object
implements WsResponseBean, ResultMetadataHolder
results for the attribute defs delete call. result code: code of the result for this attribute def overall SUCCESS: means everything ok ATTRIBUTE_DEF_NOT_FOUND: cant find the attribute def
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsAttributeDefDeleteResults.WsAttributeDefDeleteResultsCode attributeDefsDeleteResultsCode) assign the code from the enumvoidassignResultCodeException(WsAttributeDefDeleteResults.WsAttributeDefDeleteResultsCode wsAttributeDefDeleteResultsCodeOverride, String theError, Exception e) prcess an exception, log, etcget the response metadataget the result metadataresults for each deletion sent inconvert the result code back to enumvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) voidsetResults(WsAttributeDefDeleteResult[] results1) results for each deletion sent inbooleantallyResults(GrouperTransactionType grouperTransactionType, String theSummary) make sure if there is an error, to record that as an error
-
Constructor Details
-
WsAttributeDefDeleteResults
public WsAttributeDefDeleteResults()
-
-
Method Details
-
assignResultCode
public void assignResultCode(WsAttributeDefDeleteResults.WsAttributeDefDeleteResultsCode attributeDefsDeleteResultsCode) assign the code from the enum- Parameters:
attributeDefsDeleteResultsCode- should not be null
-
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
-
assignResultCodeException
public void assignResultCodeException(WsAttributeDefDeleteResults.WsAttributeDefDeleteResultsCode wsAttributeDefDeleteResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsAttributeDefDeleteResultsCodeOverride-theError-e-
-
tallyResults
make sure if there is an error, to record that as an error- Parameters:
grouperTransactionType- for requesttheSummary- of entire request- Returns:
- true if not need to rollback, and false if so
-
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
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-