Class WsGetGroupsLiteResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetGroupsLiteResult
- 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
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
ConstructorsConstructorDescriptionemptyWsGetGroupsLiteResult(WsGetGroupsResults wsGetGroupsResults) construct from results of other -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode getGroupsResultsCode) assign the code from the enumvoidassignResultCodeException(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode WsGetGroupsLiteResultCodeOverride, String theError, Exception e) prcess an exception, log, etcget the response metadataget the result metadataString[]attributes of subjects returned, in same order as the dataWsGroup[]results for each assignment sent insubject that was addedconvert the result code back to enumvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) voidsetSubjectAttributeNames(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoidsetWsGroups(WsGroup[] results1) results for each assignment sent invoidsetWsSubject(WsSubject wsSubject1) subject that was added
-
Constructor Details
-
WsGetGroupsLiteResult
public WsGetGroupsLiteResult()empty -
WsGetGroupsLiteResult
construct from results of other- Parameters:
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(WsGetGroupsLiteResult.WsGetGroupsLiteResultCode WsGetGroupsLiteResultCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
WsGetGroupsLiteResultCodeOverride-theError-e-
-
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
-
getWsGroups
results for each assignment sent in- Returns:
- the results
-
getWsSubject
subject that was added- Returns:
- the subjectId
-
setWsGroups
results for each assignment sent in- Parameters:
results1- the results to set
-
setWsSubject
subject that was added- Parameters:
wsSubject1- the wsSubject1 to set
-