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 PrivilegesPrivileges.EMPTY_PRIVSNo privileges.static final PrivilegesPrivileges.PROCEDURE_ALL_PRIVSAll access (execute/update/delete/etc) privs for a procedure object.static final PrivilegesPrivileges.PROCEDURE_EXECUTE_PRIVSExecute access privs for a procedure object.static final PrivilegesPrivileges.SCHEMA_ALL_PRIVSAll access privs for a schema object.static final PrivilegesPrivileges.SCHEMA_READ_PRIVSRead access privs for a schema object.static final PrivilegesPrivileges.TABLE_ALL_PRIVSEnable all privs for the object.static final PrivilegesPrivileges.TABLE_READ_PRIVSRead 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 TypeMethodDescriptionvoidGrantManager.addGrant(Privileges privs, int object, String param, String grantee, boolean grant_option, String granter) Adds a grant on the given database object.voidGrantManager.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.voidGrantManager.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.