Class WsExternalSubjectDeleteResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsExternalSubjectDeleteResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
public class WsExternalSubjectDeleteResults
extends Object
implements WsResponseBean, ResultMetadataHolder
results for the external subjects delete call. result code: code of the result for this externalSubject overall SUCCESS: means everything ok EXTERNAL_SUBJECT_NOT_FOUND: cant find the externalSubject EXTERNAL_SUBJECT_DUPLICATE: found multiple externalSubjects
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsExternalSubjectDeleteResults.WsExternalSubjectDeleteResultsCode externalSubjectsDeleteResultsCode) assign the code from the enumvoidassignResultCodeException(WsExternalSubjectDeleteResults.WsExternalSubjectDeleteResultsCode wsExternalSubjectDeleteResultsCodeOverride, 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(WsExternalSubjectDeleteResult[] 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
-
WsExternalSubjectDeleteResults
public WsExternalSubjectDeleteResults()
-
-
Method Details
-
assignResultCode
public void assignResultCode(WsExternalSubjectDeleteResults.WsExternalSubjectDeleteResultsCode externalSubjectsDeleteResultsCode) assign the code from the enum- Parameters:
externalSubjectsDeleteResultsCode- 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(WsExternalSubjectDeleteResults.WsExternalSubjectDeleteResultsCode wsExternalSubjectDeleteResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsExternalSubjectDeleteResultsCodeOverride-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
-