Uses of Class
com.mckoi.database.Privileges
Packages that use Privileges
-
Uses of Privileges in com.mckoi.database
Fields in com.mckoi.database declared as PrivilegesModifier and TypeFieldDescriptionstatic final Privileges
Privileges.EMPTY_PRIVS
No privileges.static final Privileges
Privileges.PROCEDURE_ALL_PRIVS
All access (execute/update/delete/etc) privs for a procedure object.static final Privileges
Privileges.PROCEDURE_EXECUTE_PRIVS
Execute access privs for a procedure object.static final Privileges
Privileges.SCHEMA_ALL_PRIVS
All access privs for a schema object.static final Privileges
Privileges.SCHEMA_READ_PRIVS
Read access privs for a schema object.static final Privileges
Privileges.TABLE_ALL_PRIVS
Enable all privs for the object.static final Privileges
Privileges.TABLE_READ_PRIVS
Read privs for the object.Methods in com.mckoi.database that return PrivilegesModifier and TypeMethodDescriptionPrivileges.add
(int priv) Adds a privilege and returns a new Privileges object with the new priv set.Privileges.merge
(Privileges in_privs) Merges privs from the given privilege object with this set of privs.Privileges.remove
(int priv) Removes a privilege with a column list parameter.Privileges.remove
(Privileges privs) Removes the given privileges from this privileges object and returns the new privileges object.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.GrantManager.userGrants
(int object, String param, String username) Returns all Privileges for the given object for the given grantee (user).Methods in com.mckoi.database with parameters of type PrivilegesModifier and TypeMethodDescriptionvoid
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.merge
(Privileges in_privs) Merges privs from the given privilege object with this set of privs.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.