Class WsExternalSubjectDeleteResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsExternalSubjectDeleteResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of one externalSubject being deleted. The number of
these result objects will equal the number of externalSubjects sent in to the method
to be deleted
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
ConstructorDescriptionempty constructorWsExternalSubjectDeleteResult
(WsExternalSubjectLookup wsExternalSubjectLookup) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignExternalSubject
(ExternalSubject externalSubject, WsExternalSubjectLookup wsExternalSubjectLookup) create a result based on externalSubjectvoid
assignResultCode
(WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode externalSubjectDeleteResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsExternalSubjectLookup wsExternalSubjectLookup) assign a resultcode of exception, and process/log the exceptionget the result metadataconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsExternalSubject
(WsExternalSubject wsExternalSubjectResult1)
-
Constructor Details
-
WsExternalSubjectDeleteResult
public WsExternalSubjectDeleteResult()empty constructor -
WsExternalSubjectDeleteResult
- Parameters:
wsExternalSubjectLookup
- is the externalSubject lookup to assign
-
-
Method Details
-
assignExternalSubject
public void assignExternalSubject(ExternalSubject externalSubject, WsExternalSubjectLookup wsExternalSubjectLookup) create a result based on externalSubject- Parameters:
externalSubject
-wsExternalSubjectLookup
-includeDetail
-
-
assignResultCode
public void assignResultCode(WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode externalSubjectDeleteResultCode) assign the code from the enum- Parameters:
externalSubjectDeleteResultCode
-
-
getWsExternalSubject
- Returns:
- the wsExternalSubject
-
setWsExternalSubject
- Parameters:
wsExternalSubjectResult1
- the wsExternalSubject to set
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e
-wsExternalSubjectLookup
-
-
getResultMetadata
Description copied from interface:ResultMetadataHolder
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Returns:
- the resultMetadata
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-
resultCode
convert string to result code- Returns:
- the result code
-