Class WsAddMemberResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAddMemberResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
results for the add member call. result code: code of the result for this group overall SUCCESS: means everything ok GROUP_NOT_FOUND: cant find the group GROUP_DUPLICATE: found multiple groups
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsAddMemberResults.WsAddMemberResultsCode addMemberResultsCode) assign the code from the enumvoidassignResultCodeException(WsAddMemberResults.WsAddMemberResultsCode wsAddMemberResultsCodeOverride, String theError, Exception e) prcess an exception, log, etcget the response metadataget the result metadataresults for each assignment sent inString[]attributes of subjects returned, in same order as the datagroup assigned toconvert the result code back to enumvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) voidsetResults(WsAddMemberResult[] results1) results for each assignment sent invoidsetSubjectAttributeNames(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoidsetWsGroupAssigned(WsGroup theWsGroupLookupAssigned) group assigned tobooleantallyResults(GrouperTransactionType grouperTransactionType, String theSummary) make sure if there is an error, to record that as an error
-
Constructor Details
-
WsAddMemberResults
public WsAddMemberResults()
-
-
Method Details
-
assignResultCode
assign the code from the enum- Parameters:
addMemberResultsCode-
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
assignResultCodeException
public void assignResultCodeException(WsAddMemberResults.WsAddMemberResultsCode wsAddMemberResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsAddMemberResultsCodeOverride-theError-e-
-
tallyResults
make sure if there is an error, to record that as an error- Parameters:
grouperTransactionType- for requesttheSummary-- Returns:
- true if success, false if not
-
getResults
results for each assignment sent in- Returns:
- the results
-
setResults
results for each assignment sent in- Parameters:
results1- the results to set
-
getWsGroupAssigned
group assigned to- Returns:
- the wsGroupLookup
-
setWsGroupAssigned
group assigned to- Parameters:
theWsGroupLookupAssigned- the wsGroupLookup to set
-
getResultMetadata
Description copied from interface:WsResponseBeanget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Specified by:
getResultMetadatain interfaceWsResponseBean- Returns:
- the resultMetadata
-
getSubjectAttributeNames
attributes of subjects returned, in same order as the data- Returns:
- the attributeNames
-
setSubjectAttributeNames
attributes of subjects returned, in same order as the data- Parameters:
attributeNamesa- the attributeNames to set
-
getResponseMetadata
Description copied from interface:WsResponseBeanget the response metadata- Specified by:
getResponseMetadatain interfaceWsResponseBean- Returns:
- the response metadata
- See Also:
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-
setResponseMetadata
- Parameters:
responseMetadata1- the responseMetadata to set
-