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

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

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

Result of assigning or removing a privilege

Author:
mchyzer

Nested Class Summary
static class WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode
          result code of a request
 
Constructor Summary
WsAssignGrouperPrivilegesResults()
          empty
 
Method Summary
 void assignResultCode(WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode wsAssignGrouperPrivilegesResultsCode)
          assign the code from the enum
 void assignResultCodeException(WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode wsMemberChangeSubjectLiteResultCodeOverride, java.lang.String theError, java.lang.Exception e)
          prcess an exception, log, etc
 WsResponseMeta getResponseMetadata()
          get the response metadata
 WsResultMeta getResultMetadata()
          get the result metadata
 WsAssignGrouperPrivilegesResult[] getResults()
          results for each assignment sent in
 java.lang.String[] getSubjectAttributeNames()
          attributes of subjects returned, in same order as the data
 WsGroup getWsGroup()
          group querying
 WsStem getWsStem()
          stem querying
 void setResponseMetadata(WsResponseMeta responseMetadata1)
           
 void setResultMetadata(WsResultMeta resultMetadata1)
           
 void setResults(WsAssignGrouperPrivilegesResult[] results1)
          results for each assignment sent in
 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
 boolean tallyResults(GrouperTransactionType grouperTransactionType, java.lang.String theSummary)
          make sure if there is an error, to record that as an error
 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

WsAssignGrouperPrivilegesResults

public WsAssignGrouperPrivilegesResults()
empty

Method Detail

toString

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

Overrides:
toString in class java.lang.Object

assignResultCodeException

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

Parameters:
wsMemberChangeSubjectLiteResultCodeOverride -
theError -
e -

assignResultCode

public void assignResultCode(WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode wsAssignGrouperPrivilegesResultsCode)
assign the code from the enum

Parameters:
wsAssignGrouperPrivilegesResultsCode -

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

getResults

public WsAssignGrouperPrivilegesResult[] getResults()
results for each assignment sent in

Returns:
the results

tallyResults

public boolean tallyResults(GrouperTransactionType grouperTransactionType,
                            java.lang.String theSummary)
make sure if there is an error, to record that as an error

Parameters:
grouperTransactionType - for request
theSummary -
Returns:
true if success, false if not

setResults

public void setResults(WsAssignGrouperPrivilegesResult[] results1)
results for each assignment sent in

Parameters:
results1 -

getWsGroup

public WsGroup getWsGroup()
group querying

Returns:
the group

getWsStem

public WsStem getWsStem()
stem querying

Returns:
the stem

setWsGroup

public void setWsGroup(WsGroup wsGroup1)
group querying

Parameters:
wsGroup1 -

setWsStem

public void setWsStem(WsStem wsStem1)
stem querying

Parameters:
wsStem1 -