| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALL
The right bit mask that means: select, insert, update, delete, and update for this object is allowed. |
| public static final int | ALTER_ANY_SCHEMA
The right bit mask that means: create/alter/drop schema is allowed. |
| public static final int | DELETE
The right bit mask that means: deleting rows from a table is allowed. |
| private DbObject | grantedObject
The object. |
| private int | grantedRight
The granted right. |
| private Role | grantedRole
The granted role, or null if a right was granted. |
| private RightOwner | grantee
To whom the right is granted. |
| public static final int | INSERT
The right bit mask that means: inserting rows into a table is allowed. |
| public static final int | SCHEMA_OWNER
The right bit mask that means: user is a schema owner. |
| public static final int | SELECT
The right bit mask that means: selecting from a table is allowed. |
| public static final int | UPDATE
The right bit mask that means: updating data is allowed. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public void | |
| public String | |
| public String | getCreateSQLForCopy(Table
the new table table, String the quoted name quotedName)Overrides org. Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table |
| private String | |
| public DbObject | |
| public Role | |
| public DbObject | |
| public int | |
| public String | |
| public int | |
| public void | removeChildrenAndResources(SessionLocal
the session session)Implements abstract org. Delete all dependent children objects and resources of this object. |
| public void |
| ALL | back to summary |
|---|---|
| public static final int ALL The right bit mask that means: select, insert, update, delete, and update for this object is allowed. | |
| ALTER_ANY_SCHEMA | back to summary |
|---|---|
| public static final int ALTER_ANY_SCHEMA The right bit mask that means: create/alter/drop schema is allowed. | |
| DELETE | back to summary |
|---|---|
| public static final int DELETE The right bit mask that means: deleting rows from a table is allowed. | |
| grantedObject | back to summary |
|---|---|
| private DbObject grantedObject The object. If the right is global, this is null. | |
| grantedRight | back to summary |
|---|---|
| private int grantedRight The granted right. | |
| grantedRole | back to summary |
|---|---|
| private Role grantedRole The granted role, or null if a right was granted. | |
| grantee | back to summary |
|---|---|
| private RightOwner grantee To whom the right is granted. | |
| INSERT | back to summary |
|---|---|
| public static final int INSERT The right bit mask that means: inserting rows into a table is allowed. | |
| SCHEMA_OWNER | back to summary |
|---|---|
| public static final int SCHEMA_OWNER The right bit mask that means: user is a schema owner. This mask isn't used in GRANT / REVOKE statements. | |
| SELECT | back to summary |
|---|---|
| public static final int SELECT The right bit mask that means: selecting from a table is allowed. | |
| UPDATE | back to summary |
|---|---|
| public static final int UPDATE The right bit mask that means: updating data is allowed. | |
| Right | back to summary |
|---|---|
| public Right(Database db, int id, RightOwner grantee, Role grantedRole) | |
| Right | back to summary |
|---|---|
| public Right(Database db, int id, RightOwner grantee, int grantedRight, DbObject grantedObject) | |
| appendRight | back to summary |
|---|---|
| private static boolean appendRight(StringBuilder buff, int right, int mask, String name, boolean comma) | |
| checkRename | back to summary |
|---|---|
| public void checkRename() Overrides org. Doc from org. Check if renaming is allowed. Does nothing when allowed.
| |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getCreateSQLForCopy | back to summary |
|---|---|
| public String getCreateSQLForCopy(Table table, String quotedName) Overrides org. Doc from org. Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table | |
| getCreateSQLForCopy | back to summary |
|---|---|
| private String getCreateSQLForCopy(DbObject object) | |
| getGrantedObject | back to summary |
|---|---|
| public DbObject getGrantedObject() | |
| getGrantedRole | back to summary |
|---|---|
| public Role getGrantedRole() | |
| getGrantee | back to summary |
|---|---|
| public DbObject getGrantee() | |
| getRightMask | back to summary |
|---|---|
| public int getRightMask() | |
| getRights | back to summary |
|---|---|
| public String getRights() | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the object type.
| |
| removeChildrenAndResources | back to summary |
|---|---|
| public void removeChildrenAndResources(SessionLocal session) Implements abstract org. Doc from org. Delete all dependent children objects and resources of this object.
| |
| setRightMask | back to summary |
|---|---|
| public void setRightMask(int rightMask) | |