Class RevokeRoleConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.RevokeRoleConstantAction
- All Implemented Interfaces:
ConstantAction
This class performs actions that are ALWAYS performed for a
REVOKE role statement at execution time.
-
Field Summary
FieldsFields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
Constructor Summary
ConstructorsConstructorDescriptionRevokeRoleConstantAction
(List roleNames, List grantees) Make the ConstantAction for a CREATE ROLE statement. -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeConstantAction
(Activation activation) This is the guts of the Execution-time logic for REVOKE role.toString()
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
Field Details
-
roleNames
-
grantees
-
withAdminOption
private final boolean withAdminOption- See Also:
-
-
Constructor Details
-
RevokeRoleConstantAction
Make the ConstantAction for a CREATE ROLE statement. When executed, will create a role by the given name.- Parameters:
roleNames
- List of the name of the role names being revokedgrantees
- List of the authorization ids granted to role
-
-
Method Details
-
executeConstantAction
This is the guts of the Execution-time logic for REVOKE role.- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure- See Also:
-
toString
-