Uses of Class
com.mckoi.database.Privileges
-
Packages that use Privileges Package Description com.mckoi.database The core database classes for Mckoi. -
-
Uses of Privileges in com.mckoi.database
Fields in com.mckoi.database declared as Privileges Modifier and Type Field Description static PrivilegesPrivileges. EMPTY_PRIVSNo privileges.static PrivilegesPrivileges. PROCEDURE_ALL_PRIVSAll access (execute/update/delete/etc) privs for a procedure object.static PrivilegesPrivileges. PROCEDURE_EXECUTE_PRIVSExecute access privs for a procedure object.static PrivilegesPrivileges. SCHEMA_ALL_PRIVSAll access privs for a schema object.static PrivilegesPrivileges. SCHEMA_READ_PRIVSRead access privs for a schema object.static PrivilegesPrivileges. TABLE_ALL_PRIVSEnable all privs for the object.static PrivilegesPrivileges. TABLE_READ_PRIVSRead privs for the object.Methods in com.mckoi.database that return Privileges Modifier and Type Method Description PrivilegesPrivileges. add(int priv)Adds a privilege and returns a new Privileges object with the new priv set.PrivilegesPrivileges. merge(Privileges in_privs)Merges privs from the given privilege object with this set of privs.PrivilegesPrivileges. remove(int priv)Removes a privilege with a column list parameter.PrivilegesPrivileges. remove(Privileges privs)Removes the given privileges from this privileges object and returns the new privileges object.PrivilegesGrantManager. 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.PrivilegesGrantManager. userGrants(int object, java.lang.String param, java.lang.String username)Returns all Privileges for the given object for the given grantee (user).Methods in com.mckoi.database with parameters of type Privileges Modifier and Type Method Description voidGrantManager. 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.voidGrantManager. 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.PrivilegesPrivileges. merge(Privileges in_privs)Merges privs from the given privilege object with this set of privs.PrivilegesPrivileges. remove(Privileges privs)Removes the given privileges from this privileges object and returns the new privileges object.voidGrantManager. 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.
-