Class GcAssignPermissions

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

public class GcAssignPermissions extends Object
class to run an assign permissions web service call
  • Constructor Details

    • GcAssignPermissions

      public GcAssignPermissions()
  • Method Details

    • assignWsEndpoint

      public GcAssignPermissions assignWsEndpoint(String theWsEndpoint)
      endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest
      Parameters:
      theWsEndpoint -
      Returns:
      this for chaining
    • assignWsUser

      public GcAssignPermissions assignWsUser(String theWsUser)
      ws user
      Parameters:
      theWsUser -
      Returns:
      this for chaining
    • assignWsPass

      public GcAssignPermissions assignWsPass(String theWsPass)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassEncrypted

      public GcAssignPermissions assignWsPassEncrypted(String theWsPassEncrypted)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFile

      public GcAssignPermissions assignWsPassFile(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFileEncrypted

      public GcAssignPermissions assignWsPassFileEncrypted(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignPermissionType

      public GcAssignPermissions assignPermissionType(String thePermissionType)
      is role or role_subject from the PermissionType enum
      Parameters:
      thePermissionType -
      Returns:
      this for chaining
    • addAction

      public GcAssignPermissions addAction(String action)
      Parameters:
      action -
      Returns:
      this for chaining
    • assignClientVersion

      public GcAssignPermissions assignClientVersion(String theClientVersion)
      assign client version
      Parameters:
      theClientVersion -
      Returns:
      this for chaining
    • assignContentType

      public GcAssignPermissions assignContentType(String theContentType)
      content type for post request
      Parameters:
      theContentType -
      Returns:
      this for chaining
    • addRoleName

      public GcAssignPermissions addRoleName(String theRoleName)
      set the role name
      Parameters:
      theRoleName -
      Returns:
      this for chaining
    • addRoleUuid

      public GcAssignPermissions addRoleUuid(String theRoleUuid)
      set the role uuid
      Parameters:
      theRoleUuid -
      Returns:
      this for chaining
    • addRoleIdIndex

      public GcAssignPermissions addRoleIdIndex(Long theRoleIdIndex)
      set the role id index
      Parameters:
      theRoleIdIndex -
      Returns:
      this for chaining
    • addParam

      public GcAssignPermissions addParam(String paramName, 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(String attributeAssignId)
      add a attribute assign id lookup
      Parameters:
      attributeAssignId - id
      Returns:
      this for chaining
    • addSubjectAttributeName

      public GcAssignPermissions addSubjectAttributeName(String subjectAttributeName)
      Parameters:
      subjectAttributeName -
      Returns:
      this for chaining
    • assignIncludeGroupDetail

      public GcAssignPermissions assignIncludeGroupDetail(Boolean theIncludeGroupDetail)
      assign if the group detail should be included
      Parameters:
      theIncludeGroupDetail -
      Returns:
      this for chaining
    • assignIncludeSubjectDetail

      public GcAssignPermissions assignIncludeSubjectDetail(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(String thePermissionDefNameName)
      set the permissionDefName name
      Parameters:
      thePermissionDefNameName -
      Returns:
      this for chaining
    • addPermissionDefNameUuid

      public GcAssignPermissions addPermissionDefNameUuid(String thePermissionDefNameUuid)
      set the permissionDefName uuid
      Parameters:
      thePermissionDefNameUuid -
      Returns:
      this for chaining
    • addPermissionDefNameIdIndex

      public GcAssignPermissions addPermissionDefNameIdIndex(Long thePermissionDefNameIdIndex)
      set the permissionDefName id index
      Parameters:
      thePermissionDefNameIdIndex -
      Returns:
      this for chaining
    • assignDisabledTime

      public GcAssignPermissions assignDisabledTime(Timestamp theDisabledTime)
      disabled time, or null for not disabled
      Parameters:
      theDisabledTime -
      Returns:
      this for chaining
    • assignEnabledTime

      public GcAssignPermissions assignEnabledTime(Timestamp theEnabledTime)
      enabled time, or null for enabled
      Parameters:
      theEnabledTime -
      Returns:
      this for chaining
    • assignAssignmentNotes

      public GcAssignPermissions assignAssignmentNotes(String theAssignmentNotes)
      notes on the assignment (optional)
      Parameters:
      theAssignmentNotes -
      Returns:
      this for chaining
    • assignPermissionAssignOperation

      public GcAssignPermissions assignPermissionAssignOperation(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(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(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(String action)
      actions to replace
      Parameters:
      action -
      Returns:
      this for chaining
    • addAttributeDefNameToReplace

      public GcAssignPermissions addAttributeDefNameToReplace(String theAttributeDefName)
      set the attributeDef name to replace
      Parameters:
      theAttributeDefName -
      Returns:
      this for chaining
    • addAttributeDefUuidToReplace

      public GcAssignPermissions addAttributeDefUuidToReplace(String theAttributeDefUuid)
      set the attributeDef uuid to replace
      Parameters:
      theAttributeDefUuid -
      Returns:
      this for chaining
    • addAttributeDefIdIndexToReplace

      public GcAssignPermissions addAttributeDefIdIndexToReplace(Long theAttributeDefIdIndex)
      set the attributeDef id index to replace
      Parameters:
      theAttributeDefIdIndex -
      Returns:
      this for chaining