org.apache.derby.impl.sql.execute
Class RevokeRoleConstantAction

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

 class RevokeRoleConstantAction
extends DDLConstantAction

This class performs actions that are ALWAYS performed for a REVOKE role statement at execution time.


Field Summary
private  java.util.List grantees
           
private  java.util.List roleNames
           
private  boolean withAdminOption
           
 
Constructor Summary
RevokeRoleConstantAction(java.util.List roleNames, java.util.List grantees)
          Make the ConstantAction for a CREATE ROLE statement.
 
Method Summary
 void executeConstantAction(Activation activation)
          This is the guts of the Execution-time logic for REVOKE role.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

roleNames

private java.util.List roleNames

grantees

private java.util.List grantees

withAdminOption

private final boolean withAdminOption
See Also:
Constant Field Values
Constructor Detail

RevokeRoleConstantAction

public RevokeRoleConstantAction(java.util.List roleNames,
                                java.util.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 name of the role names being revoked
grantees - List of the authorization ids granted to role
Method Detail

executeConstantAction

public void executeConstantAction(Activation activation)
                           throws StandardException
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:
ConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.