Class GrantRevokeConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.GrantRevokeConstantAction
-
- All Implemented Interfaces:
ConstantAction
class GrantRevokeConstantAction extends java.lang.Object implements ConstantAction
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
grant
private java.util.List
grantees
private PrivilegeInfo
privileges
-
Fields 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
Constructors Constructor Description GrantRevokeConstantAction(boolean grant, PrivilegeInfo privileges, java.util.List grantees)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for GRANT/REVOKE See ConstantAction#executeConstantActionjava.lang.String
toString()
-
-
-
Field Detail
-
grant
private boolean grant
-
privileges
private PrivilegeInfo privileges
-
grantees
private java.util.List grantees
-
-
Constructor Detail
-
GrantRevokeConstantAction
GrantRevokeConstantAction(boolean grant, PrivilegeInfo privileges, java.util.List grantees)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
executeConstantAction
public void executeConstantAction(Activation activation) throws StandardException
This is the guts of the Execution-time logic for GRANT/REVOKE See ConstantAction#executeConstantAction- Specified by:
executeConstantAction
in interfaceConstantAction
- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure
-
-