Class GrantRoleConstantAction

java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.GrantRoleConstantAction
All Implemented Interfaces:
ConstantAction

class GrantRoleConstantAction extends DDLConstantAction
This class performs actions that are ALWAYS performed for a GRANT role statement at execution time. Descriptors corresponding to the grants are stored in the SYS.SYSROLES table, along with the role definitions, cf CreateRoleConstantAction.
  • Field Details

    • roleNames

      private List roleNames
    • grantees

      private List grantees
    • withAdminOption

      private final boolean withAdminOption
      See Also:
  • Constructor Details

    • GrantRoleConstantAction

      public GrantRoleConstantAction(List roleNames, List grantees)
      Make the ConstantAction for a CREATE ROLE statement. When executed, will create a role by the given name.
      Parameters:
      roleNames - List of the names of the roles being granted
      grantees - List of the authorization ids granted to role
  • Method Details