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
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsSubjectLookup wsSubjectLookup) assign a resultcode of exception, and process/log the exceptionvoid
assignResultCodeSuccess
(boolean hasImmediate, boolean hasEffective, boolean canRead) assign a success based on four situations based on hasImmediate and hasEffectiveget the result metadatavoid
processSubject
(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames) assign the code from the enumvoid
processSubject
(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean exceptionIfNotFound) assign the code from the enumconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsSubject
(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:ResultMetadataHolder
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Returns:
- the resultMetadata
-
getWsSubject
- Returns:
- the wsSubject
-
setWsSubject
- Parameters:
wsSubject1
- the wsSubject to set
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-