Package | Description |
---|---|
com.mckoi.database |
The core database classes for Mckoi.
|
Modifier and Type | Field and 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 and 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,
String param,
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,
String param,
String username)
Returns all Privileges for the given object for the given grantee (user).
|
Modifier and Type | Method and Description |
---|---|
void |
GrantManager.addGrant(Privileges privs,
int object,
String param,
String grantee,
boolean grant_option,
String granter)
Adds a grant on the given database object.
|
void |
GrantManager.addGrantToAllTablesInSchema(String schema,
Privileges privs,
String grantee,
boolean grant_option,
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,
String param,
String grantee,
boolean grant_option,
String granter)
Removes a grant on the given object for the given grantee, grant option
and granter.
|
Copyright © 2015. All rights reserved.