| java.lang.Object org.apache.derby.impl.sql.execute.PrivilegeInfo org.apache.derby.impl.sql.execute.TablePrivilegeInfo
ACTION_COUNT | final public static int ACTION_COUNT(Code) | | |
DELETE_ACTION | final public static int DELETE_ACTION(Code) | | |
INSERT_ACTION | final public static int INSERT_ACTION(Code) | | |
REFERENCES_ACTION | final public static int REFERENCES_ACTION(Code) | | |
SELECT_ACTION | final public static int SELECT_ACTION(Code) | | |
TRIGGER_ACTION | final public static int TRIGGER_ACTION(Code) | | |
UPDATE_ACTION | final public static int UPDATE_ACTION(Code) | | |
TablePrivilegeInfo | public TablePrivilegeInfo(TableDescriptor td, boolean[] actionAllowed, FormatableBitSet[] columnBitSets, List descriptorList)(Code) | | Parameters: actionAllowed - actionAllowed[action] is true if action is in the privilege set. |
checkOwnership | protected void checkOwnership(String user, TableDescriptor td, SchemaDescriptor sd, DataDictionary dd, LanguageConnectionContext lcc, boolean grant) throws StandardException(Code) | | Determines whether a user is the owner of an object
(table, function, or procedure). Note that the database
creator can access database objects without needing to be
their owner.
Parameters: user - authorizationId of current user Parameters: td - table descriptor being checked against Parameters: sd - SchemaDescriptor Parameters: dd - DataDictionary Parameters: lcc - LanguageConnectionContext Parameters: grant - grant if true; revoke if false exception: StandardException - if user does not own the object |
executeGrantRevoke | public void executeGrantRevoke(Activation activation, boolean grant, List grantees) throws StandardException(Code) | | This is the guts of the Execution-time logic for GRANT/REVOKE of a table privilege
Parameters: activation - Parameters: grant - true if grant, false if revoke Parameters: grantees - a list of authorization ids (strings) exception: StandardException - Thrown on failure |
|
|