edu.internet2.middleware.grouper.ws.coresoap
Class WsGroupSaveLiteResult

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsGroupSaveLiteResult
All Implemented Interfaces:
WsResponseBean

public class WsGroupSaveLiteResult
extends java.lang.Object
implements WsResponseBean

 results for the groups save 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
 

Author:
mchyzer

Nested Class Summary
static class WsGroupSaveLiteResult.WsGroupSaveLiteResultCode
          result code of a request
 
Constructor Summary
WsGroupSaveLiteResult()
          empty
WsGroupSaveLiteResult(WsGroupSaveResults wsGroupSaveResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsGroupSaveLiteResult.WsGroupSaveLiteResultCode groupSaveResultsCode, GrouperVersion clientVersion)
          assign the code from the enum
 void assignResultCodeException(WsGroupSaveLiteResult.WsGroupSaveLiteResultCode wsGroupSaveResultsCodeOverride, java.lang.String theError, java.lang.Exception e, GrouperVersion clientVersion)
          prcess an exception, log, etc
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 WsGroup getWsGroup()
           
 WsGroupSaveLiteResult.WsGroupSaveLiteResultCode retrieveResultCode()
          convert the result code back to enum
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setWsGroup(WsGroup wsGroup1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGroupSaveLiteResult

public WsGroupSaveLiteResult()
empty


WsGroupSaveLiteResult

public WsGroupSaveLiteResult(WsGroupSaveResults wsGroupSaveResults)
construct from results of other

Parameters:
wsGroupSaveResults -
Method Detail

assignResultCodeException

public void assignResultCodeException(WsGroupSaveLiteResult.WsGroupSaveLiteResultCode wsGroupSaveResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e,
                                      GrouperVersion clientVersion)
prcess an exception, log, etc

Parameters:
wsGroupSaveResultsCodeOverride -
theError -
e -
clientVersion -

assignResultCode

public void assignResultCode(WsGroupSaveLiteResult.WsGroupSaveLiteResultCode groupSaveResultsCode,
                             GrouperVersion clientVersion)
assign the code from the enum

Parameters:
groupSaveResultsCode -
clientVersion -

retrieveResultCode

public WsGroupSaveLiteResult.WsGroupSaveLiteResultCode retrieveResultCode()
convert the result code back to enum

Returns:
the enum code

getResultMetadata

public WsResultMeta getResultMetadata()
Description copied from interface: WsResponseBean
get the result metadata

Specified by:
getResultMetadata in interface WsResponseBean
Returns:
the resultMetadata

getResponseMetadata

public WsResponseMeta getResponseMetadata()
Description copied from interface: WsResponseBean
get the response metadata

Specified by:
getResponseMetadata in interface WsResponseBean
Returns:
the response metadata
See Also:
WsResponseBean.getResponseMetadata()

setResponseMetadata

public void setResponseMetadata(WsResponseMeta responseMetadata1)
Parameters:
responseMetadata1 - the responseMetadata to set

setResultMetadata

public void setResultMetadata(WsResultMeta resultMetadata1)
Parameters:
resultMetadata1 - the resultMetadata to set

getWsGroup

public WsGroup getWsGroup()
Returns:
the wsGroup

setWsGroup

public void setWsGroup(WsGroup wsGroup1)
Parameters:
wsGroup1 - the wsGroup to set