void |
Database.addUserToGroup(DatabaseQueryContext context,
java.lang.String username,
java.lang.String group) |
Adds the user to the given group.
|
void |
Database.alterUserPassword(DatabaseQueryContext context,
java.lang.String username,
java.lang.String password) |
Alters the password of the user but otherwise does not change any
information about the user.
|
boolean |
Database.canUserAlterTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can alter a table or view with the given name,
otherwise returns false.
|
boolean |
Database.canUserCompactTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can compact a table with the given name,
otherwise returns false.
|
boolean |
Database.canUserCreateAndDropSchema(DatabaseQueryContext context,
User user,
java.lang.String schema) |
Returns true if the user is permitted to create and drop schema's in the
database, otherwise returns false.
|
boolean |
Database.canUserCreateAndDropUsers(DatabaseQueryContext context,
User user) |
Returns true if the user is permitted to create, alter and drop user
information from the database, otherwise returns false.
|
boolean |
Database.canUserCreateProcedureObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can create a procedure with the given name,
otherwise returns false.
|
boolean |
Database.canUserCreateSequenceObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can create a sequence with the given name,
otherwise returns false.
|
boolean |
Database.canUserCreateTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can create a table or view with the given name,
otherwise returns false.
|
boolean |
Database.canUserDeleteFromTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can delete from a table or view with the given
name and given columns, otherwise returns false.
|
boolean |
Database.canUserDropProcedureObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can drop a procedure with the given name,
otherwise returns false.
|
boolean |
Database.canUserDropSequenceObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can drop a sequence with the given name,
otherwise returns false.
|
boolean |
Database.canUserDropTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can drop a table or view with the given name,
otherwise returns false.
|
boolean |
Database.canUserExecuteStoredProcedure(DatabaseQueryContext context,
User user,
java.lang.String procedure_name) |
Returns true if the user is allowed to execute the given stored procedure.
|
boolean |
Database.canUserInsertIntoTableObject(DatabaseQueryContext context,
User user,
TableName table,
Variable[] columns) |
Returns true if the user can insert into a table or view with the given
name and given columns, otherwise returns false.
|
boolean |
Database.canUserSelectFromTableObject(DatabaseQueryContext context,
User user,
TableName table,
Variable[] columns) |
Returns true if the user can select from a table or view with the given
name and given columns, otherwise returns false.
|
boolean |
Database.canUserShutDown(DatabaseQueryContext context,
User user) |
Returns true if the user can shut down the database server.
|
boolean |
Database.canUserUpdateTableObject(DatabaseQueryContext context,
User user,
TableName table,
Variable[] columns) |
Returns true if the user can update a table or view with the given
name and given columns, otherwise returns false.
|
void |
Database.createUser(DatabaseQueryContext context,
java.lang.String username,
java.lang.String password) |
Creates and adds a new user to this database.
|
void |
Database.deleteAllUserGroups(DatabaseQueryContext context,
java.lang.String username) |
Deletes all the groups the user belongs to.
|
void |
Database.deleteUser(DatabaseQueryContext context,
java.lang.String username) |
Deletes the user from the system.
|
void |
Database.grantHostAccessToUser(DatabaseQueryContext context,
java.lang.String user,
java.lang.String protocol,
java.lang.String host) |
Grants the given user access to connect to the database from the
given host address.
|
java.lang.String[] |
Database.groupsUserBelongsTo(DatabaseQueryContext context,
java.lang.String username) |
Returns the list of all user groups the user belongs to.
|
static Table |
FunctionTable.resultTable(DatabaseQueryContext context,
int result_val) |
Returns a FunctionTable that has an int value made into a BigDecimal.
|
static Table |
FunctionTable.resultTable(DatabaseQueryContext context,
Expression expression) |
Returns a FunctionTable that has a single Expression evaluated in it.
|
static Table |
FunctionTable.resultTable(DatabaseQueryContext context,
TObject ob) |
Returns a FunctionTable that has a single TObject in it.
|
static Table |
FunctionTable.resultTable(DatabaseQueryContext context,
java.lang.Object ob) |
Returns a FunctionTable that has a single Object in it.
|
void |
Database.setUserLock(DatabaseQueryContext context,
User user,
boolean lock_status) |
Sets the lock status for the given user.
|
boolean |
Database.userBelongsToGroup(DatabaseQueryContext context,
java.lang.String username,
java.lang.String group) |
Returns true if the given user belongs to the given group otherwise
returns false.
|
boolean |
Database.userExists(DatabaseQueryContext context,
java.lang.String username) |
Returns true if a user exists in this database, otherwise returns
false.
|