edu.internet2.middleware.grouper.ws.coresoap
Class WsDeleteMemberResult

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsDeleteMemberResult
All Implemented Interfaces:
ResultMetadataHolder

public class WsDeleteMemberResult
extends java.lang.Object
implements 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

Author:
mchyzer

Nested Class Summary
static class WsDeleteMemberResult.WsDeleteMemberResultCode
          result code of a request
 
Constructor Summary
WsDeleteMemberResult()
           
 
Method Summary
 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)
          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
 WsDeleteMemberResult.WsDeleteMemberResultCode resultCode()
          convert string to result code
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsSubject(WsSubject wsSubject1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsDeleteMemberResult

public WsDeleteMemberResult()
Method Detail

resultCode

public WsDeleteMemberResult.WsDeleteMemberResultCode resultCode()
convert string to result code

Returns:
the result code

assignResultCode

public void assignResultCode(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode)
assign the code from the enum

Parameters:
deleteMemberResultCode -

assignResultCodeException

public void assignResultCodeException(java.lang.Exception e,
                                      WsSubjectLookup wsSubjectLookup)
assign a resultcode of exception, and process/log the exception

Parameters:
e -
wsSubjectLookup -

assignResultCodeSuccess

public void assignResultCodeSuccess(boolean hasImmediate,
                                    boolean hasEffective)
assign a success based on four situations based on hasImmediate and hasEffective

Parameters:
hasImmediate -
hasEffective -

processSubject

public void processSubject(WsSubjectLookup wsSubjectLookup1,
                           java.lang.String[] subjectAttributeNames)
assign the code from the enum

Parameters:
wsSubjectLookup1 -
subjectAttributeNames -

getResultMetadata

public WsResultMeta getResultMetadata()
Description copied from interface: ResultMetadataHolder
get the result metadata

Specified by:
getResultMetadata in interface ResultMetadataHolder
Returns:
the resultMetadata

getWsSubject

public WsSubject getWsSubject()
Returns:
the wsSubject

setWsSubject

public void setWsSubject(WsSubject wsSubject1)
Parameters:
wsSubject1 - the wsSubject to set

setResultMetadata

public void setResultMetadata(WsResultMeta resultMetadata1)
Parameters:
resultMetadata1 - the resultMetadata to set