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

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

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

 results for assigning permissions call.
 
 result code:
 code of the result for this attribute assignment overall
 SUCCESS: means everything ok
 INSUFFICIENT_PRIVILEGES: problem with some input where privileges are not sufficient
 INVALID_QUERY: bad inputs
 EXCEPTION: something bad happened
 

Author:
mchyzer

Constructor Summary
WsAssignPermissionsLiteResults()
           
WsAssignPermissionsLiteResults(WsAssignPermissionsResults wsAssignPermissionsResults)
           
 
Method Summary
 void assignResultCode(WsAssignAttributesResults.WsAssignAttributesResultsCode getAttributeAssignmentsResultCode)
          assign the code from the enum
 void assignResultCodeException(WsAssignAttributesResults.WsAssignAttributesResultsCode wsGetAttributeAssignmentsResultsCodeOverride, 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
 java.lang.String[] getSubjectAttributeNames()
          attributes of subjects returned, in same order as the data
 WsAttributeDefName getWsAttributeDefName()
          attribute def name referenced in the assignments or inputs (and able to read)
 WsAttributeDef[] getWsAttributeDefs()
          attribute def references in the assignments or inputs (and able to be read)
 WsGroup getWsGroup()
           
 WsAssignPermissionResult getWsPermissionAssignResult()
          the assignment results being queried
 WsSubject getWsSubject()
          subject that is in the results
 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 setWsAttributeDefName(WsAttributeDefName wsAttributeDefName1)
          attribute def names referenced in the assignments or inputs (and able to read)
 void setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
          attribute def references in the assignments or inputs (and able to be read)
 void setWsGroup(WsGroup wsGroup1)
           
 void setWsPermissionAssignResult(WsAssignPermissionResult wsPermissionAssignResult1)
          the assignment results being queried
 void setWsSubject(WsSubject wsSubject1)
          subject that is in the results
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsAssignPermissionsLiteResults

public WsAssignPermissionsLiteResults()

WsAssignPermissionsLiteResults

public WsAssignPermissionsLiteResults(WsAssignPermissionsResults wsAssignPermissionsResults)
Parameters:
wsAssignPermissionsResults -
Method Detail

getWsAttributeDefs

public WsAttributeDef[] getWsAttributeDefs()
attribute def references in the assignments or inputs (and able to be read)

Returns:
attribute defs

setWsAttributeDefs

public void setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
attribute def references in the assignments or inputs (and able to be read)

Parameters:
wsAttributeDefs1 -

getWsAttributeDefName

public WsAttributeDefName getWsAttributeDefName()
attribute def name referenced in the assignments or inputs (and able to read)

Returns:
attribute def name

setWsAttributeDefName

public void setWsAttributeDefName(WsAttributeDefName wsAttributeDefName1)
attribute def names referenced in the assignments or inputs (and able to read)

Parameters:
wsAttributeDefName1 -

getWsPermissionAssignResult

public WsAssignPermissionResult getWsPermissionAssignResult()
the assignment results being queried

Returns:
the assignments being queried

setWsPermissionAssignResult

public void setWsPermissionAssignResult(WsAssignPermissionResult wsPermissionAssignResult1)
the assignment results being queried

Parameters:
wsPermissionAssignResult1 -

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

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

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

getWsGroup

public WsGroup getWsGroup()
Returns:
the wsGroup

getWsSubject

public WsSubject getWsSubject()
subject that is in the results

Returns:
the subject

setWsGroup

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

setWsSubject

public void setWsSubject(WsSubject wsSubject1)
subject that is in the results

Parameters:
wsSubject1 -

assignResultCodeException

public void assignResultCodeException(WsAssignAttributesResults.WsAssignAttributesResultsCode wsGetAttributeAssignmentsResultsCodeOverride,
                                      java.lang.String theError,
                                      java.lang.Exception e)
prcess an exception, log, etc

Parameters:
wsGetAttributeAssignmentsResultsCodeOverride -
theError -
e -

assignResultCode

public void assignResultCode(WsAssignAttributesResults.WsAssignAttributesResultsCode getAttributeAssignmentsResultCode)
assign the code from the enum

Parameters:
getAttributeAssignmentsResultCode -