| org.h2.command.ddl.DefineCommand org.h2.command.ddl.GrantRevoke
GrantRevoke | public class GrantRevoke extends DefineCommand (Code) | | This class represents the statements
GRANT RIGHT,
GRANT ROLE,
REVOKE RIGHT,
REVOKE ROLE
|
Field Summary | |
final public static int | GRANT The operation type to grant a right. | final public static int | REVOKE The operation type to revoke a right. |
GRANT | final public static int GRANT(Code) | | The operation type to grant a right.
|
REVOKE | final public static int REVOKE(Code) | | The operation type to revoke a right.
|
addRight | public void addRight(int right)(Code) | | Add the specified right bit to the rights bitmap.
Parameters: right - the right bit |
addRoleName | public void addRoleName(String roleName)(Code) | | Add the specified role to the list of roles.
Parameters: roleName - the role |
addTable | public void addTable(Table table)(Code) | | Add the specified table to the list of tables.
Parameters: table - the table |
isTransactional | public boolean isTransactional()(Code) | | |
setOperationType | public void setOperationType(int operationType)(Code) | | |
|
|