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
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode memberChangeSubjectResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsMemberChangeSubject wsMemberChangeSubject) assign a resultcode of exception, and process/log the exceptionget the result metadatasubject that was addedsubject that was switched fromvoid
processMemberOld
(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean includeSubjectDetail) assign the code from the enumvoid
processSubjectNew
(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames) assign the code from the enumconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsSubjectNew
(WsSubject wsSubject1) subject that was addedvoid
setWsSubjectOld
(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:ResultMetadataHolder
get the result metadata- Specified by:
getResultMetadata
in 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
-