org.apache.derby.impl.sql.execute
Class TablePrivilegeInfo
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.PrivilegeInfo
-
- org.apache.derby.impl.sql.execute.TablePrivilegeInfo
-
public class TablePrivilegeInfo extends PrivilegeInfo
-
-
Field Summary
Fields Modifier and Type Field and Description static intACTION_COUNTstatic intDELETE_ACTIONstatic intINSERT_ACTIONstatic intREFERENCES_ACTIONstatic intSELECT_ACTIONstatic intTRIGGER_ACTIONstatic intUPDATE_ACTION
-
Constructor Summary
Constructors Constructor and Description TablePrivilegeInfo(TableDescriptor td, boolean[] actionAllowed, FormatableBitSet[] columnBitSets, java.util.List descriptorList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidexecuteGrantRevoke(Activation activation, boolean grant, java.util.List grantees)This is the guts of the Execution-time logic for GRANT/REVOKE of a table privilege
-
-
-
Field Detail
-
SELECT_ACTION
public static final int SELECT_ACTION
- See Also:
- Constant Field Values
-
DELETE_ACTION
public static final int DELETE_ACTION
- See Also:
- Constant Field Values
-
INSERT_ACTION
public static final int INSERT_ACTION
- See Also:
- Constant Field Values
-
UPDATE_ACTION
public static final int UPDATE_ACTION
- See Also:
- Constant Field Values
-
REFERENCES_ACTION
public static final int REFERENCES_ACTION
- See Also:
- Constant Field Values
-
TRIGGER_ACTION
public static final int TRIGGER_ACTION
- See Also:
- Constant Field Values
-
ACTION_COUNT
public static final int ACTION_COUNT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TablePrivilegeInfo
public TablePrivilegeInfo(TableDescriptor td, boolean[] actionAllowed, FormatableBitSet[] columnBitSets, java.util.List descriptorList)
- Parameters:
actionAllowed- actionAllowed[action] is true if action is in the privilege set.
-
-
Method Detail
-
executeGrantRevoke
public void executeGrantRevoke(Activation activation, boolean grant, java.util.List grantees) throws StandardException
This is the guts of the Execution-time logic for GRANT/REVOKE of a table privilege- Specified by:
executeGrantRevokein classPrivilegeInfo- Parameters:
activation-grant- true if grant, false if revokegrantees- a list of authorization ids (strings)- Throws:
StandardException- Thrown on failure
-
-
DataMelt 3.0 © DataMelt by jWork.ORG