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

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

public class WsAssignGrouperPrivilegesLiteResult
extends java.lang.Object
implements WsResponseBean, ResultMetadataHolder

Result of assigning or removing a privilege

Author:
mchyzer

Nested Class Summary
static class WsAssignGrouperPrivilegesLiteResult.WsAssignGrouperPrivilegesLiteResultCode
          result code of a request
 
Constructor Summary
WsAssignGrouperPrivilegesLiteResult()
          empty
WsAssignGrouperPrivilegesLiteResult(WsAssignGrouperPrivilegesResults wsAssignGrouperPrivilegesResults)
          construct from results of other
 
Method Summary
 void assignResultCode(WsAssignGrouperPrivilegesLiteResult.WsAssignGrouperPrivilegesLiteResultCode memberChangeSubjectLiteResultCode1)
          assign the code from the enum
 void assignResultCodeException(WsAssignGrouperPrivilegesLiteResult.WsAssignGrouperPrivilegesLiteResultCode wsMemberChangeSubjectLiteResultCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 java.lang.String getAllowed()
          whether this privilege is allowed T/F
 WsParam[] getParams()
           
 java.lang.String getPrivilegeName()
          privilege type, e.g.
 java.lang.String getPrivilegeType()
          privilege type, e.g.
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 java.lang.String[] getSubjectAttributeNames()
          attributes of subjects returned, in same order as the data
 WsGroup getWsGroup()
          group querying
 WsStem getWsStem()
          stem querying
 WsSubject getWsSubject()
          subject that was changed to
 void processSubject(WsSubjectLookup wsSubjectLookup1, java.lang.String[] theSubjectAttributeNames)
          assign the code from the enum
 void setAllowed(java.lang.String allowed1)
          whether this privilege is allowed T/F
 void setParams(WsParam[] params1)
           
 void setPrivilegeName(java.lang.String privilegeName1)
          privilege type, e.g.
 void setPrivilegeType(java.lang.String privilegeType1)
          privilege type, e.g.
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
          attributes of subjects returned, in same order as the data
 void setWsGroup(WsGroup wsGroup1)
          group querying
 void setWsStem(WsStem wsStem1)
          stem querying
 void setWsSubject(WsSubject wsSubject1)
          subject that was changed to
 java.lang.String toString()
          make sure this is an explicit toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsAssignGrouperPrivilegesLiteResult

public WsAssignGrouperPrivilegesLiteResult(WsAssignGrouperPrivilegesResults wsAssignGrouperPrivilegesResults)
construct from results of other

Parameters:
wsAssignGrouperPrivilegesResults -
clientVersion -

WsAssignGrouperPrivilegesLiteResult

public WsAssignGrouperPrivilegesLiteResult()
empty

Method Detail

toString

public java.lang.String toString()
make sure this is an explicit toString

Overrides:
toString in class java.lang.Object

processSubject

public void processSubject(WsSubjectLookup wsSubjectLookup1,
                           java.lang.String[] theSubjectAttributeNames)
assign the code from the enum

Parameters:
wsSubjectLookup1 -
theSubjectAttributeNames -

assignResultCodeException

public void assignResultCodeException(WsAssignGrouperPrivilegesLiteResult.WsAssignGrouperPrivilegesLiteResultCode wsMemberChangeSubjectLiteResultCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsMemberChangeSubjectLiteResultCodeOverride -
theError -
e -

assignResultCode

public void assignResultCode(WsAssignGrouperPrivilegesLiteResult.WsAssignGrouperPrivilegesLiteResultCode memberChangeSubjectLiteResultCode1)
assign the code from the enum

Parameters:
memberChangeSubjectLiteResultCode1 -

getResultMetadata

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

Specified by:
getResultMetadata in interface WsResponseBean
Specified by:
getResultMetadata in interface ResultMetadataHolder
Returns:
the resultMetadata

getSubjectAttributeNames

public java.lang.String[] getSubjectAttributeNames()
attributes of subjects returned, in same order as the data

Returns:
the attributeNames

setSubjectAttributeNames

public void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributes of subjects returned, in same order as the data

Parameters:
attributeNamesa - the attributeNames to set

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()

setResultMetadata

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

setResponseMetadata

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

getParams

public WsParam[] getParams()
Returns:
the params

setParams

public void setParams(WsParam[] params1)
Parameters:
params1 - the params to set

getAllowed

public java.lang.String getAllowed()
whether this privilege is allowed T/F

Returns:
if allowed

getPrivilegeName

public java.lang.String getPrivilegeName()
privilege type, e.g. naming, or access

Returns:
the name

getPrivilegeType

public java.lang.String getPrivilegeType()
privilege type, e.g. naming, or access

Returns:
the type

getWsGroup

public WsGroup getWsGroup()
group querying

Returns:
the group

getWsStem

public WsStem getWsStem()
stem querying

Returns:
the stem

getWsSubject

public WsSubject getWsSubject()
subject that was changed to

Returns:
the subjectId

setAllowed

public void setAllowed(java.lang.String allowed1)
whether this privilege is allowed T/F

Parameters:
allowed1 -

setPrivilegeName

public void setPrivilegeName(java.lang.String privilegeName1)
privilege type, e.g. naming, or access

Parameters:
privilegeName1 -

setPrivilegeType

public void setPrivilegeType(java.lang.String privilegeType1)
privilege type, e.g. naming, or access

Parameters:
privilegeType1 -

setWsGroup

public void setWsGroup(WsGroup wsGroup1)
group querying

Parameters:
wsGroup1 -

setWsStem

public void setWsStem(WsStem wsStem1)
stem querying

Parameters:
wsStem1 -

setWsSubject

public void setWsSubject(WsSubject wsSubject1)
subject that was changed to

Parameters:
wsSubject1 - the wsSubject1 to set