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

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

public class WsMemberChangeSubjectResult
extends java.lang.Object
implements ResultMetadataHolder

Result of one member changing its subject

Author:
mchyzer

Nested Class Summary
static class WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode
          result code of a request
 
Constructor Summary
WsMemberChangeSubjectResult()
           
 
Method Summary
 void assignResultCode(WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode memberChangeSubjectResultCode)
          assign the code from the enum
 void assignResultCodeException(java.lang.Exception e, WsMemberChangeSubject wsMemberChangeSubject)
          assign a resultcode of exception, and process/log the exception
 WsResultMeta getResultMetadata()
          get the result metadata
 WsSubject getWsSubjectNew()
          subject that was added
 WsSubject getWsSubjectOld()
          subject that was switched from
 void processMemberOld(WsSubjectLookup wsSubjectLookup1, java.lang.String[] subjectAttributeNames, boolean includeSubjectDetail)
          assign the code from the enum
 void processSubjectNew(WsSubjectLookup wsSubjectLookup1, java.lang.String[] subjectAttributeNames)
          assign the code from the enum
 WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode resultCode()
          convert string to result code
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsSubjectNew(WsSubject wsSubject1)
          subject that was added
 void setWsSubjectOld(WsSubject wsSubject1)
          subject that was switched from
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsMemberChangeSubjectResult

public WsMemberChangeSubjectResult()
Method Detail

getWsSubjectNew

public WsSubject getWsSubjectNew()
subject that was added

Returns:
the subjectId

setWsSubjectNew

public void setWsSubjectNew(WsSubject wsSubject1)
subject that was added

Parameters:
wsSubject1 - the wsSubject1 to set

resultCode

public WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode resultCode()
convert string to result code

Returns:
the result code

assignResultCode

public void assignResultCode(WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode memberChangeSubjectResultCode)
assign the code from the enum

Parameters:
memberChangeSubjectResultCode -

assignResultCodeException

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

Parameters:
e -
wsMemberChangeSubject -

processSubjectNew

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

Parameters:
wsSubjectLookup1 -
subjectAttributeNames -

processMemberOld

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

Parameters:
wsSubjectLookup1 -
subjectAttributeNames -
includeSubjectDetail -

getResultMetadata

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

Specified by:
getResultMetadata in interface ResultMetadataHolder
Returns:
the resultMetadata

setResultMetadata

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

getWsSubjectOld

public WsSubject getWsSubjectOld()
subject that was switched from

Returns:
the subjectId

setWsSubjectOld

public void setWsSubjectOld(WsSubject wsSubject1)
subject that was switched from

Parameters:
wsSubject1 - the wsSubject1 to set