edu.internet2.middleware.grouper.ws.coresoap
Class WsAttributeDefNameDeleteResults

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameDeleteResults
All Implemented Interfaces:
WsResponseBean, ResultMetadataHolder

public class WsAttributeDefNameDeleteResults
extends java.lang.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
 

Author:
mchyzer

Nested Class Summary
static class WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode
          result code of a request.
 
Constructor Summary
WsAttributeDefNameDeleteResults()
           
 
Method Summary
 void assignResultCode(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode attributeDefNamesDeleteResultsCode)
          assign the code from the enum
 void assignResultCodeException(WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode wsAttributeDefNameDeleteResultsCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 WsAttributeDefNameDeleteResult[] getResults()
          results for each deletion sent in
 WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setResults(WsAttributeDefNameDeleteResult[] results1)
          results for each deletion sent in
 boolean tallyResults(GrouperTransactionType grouperTransactionType, java.lang.String theSummary)
          make sure if there is an error, to record that as an error
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsAttributeDefNameDeleteResults

public WsAttributeDefNameDeleteResults()
Method Detail

getResults

public WsAttributeDefNameDeleteResult[] getResults()
results for each deletion sent in

Returns:
the results

setResults

public void setResults(WsAttributeDefNameDeleteResult[] results1)
results for each deletion sent in

Parameters:
results1 - the results to set

getResultMetadata

public WsResultMeta getResultMetadata()
Description copied from interface: ResultMetadataHolder
get the result metadata

Specified by:
getResultMetadata in interface WsResponseBean
Specified by:
getResultMetadata in interface ResultMetadataHolder
Returns:
the resultMetadata

getResponseMetadata

public WsResponseMeta getResponseMetadata()
Description copied from interface: WsResponseBean
get the response metadata

Specified by:
getResponseMetadata in interface WsResponseBean
Returns:
the response metadata
See Also:
WsResponseBean.getResponseMetadata()

setResponseMetadata

public void setResponseMetadata(WsResponseMeta responseMetadata1)
Parameters:
responseMetadata1 - the responseMetadata to set

setResultMetadata

public void setResultMetadata(WsResultMeta resultMetadata1)
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,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsAttributeDefNameDeleteResultsCodeOverride -
theError -
e -

retrieveResultCode

public WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code

tallyResults

public boolean tallyResults(GrouperTransactionType grouperTransactionType,
                            java.lang.String theSummary)
make sure if there is an error, to record that as an error

Parameters:
grouperTransactionType - for request
theSummary - of entire request
Returns:
true if not need to rollback, and false if so