public class WsDeleteMemberResult extends java.lang.Object implements ResultMetadataHolder
Modifier and Type | Class and Description |
---|---|
static class |
WsDeleteMemberResult.WsDeleteMemberResultCode
result code of a request
|
Constructor and Description |
---|
WsDeleteMemberResult() |
Modifier and Type | Method and Description |
---|---|
void |
assignResultCode(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode)
assign the code from the enum
|
void |
assignResultCodeException(java.lang.Exception e,
WsSubjectLookup wsSubjectLookup)
assign a resultcode of exception, and process/log the exception
|
void |
assignResultCodeSuccess(boolean hasImmediate,
boolean hasEffective,
boolean canRead)
assign a success based on four situations based on hasImmediate and hasEffective
|
WsResultMeta |
getResultMetadata()
get the result metadata
|
WsSubject |
getWsSubject() |
void |
processSubject(WsSubjectLookup wsSubjectLookup1,
java.lang.String[] subjectAttributeNames)
assign the code from the enum
|
void |
processSubject(WsSubjectLookup wsSubjectLookup1,
java.lang.String[] subjectAttributeNames,
boolean exceptionIfNotFound)
assign the code from the enum
|
WsDeleteMemberResult.WsDeleteMemberResultCode |
resultCode()
convert string to result code
|
void |
setResultMetadata(WsResultMeta resultMetadata1) |
void |
setWsSubject(WsSubject wsSubject1) |
public WsDeleteMemberResult.WsDeleteMemberResultCode resultCode()
public void assignResultCode(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode)
deleteMemberResultCode
- public void assignResultCodeException(java.lang.Exception e, WsSubjectLookup wsSubjectLookup)
e
- wsSubjectLookup
- public void assignResultCodeSuccess(boolean hasImmediate, boolean hasEffective, boolean canRead)
hasImmediate
- hasEffective
- canRead
- if the caller cant read then dont tell them the membership statuspublic void processSubject(WsSubjectLookup wsSubjectLookup1, java.lang.String[] subjectAttributeNames)
wsSubjectLookup1
- subjectAttributeNames
- public void processSubject(WsSubjectLookup wsSubjectLookup1, java.lang.String[] subjectAttributeNames, boolean exceptionIfNotFound)
wsSubjectLookup1
- subjectAttributeNames
- exceptionIfNotFound
- public WsResultMeta getResultMetadata()
ResultMetadataHolder
getResultMetadata
in interface ResultMetadataHolder
public WsSubject getWsSubject()
public void setWsSubject(WsSubject wsSubject1)
wsSubject1
- the wsSubject to setpublic void setResultMetadata(WsResultMeta resultMetadata1)
resultMetadata1
- the resultMetadata to set