Class WsAttributeDefNameDeleteResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameDeleteResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
public class WsAttributeDefNameDeleteResults
extends Object
implements ResultMetadataHolder, WsResponseBean
results for the attribute def names delete call. result code: code of the result for this attribute def name overall SUCCESS: means everything ok ATTRIBUTE_DEF_NAME_NOT_FOUND: cant find the attribute def name
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode attributeDefNamesDeleteResultsCode) assign the code from the enumvoidassignResultCodeException(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode wsAttributeDefNameDeleteResultsCodeOverride, 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(WsAttributeDefNameDeleteResult[] 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
-
WsAttributeDefNameDeleteResults
public WsAttributeDefNameDeleteResults()
-
-
Method Details
-
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:ResultMetadataHolderget 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
-
assignResultCode
public void assignResultCode(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode attributeDefNamesDeleteResultsCode) assign the code from the enum- Parameters:
attributeDefNamesDeleteResultsCode- should not be null
-
assignResultCodeException
public void assignResultCodeException(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode wsAttributeDefNameDeleteResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsAttributeDefNameDeleteResultsCodeOverride-theError-e-
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
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
-