Package | Description |
---|---|
com.mckoi.database |
The core database classes for Mckoi.
|
Modifier and Type | Field | Description |
---|---|---|
static Privileges |
Privileges.EMPTY_PRIVS |
No privileges.
|
static Privileges |
Privileges.PROCEDURE_ALL_PRIVS |
All access (execute/update/delete/etc) privs for a procedure object.
|
static Privileges |
Privileges.PROCEDURE_EXECUTE_PRIVS |
Execute access privs for a procedure object.
|
static Privileges |
Privileges.SCHEMA_ALL_PRIVS |
All access privs for a schema object.
|
static Privileges |
Privileges.SCHEMA_READ_PRIVS |
Read access privs for a schema object.
|
static Privileges |
Privileges.TABLE_ALL_PRIVS |
Enable all privs for the object.
|
static Privileges |
Privileges.TABLE_READ_PRIVS |
Read privs for the object.
|
Modifier and Type | Method | Description |
---|---|---|
Privileges |
Privileges.add(int priv) |
Adds a privilege and returns a new Privileges object with the new priv
set.
|
Privileges |
Privileges.merge(Privileges in_privs) |
Merges privs from the given privilege object with this set of privs.
|
Privileges |
Privileges.remove(int priv) |
Removes a privilege with a column list parameter.
|
Privileges |
Privileges.remove(Privileges privs) |
Removes the given privileges from this privileges object and returns the
new privileges object.
|
Privileges |
GrantManager.userGrantOptions(int object,
java.lang.String param,
java.lang.String username) |
Returns all Privileges for the given object for the given grantee (user)
that the user is allowed to give grant options for.
|
Privileges |
GrantManager.userGrants(int object,
java.lang.String param,
java.lang.String username) |
Returns all Privileges for the given object for the given grantee (user).
|
Modifier and Type | Method | Description |
---|---|---|
void |
GrantManager.addGrant(Privileges privs,
int object,
java.lang.String param,
java.lang.String grantee,
boolean grant_option,
java.lang.String granter) |
Adds a grant on the given database object.
|
void |
GrantManager.addGrantToAllTablesInSchema(java.lang.String schema,
Privileges privs,
java.lang.String grantee,
boolean grant_option,
java.lang.String granter) |
For all tables in the given schema, this adds the given grant for each
of the tables.
|
Privileges |
Privileges.merge(Privileges in_privs) |
Merges privs from the given privilege object with this set of privs.
|
Privileges |
Privileges.remove(Privileges privs) |
Removes the given privileges from this privileges object and returns the
new privileges object.
|
void |
GrantManager.removeGrant(Privileges privs,
int object,
java.lang.String param,
java.lang.String grantee,
boolean grant_option,
java.lang.String granter) |
Removes a grant on the given object for the given grantee, grant option
and granter.
|
Copyright © 2018. All rights reserved.