Class WsGetGroupsResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetGroupsResults
- All Implemented Interfaces:
WsResponseBean
,ResultMetadataHolder
results for the get groups call. result code: code of the result for this group overall SUCCESS: means everything ok EXCEPTION: something bad happened etc.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsGetGroupsResults.WsGetGroupsResultsCode getGroupsResultsCode) assign the code from the enumvoid
assignResultCodeException
(WsGetGroupsResults.WsGetGroupsResultsCode wsGetGroupsResultsCodeOverride, 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 dataconvert the result code back to enumvoid
setResponseMetadata
(WsResponseMeta responseMetadata1) void
setResultMetadata
(WsResultMeta resultMetadata1) void
setResults
(WsGetGroupsResult[] results1) results for each assignment sent invoid
setSubjectAttributeNames
(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoid
tallyResults
(String theSummary) make sure if there is an error, to record that as an error
-
Constructor Details
-
WsGetGroupsResults
public WsGetGroupsResults()
-
-
Method Details
-
assignResultCode
assign the code from the enum- Parameters:
getGroupsResultsCode
-
-
retrieveResultCode
convert the result code back to enum- Returns:
- the enum code
-
assignResultCodeException
public void assignResultCodeException(WsGetGroupsResults.WsGetGroupsResultsCode wsGetGroupsResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsGetGroupsResultsCodeOverride
-theError
-e
-
-
tallyResults
make sure if there is an error, to record that as an error- Parameters:
grouperTransactionType
- for requesttheSummary
-
-
getResults
results for each assignment sent in- Returns:
- the results
-
setResults
results for each assignment sent in- Parameters:
results1
- the results to set
-
getResultMetadata
Description copied from interface:WsResponseBean
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Specified by:
getResultMetadata
in 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:WsResponseBean
get the response metadata- Specified by:
getResponseMetadata
in interfaceWsResponseBean
- Returns:
- the response metadata
- See Also:
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-
setResponseMetadata
- Parameters:
responseMetadata1
- the responseMetadata to set
-