Class WsAddMemberResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAddMemberResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of one subject being added to a group. The number of
subjects will equal the number of subjects sent in to the method
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsAddMemberResult.WsAddMemberResultCode addMemberResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsSubjectLookup wsSubjectLookup1) assign a resultcode of exception, and process/log the exceptionget the result metadatasubject that was addedvoid
processSubject
(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames) assign the code from the enumconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsSubject
(WsSubject wsSubject1) subject that was added
-
Constructor Details
-
WsAddMemberResult
public WsAddMemberResult()
-
-
Method Details
-
getWsSubject
subject that was added- Returns:
- the subjectId
-
setWsSubject
subject that was added- Parameters:
wsSubject1
- the wsSubject1 to set
-
resultCode
convert string to result code- Returns:
- the result code
-
assignResultCode
assign the code from the enum- Parameters:
addMemberResultCode
-
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e
-wsSubjectLookup1
-
-
processSubject
assign the code from the enum- Parameters:
wsSubjectLookup1
-subjectAttributeNames
-
-
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
-