edu.internet2.middleware.grouperClient.api
Class GcAssignPermissions

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.api.GcAssignPermissions

public class GcAssignPermissions
extends java.lang.Object

class to run an assign permissions web service call


Constructor Summary
GcAssignPermissions()
           
 
Method Summary
 GcAssignPermissions addAction(java.lang.String action)
           
 GcAssignPermissions addActionToReplace(java.lang.String action)
          actions to replace
 GcAssignPermissions addAttributeAssignId(java.lang.String attributeAssignId)
          add a attribute assign id lookup
 GcAssignPermissions addAttributeDefIdIndexToReplace(java.lang.Long theAttributeDefIdIndex)
          set the attributeDef id index to replace
 GcAssignPermissions addAttributeDefNameToReplace(java.lang.String theAttributeDefName)
          set the attributeDef name to replace
 GcAssignPermissions addAttributeDefUuidToReplace(java.lang.String theAttributeDefUuid)
          set the attributeDef uuid to replace
 GcAssignPermissions addParam(java.lang.String paramName, java.lang.String paramValue)
          add a param to the list
 GcAssignPermissions addParam(WsParam wsParam)
          add a param to the list
 GcAssignPermissions addPermissionDefNameIdIndex(java.lang.Long thePermissionDefNameIdIndex)
          set the permissionDefName id index
 GcAssignPermissions addPermissionDefNameName(java.lang.String thePermissionDefNameName)
          set the permissionDefName name
 GcAssignPermissions addPermissionDefNameUuid(java.lang.String thePermissionDefNameUuid)
          set the permissionDefName uuid
 GcAssignPermissions addRoleIdIndex(java.lang.Long theRoleIdIndex)
          set the role id index
 GcAssignPermissions addRoleName(java.lang.String theRoleName)
          set the role name
 GcAssignPermissions addRoleUuid(java.lang.String theRoleUuid)
          set the role uuid
 GcAssignPermissions addSubjectAttributeName(java.lang.String subjectAttributeName)
           
 GcAssignPermissions addSubjectRoleLookup(WsMembershipAnyLookup subjectRoleLookup)
          add a membership any lookup
 GcAssignPermissions assignActAsSubject(WsSubjectLookup theActAsSubject)
          assign the act as subject if any
 GcAssignPermissions assignAssignmentNotes(java.lang.String theAssignmentNotes)
          notes on the assignment (optional)
 GcAssignPermissions assignClientVersion(java.lang.String theClientVersion)
          assign client version
 GcAssignPermissions assignDelegatable(java.lang.String theDelegatable)
          really only for permissions, if the assignee can delegate to someone else.
 GcAssignPermissions assignDisabledTime(java.sql.Timestamp theDisabledTime)
          disabled time, or null for not disabled
 GcAssignPermissions assignDisallowed(java.lang.Boolean theDisallowed)
          really only for permissions, if the assignment is a disallow to override an allow in a wider inherited permission resource
 GcAssignPermissions assignEnabledTime(java.sql.Timestamp theEnabledTime)
          enabled time, or null for enabled
 GcAssignPermissions assignIncludeGroupDetail(java.lang.Boolean theIncludeGroupDetail)
          assign if the group detail should be included
 GcAssignPermissions assignIncludeSubjectDetail(java.lang.Boolean theIncludeSubjectDetail)
          if should include subject detail
 GcAssignPermissions assignPermissionAssignOperation(java.lang.String thePermissionAssignOperation)
          operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission
 GcAssignPermissions assignPermissionType(java.lang.String thePermissionType)
          is role or role_subject from the PermissionType enum
 WsAssignPermissionsResults execute()
          execute the call and return the results.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcAssignPermissions

public GcAssignPermissions()
Method Detail

assignPermissionType

public GcAssignPermissions assignPermissionType(java.lang.String thePermissionType)
is role or role_subject from the PermissionType enum

Parameters:
thePermissionType -
Returns:
this for chaining

addAction

public GcAssignPermissions addAction(java.lang.String action)
Parameters:
action -
Returns:
this for chaining

assignClientVersion

public GcAssignPermissions assignClientVersion(java.lang.String theClientVersion)
assign client version

Parameters:
theClientVersion -
Returns:
this for chaining

addRoleName

public GcAssignPermissions addRoleName(java.lang.String theRoleName)
set the role name

Parameters:
theRoleName -
Returns:
this for chaining

addRoleUuid

public GcAssignPermissions addRoleUuid(java.lang.String theRoleUuid)
set the role uuid

Parameters:
theRoleUuid -
Returns:
this for chaining

addRoleIdIndex

public GcAssignPermissions addRoleIdIndex(java.lang.Long theRoleIdIndex)
set the role id index

Parameters:
theRoleIdIndex -
Returns:
this for chaining

addParam

public GcAssignPermissions addParam(java.lang.String paramName,
                                    java.lang.String paramValue)
add a param to the list

Parameters:
paramName -
paramValue -
Returns:
this for chaining

addParam

public GcAssignPermissions addParam(WsParam wsParam)
add a param to the list

Parameters:
wsParam -
Returns:
this for chaining

assignActAsSubject

public GcAssignPermissions assignActAsSubject(WsSubjectLookup theActAsSubject)
assign the act as subject if any

Parameters:
theActAsSubject -
Returns:
this for chaining

addSubjectRoleLookup

public GcAssignPermissions addSubjectRoleLookup(WsMembershipAnyLookup subjectRoleLookup)
add a membership any lookup

Parameters:
subjectRoleLookup -
Returns:
this for chaining

addAttributeAssignId

public GcAssignPermissions addAttributeAssignId(java.lang.String attributeAssignId)
add a attribute assign id lookup

Parameters:
attributeAssignId - id
Returns:
this for chaining

addSubjectAttributeName

public GcAssignPermissions addSubjectAttributeName(java.lang.String subjectAttributeName)
Parameters:
subjectAttributeName -
Returns:
this for chaining

assignIncludeGroupDetail

public GcAssignPermissions assignIncludeGroupDetail(java.lang.Boolean theIncludeGroupDetail)
assign if the group detail should be included

Parameters:
theIncludeGroupDetail -
Returns:
this for chaining

assignIncludeSubjectDetail

public GcAssignPermissions assignIncludeSubjectDetail(java.lang.Boolean theIncludeSubjectDetail)
if should include subject detail

Parameters:
theIncludeSubjectDetail -
Returns:
this for chaining

execute

public WsAssignPermissionsResults execute()
execute the call and return the results. If there is a problem calling the service, an exception will be thrown

Returns:
the results

addPermissionDefNameName

public GcAssignPermissions addPermissionDefNameName(java.lang.String thePermissionDefNameName)
set the permissionDefName name

Parameters:
thePermissionDefNameName -
Returns:
this for chaining

addPermissionDefNameUuid

public GcAssignPermissions addPermissionDefNameUuid(java.lang.String thePermissionDefNameUuid)
set the permissionDefName uuid

Parameters:
thePermissionDefNameUuid -
Returns:
this for chaining

addPermissionDefNameIdIndex

public GcAssignPermissions addPermissionDefNameIdIndex(java.lang.Long thePermissionDefNameIdIndex)
set the permissionDefName id index

Parameters:
thePermissionDefNameIdIndex -
Returns:
this for chaining

assignDisabledTime

public GcAssignPermissions assignDisabledTime(java.sql.Timestamp theDisabledTime)
disabled time, or null for not disabled

Parameters:
theDisabledTime -
Returns:
this for chaining

assignEnabledTime

public GcAssignPermissions assignEnabledTime(java.sql.Timestamp theEnabledTime)
enabled time, or null for enabled

Parameters:
theEnabledTime -
Returns:
this for chaining

assignAssignmentNotes

public GcAssignPermissions assignAssignmentNotes(java.lang.String theAssignmentNotes)
notes on the assignment (optional)

Parameters:
theAssignmentNotes -
Returns:
this for chaining

assignPermissionAssignOperation

public GcAssignPermissions assignPermissionAssignOperation(java.lang.String thePermissionAssignOperation)
operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission

Parameters:
thePermissionAssignOperation -
Returns:
this for chaining

assignDelegatable

public GcAssignPermissions assignDelegatable(java.lang.String theDelegatable)
really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT

Parameters:
theDelegatable -
Returns:
this for chaining

assignDisallowed

public GcAssignPermissions assignDisallowed(java.lang.Boolean theDisallowed)
really only for permissions, if the assignment is a disallow to override an allow in a wider inherited permission resource

Parameters:
theDisallowed -
Returns:
this for chaining

addActionToReplace

public GcAssignPermissions addActionToReplace(java.lang.String action)
actions to replace

Parameters:
action -
Returns:
this for chaining

addAttributeDefNameToReplace

public GcAssignPermissions addAttributeDefNameToReplace(java.lang.String theAttributeDefName)
set the attributeDef name to replace

Parameters:
theAttributeDefName -
Returns:
this for chaining

addAttributeDefUuidToReplace

public GcAssignPermissions addAttributeDefUuidToReplace(java.lang.String theAttributeDefUuid)
set the attributeDef uuid to replace

Parameters:
theAttributeDefUuid -
Returns:
this for chaining

addAttributeDefIdIndexToReplace

public GcAssignPermissions addAttributeDefIdIndexToReplace(java.lang.Long theAttributeDefIdIndex)
set the attributeDef id index to replace

Parameters:
theAttributeDefIdIndex -
Returns:
this for chaining