Class WsDeleteMemberResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsDeleteMemberResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of one subject being deleted from a group. The number of
subjects will equal the number of subjects sent in to the method
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode) assign the code from the enumvoidassignResultCodeException(Exception e, WsSubjectLookup wsSubjectLookup) assign a resultcode of exception, and process/log the exceptionvoidassignResultCodeSuccess(boolean hasImmediate, boolean hasEffective, boolean canRead) assign a success based on four situations based on hasImmediate and hasEffectiveget the result metadatavoidprocessSubject(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames) assign the code from the enumvoidprocessSubject(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean exceptionIfNotFound) assign the code from the enumconvert string to result codevoidsetResultMetadata(WsResultMeta resultMetadata1) voidsetWsSubject(WsSubject wsSubject1)
-
Constructor Details
-
WsDeleteMemberResult
public WsDeleteMemberResult()
-
-
Method Details
-
resultCode
convert string to result code- Returns:
- the result code
-
assignResultCode
assign the code from the enum- Parameters:
deleteMemberResultCode-
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e-wsSubjectLookup-
-
assignResultCodeSuccess
public void assignResultCodeSuccess(boolean hasImmediate, boolean hasEffective, boolean canRead) assign a success based on four situations based on hasImmediate and hasEffective- Parameters:
hasImmediate-hasEffective-canRead- if the caller cant read then dont tell them the membership status
-
processSubject
assign the code from the enum- Parameters:
wsSubjectLookup1-subjectAttributeNames-
-
processSubject
public void processSubject(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean exceptionIfNotFound) assign the code from the enum- Parameters:
wsSubjectLookup1-subjectAttributeNames-exceptionIfNotFound-
-
getResultMetadata
Description copied from interface:ResultMetadataHolderget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Returns:
- the resultMetadata
-
getWsSubject
- Returns:
- the wsSubject
-
setWsSubject
- Parameters:
wsSubject1- the wsSubject to set
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-