Class WsRestAssignPermissionsRequest

java.lang.Object
edu.internet2.middleware.grouper.ws.rest.permission.WsRestAssignPermissionsRequest
All Implemented Interfaces:
WsRequestBean

public class WsRestAssignPermissionsRequest extends Object implements WsRequestBean
request bean in body of rest request
  • Constructor Details

    • WsRestAssignPermissionsRequest

      public WsRestAssignPermissionsRequest()
  • Method Details

    • getDisallowed

      public String getDisallowed()
      T or F (defaults to F), if this permission assignment is disallowed
      Returns:
      T or F (defaults to F), if this permission assignment is disallowed
    • setDisallowed

      public void setDisallowed(String disallowed1)
      T or F (defaults to F), if this permission assignment is disallowed
      Parameters:
      disallowed1 -
    • getAssignmentNotes

      public String getAssignmentNotes()
      notes on the assignment (optional)
      Returns:
      notes
    • setAssignmentNotes

      public void setAssignmentNotes(String assignmentNotes1)
      notes on the assignment (optional)
      Parameters:
      assignmentNotes1 -
    • getAssignmentEnabledTime

      public String getAssignmentEnabledTime()
      enabled time, or null for enabled now
      Returns:
      enabled time
    • setAssignmentEnabledTime

      public void setAssignmentEnabledTime(String assignmentEnabledTime1)
      enabled time, or null for enabled now
      Parameters:
      assignmentEnabledTime1 -
    • getAssignmentDisabledTime

      public String getAssignmentDisabledTime()
      disabled time, or null for not disabled
      Returns:
      disabled time
    • setAssignmentDisabledTime

      public void setAssignmentDisabledTime(String assignmentDisabledTime1)
      disabled time, or null for not disabled
      Parameters:
      assignmentDisabledTime1 -
    • getDelegatable

      public String getDelegatable()
      really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT
      Returns:
      delegatable
    • setDelegatable

      public void setDelegatable(String delegatable1)
      really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT
      Parameters:
      delegatable1 -
    • getPermissionAssignOperation

      public String getPermissionAssignOperation()
      operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission
      Returns:
      operation
    • setPermissionAssignOperation

      public void setPermissionAssignOperation(String attributeAssignOperation1)
      operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission
      Parameters:
      attributeAssignOperation1 -
    • retrieveRestHttpMethod

      public GrouperRestHttpMethod retrieveRestHttpMethod()
      Description copied from interface: WsRequestBean
      see which http method this is supposed to be associated with, and override whatever was passed in
      Specified by:
      retrieveRestHttpMethod in interface WsRequestBean
      Returns:
      the method
      See Also:
    • getClientVersion

      public String getClientVersion()
      is the version of the client. Must be in GrouperWsVersion, e.g. v1_3_000
      Returns:
      version
    • setClientVersion

      public void setClientVersion(String clientVersion1)
      is the version of the client. Must be in GrouperWsVersion, e.g. v1_3_000
      Parameters:
      clientVersion1 -
    • getPermissionType

      public String getPermissionType()
      is role or role_subject from the PermissionType enum
      Returns:
      attribute assign type
    • setPermissionType

      public void setPermissionType(String attributeAssignType1)
      is role or role_subject from the PermissionType enum
      Parameters:
      attributeAssignType1 -
    • getWsAttributeAssignLookups

      public WsAttributeAssignLookup[] getWsAttributeAssignLookups()
      if you know the assign ids you want, put them here
      Returns:
      attribute assign lookups
    • setWsAttributeAssignLookups

      public void setWsAttributeAssignLookups(WsAttributeAssignLookup[] wsAttributeAssignLookups1)
      if you know the assign ids you want, put them here
      Parameters:
      wsAttributeAssignLookups1 -
    • getPermissionDefNameLookups

      public WsAttributeDefNameLookup[] getPermissionDefNameLookups()
      find assignments in these attribute def names (optional)
      Returns:
      def name lookups
    • setPermissionDefNameLookups

      public void setPermissionDefNameLookups(WsAttributeDefNameLookup[] wsAttributeDefNameLookups1)
      find assignments in these attribute def names (optional)
      Parameters:
      wsAttributeDefNameLookups1 -
    • getRoleLookups

      public WsGroupLookup[] getRoleLookups()
      roleLookups are roles to look in
      Returns:
      role lookups
    • setRoleLookups

      public void setRoleLookups(WsGroupLookup[] roleLookups1)
      roleLookups are roles to look in
      Parameters:
      roleLookups1 -
    • getSubjectRoleLookups

      public WsMembershipAnyLookup[] getSubjectRoleLookups()
      to query attributes in "any" memberships which are on immediate or effective memberships
      Returns:
      any memberships
    • setSubjectRoleLookups

      public void setSubjectRoleLookups(WsMembershipAnyLookup[] wsOwnerMembershipAnyLookups1)
      to query attributes in "any" memberships which are on immediate or effective memberships
      Parameters:
      wsOwnerMembershipAnyLookups1 -
    • getActions

      public String[] getActions()
      actions to query, or none to query all actions
      Returns:
      actions
    • setActions

      public void setActions(String[] actions1)
      actions to query, or none to query all actions
      Parameters:
      actions1 -
    • getActAsSubjectLookup

      public WsSubjectLookup getActAsSubjectLookup()
      if acting as someone else
      Returns:
      act as subject
    • setActAsSubjectLookup

      public void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1)
      if acting as someone else
      Parameters:
      actAsSubjectLookup1 -
    • getIncludeSubjectDetail

      public String getIncludeSubjectDetail()
      T|F, for if the extended subject information should be returned (anything more than just the id)
      Returns:
      T|F
    • setIncludeSubjectDetail

      public void setIncludeSubjectDetail(String includeSubjectDetail1)
      T|F, for if the extended subject information should be returned (anything more than just the id)
      Parameters:
      includeSubjectDetail1 -
    • getSubjectAttributeNames

      public String[] getSubjectAttributeNames()
      are the additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent
      Returns:
      subject attribute names
    • setSubjectAttributeNames

      public void setSubjectAttributeNames(String[] subjectAttributeNames1)
      are the additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent
      Parameters:
      subjectAttributeNames1 -
    • getIncludeGroupDetail

      public String getIncludeGroupDetail()
      T or F as to if the group detail should be returned
      Returns:
      T|F
    • setIncludeGroupDetail

      public void setIncludeGroupDetail(String includeGroupDetail1)
      T or F as to if the group detail should be returned
      Parameters:
      includeGroupDetail1 -
    • getParams

      public WsParam[] getParams()
      optional: reserved for future use
      Returns:
      params
    • setParams

      public void setParams(WsParam[] params1)
      optional: reserved for future use
      Parameters:
      params1 -
    • getActionsToReplace

      public String[] getActionsToReplace()
      if replacing attributeDefNames, then these are the related actions, if blank, then just do all
      Returns:
      the actionsToReplace
    • getAttributeDefsToReplace

      public WsAttributeDefLookup[] getAttributeDefsToReplace()
      if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all
      Returns:
      the attributeDefsToReplace
    • setActionsToReplace

      public void setActionsToReplace(String[] actionsToReplace1)
      if replacing attributeDefNames, then these are the related actions, if blank, then just do all
      Parameters:
      actionsToReplace1 - the actionsToReplace to set
    • setAttributeDefsToReplace

      public void setAttributeDefsToReplace(WsAttributeDefLookup[] attributeDefsToReplace1)
      if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all
      Parameters:
      attributeDefsToReplace1 - the attributeDefsToReplace to set