| java.lang.Object com.uwyn.rife.database.DbQueryManager com.uwyn.rife.authentication.credentialsmanagers.DatabaseUsers
All known Subclasses: com.uwyn.rife.authentication.credentialsmanagers.databasedrivers.generic,
Inner Class :protected class ProcessVerifyCredentials extends DbRowProcessor | |
Inner Class :protected static class ListDatabaseRoles extends DbRowProcessor | |
Inner Class :protected static class ListDatabaseUsers extends DbRowProcessor | |
Method Summary | |
protected void | _addRole(SequenceValue getRoleId, Insert addRole, String role) | protected void | _addUser(Insert addUserWithId, Select getFreeUserId, Select getRoleId, Insert addRoleLink, String login, RoleUserAttributes attributes) | protected void | _clearUsers(Delete clearUsers) | protected boolean | _containsRole(Select containsRole, String role) | protected boolean | _containsUser(Select containsUser, String login) | protected long | _countRoles(Select countRoles) | protected long | _countUsers(Select countUsers) | protected RoleUserAttributes | _getAttributes(Select getAttributes, Select getUserRoles, String login) | protected String | _getLogin(Select getLogin, long userId) | protected long | _getUserId(Select getUserId, String login) | protected boolean | _install(CreateSequence createSequenceRole, CreateTable createTableRole, CreateTable createTableUser, CreateTable createTableRoleLink) | protected boolean | _isUserInRole(Select isUserInRole, long userId, String role) | protected boolean | _listRoles(Select listRolesQuery, ListRoles processor) | protected boolean | _listUserRoles(Select listUserRolesQuery, String login, ListRoles processor) | protected boolean | _listUsers(Select listUsersQuery, ListUsers processor) | protected boolean | _listUsers(Select listUsersRangedQuery, ListUsers processor, int limit, int offset) | protected boolean | _listUsersInRole(Select listUsersInRole, ListUsers processor, String role) | protected boolean | _remove(DropSequence dropSequenceRole, DropTable dropTableRole, DropTable dropTableUser, DropTable dropTableRoleLink) | protected boolean | _removeRole(Delete removeRole, String name) | protected boolean | _removeUser(Delete removeUserByLogin, String login) | protected boolean | _removeUser(Delete removeUserByUserId, long userId) | protected boolean | _updateUser(Update updateUser, Delete removeRoleLinksByUser, Select getRoleId, Insert addRoleLink, String login, RoleUserAttributes attributes) | protected long | _verifyCredentials(Select verifyCredentialsNoRole, Select verifyCredentialsRole, Credentials credentials) | public StringEncryptor | getPasswordEncryptor() | abstract public boolean | install() | abstract public boolean | remove() | public void | setPasswordEncryptor(StringEncryptor passwordEncryptor) |
Methods inherited from com.uwyn.rife.database.DbQueryManager | public Object clone()(Code)(Java Doc) public boolean executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public List<BeanType> executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass) throws DatabaseException(Code)(Java Doc) public List<BeanType> executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public BeanType executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass) throws DatabaseException(Code)(Java Doc) public BeanType executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeGetFirstBoolean(ReadQuery query) throws DatabaseException(Code)(Java Doc) public boolean executeGetFirstBoolean(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public byte executeGetFirstByte(ReadQuery query) throws DatabaseException(Code)(Java Doc) public byte executeGetFirstByte(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public byte[] executeGetFirstBytes(ReadQuery query) throws DatabaseException(Code)(Java Doc) public byte[] executeGetFirstBytes(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Date executeGetFirstDate(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public double executeGetFirstDouble(ReadQuery query) throws DatabaseException(Code)(Java Doc) public double executeGetFirstDouble(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public float executeGetFirstFloat(ReadQuery query) throws DatabaseException(Code)(Java Doc) public float executeGetFirstFloat(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public int executeGetFirstInt(ReadQuery query) throws DatabaseException(Code)(Java Doc) public int executeGetFirstInt(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public long executeGetFirstLong(ReadQuery query) throws DatabaseException(Code)(Java Doc) public long executeGetFirstLong(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public short executeGetFirstShort(ReadQuery query) throws DatabaseException(Code)(Java Doc) public short executeGetFirstShort(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public String executeGetFirstString(ReadQuery query) throws DatabaseException(Code)(Java Doc) public String executeGetFirstString(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Time executeGetFirstTime(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, Calendar cal) throws DatabaseException(Code)(Java Doc) public java.sql.Timestamp executeGetFirstTimestamp(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public boolean executeHasResultRows(ReadQuery query) throws DatabaseException(Code)(Java Doc) public boolean executeHasResultRows(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeQuery(ReadQuery query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeQuery(ReadQuery query, DbResultSetHandler handler) throws DatabaseException(Code)(Java Doc) public DbStatement executeQuery(ReadQuery query) throws DatabaseException(Code)(Java Doc) public int executeUpdate(String sql) throws DatabaseException(Code)(Java Doc) public int executeUpdate(Query query) throws DatabaseException(Code)(Java Doc) public int executeUpdate(Query query, DbPreparedStatementHandler handler) throws DatabaseException(Code)(Java Doc) public ResultType executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstCharacterStream(ReadQuery query, ReaderUser user) throws DatabaseException, InnerClassException(Code)(Java Doc) public ResultType executeUseFirstCharacterStream(ReadQuery query, ReaderUser user, DbPreparedStatementHandler handler) throws DatabaseException, InnerClassException(Code)(Java Doc) public boolean fetch(ResultSet resultSet) throws DatabaseException(Code)(Java Doc) public boolean fetch(ResultSet resultSet, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public boolean fetchAll(ResultSet resultSet, DbRowProcessor rowProcessor) throws DatabaseException(Code)(Java Doc) public DbConnection getConnection() throws DatabaseException(Code)(Java Doc) public Datasource getDatasource()(Code)(Java Doc) public ResultType inTransaction(DbTransactionUser user) throws InnerClassException, DatabaseException(Code)(Java Doc) public ResultType reserveConnection(DbConnectionUser user) throws InnerClassException, DatabaseException(Code)(Java Doc)
|
|
|