Class WsMemberChangeSubjectResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsMemberChangeSubjectResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of one member changing its subject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode memberChangeSubjectResultCode) assign the code from the enumvoidassignResultCodeException(Exception e, WsMemberChangeSubject wsMemberChangeSubject) assign a resultcode of exception, and process/log the exceptionget the result metadatasubject that was addedsubject that was switched fromvoidprocessMemberOld(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean includeSubjectDetail) assign the code from the enumvoidprocessSubjectNew(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames) assign the code from the enumconvert string to result codevoidsetResultMetadata(WsResultMeta resultMetadata1) voidsetWsSubjectNew(WsSubject wsSubject1) subject that was addedvoidsetWsSubjectOld(WsSubject wsSubject1) subject that was switched from
-
Constructor Details
-
WsMemberChangeSubjectResult
public WsMemberChangeSubjectResult()
-
-
Method Details
-
getWsSubjectNew
subject that was added- Returns:
- the subjectId
-
setWsSubjectNew
subject that was added- Parameters:
wsSubject1- the wsSubject1 to set
-
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
assign a resultcode of exception, and process/log the exception- Parameters:
e-wsMemberChangeSubject-
-
processSubjectNew
assign the code from the enum- Parameters:
wsSubjectLookup1-subjectAttributeNames-
-
processMemberOld
public void processMemberOld(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean includeSubjectDetail) assign the code from the enum- Parameters:
wsSubjectLookup1-subjectAttributeNames-includeSubjectDetail-
-
getResultMetadata
Description copied from interface:ResultMetadataHolderget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Returns:
- the resultMetadata
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-
getWsSubjectOld
subject that was switched from- Returns:
- the subjectId
-
setWsSubjectOld
subject that was switched from- Parameters:
wsSubject1- the wsSubject1 to set
-