Uses of Class
com.uwyn.rife.database.exceptions.DatabaseException

Packages that use DatabaseException
com.uwyn.rife.authentication.credentialsmanagers.exceptions Provides classes for the exceptions that can occur during the management of RoleUser credentials. 
com.uwyn.rife.authentication.remembermanagers.exceptions Provides exception classes for the "remember me" managers. 
com.uwyn.rife.authentication.sessionmanagers.exceptions Provides exception classes for the authentication session managers. 
com.uwyn.rife.cmf.dam Provides classes and interfaces for the database access management of the content management framework. 
com.uwyn.rife.cmf.dam.contentmanagers.exceptions Provides exception classes for the content information managers. 
com.uwyn.rife.cmf.dam.contentstores.exceptions Provides exception classes for the content data managers. 
com.uwyn.rife.database Provides classes and interfaces for the object-oriented query builders, database abstraction layer, persistance manager, query handling templates, fault-tolerant JDBC wrappers and connection pooling. 
com.uwyn.rife.database.exceptions Provides exception classes for the database framework. 
com.uwyn.rife.database.querymanagers.generic Provides classes and interfaces for the persistance framework. 
com.uwyn.rife.database.querymanagers.generic.exceptions Provides exception classes for the generic query manager. 
com.uwyn.rife.database.types Provides classes for the conversion from Java to SQL values and vice-versa. 
com.uwyn.rife.mail.exceptions Provides exception classes for the mail queue. 
com.uwyn.rife.scheduler.taskmanagers.exceptions Provides classes for the exceptions that can occur during the management of tasks. 
com.uwyn.rife.scheduler.taskoptionmanagers.exceptions Provides classes for the exceptions that can occur during the management of task options. 
 

Uses of DatabaseException in com.uwyn.rife.authentication.credentialsmanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.credentialsmanagers.exceptions with parameters of type DatabaseException
AddRoleErrorException(String role, DatabaseException cause)
           
ClearUsersErrorException(DatabaseException cause)
           
ContainsRoleErrorException(String role, DatabaseException cause)
           
ContainsUserErrorException(String login, DatabaseException cause)
           
CountRolesErrorException(DatabaseException cause)
           
CountUsersErrorException(DatabaseException cause)
           
GetAttributesErrorException(String login, DatabaseException cause)
           
GetLoginErrorException(DatabaseException cause, long userId)
           
GetUserIdErrorException(DatabaseException cause, String login)
           
InstallCredentialsErrorException(DatabaseException cause)
           
IsUserInRoleErrorException(long userId, String role, DatabaseException cause)
           
IsUserValidErrorException(String login, DatabaseException cause)
           
IsUserValidErrorException(String login, String role, DatabaseException cause)
           
ListRolesErrorException(DatabaseException cause)
           
ListUsersErrorException(DatabaseException cause)
           
RemoveCredentialsErrorException(DatabaseException cause)
           
RemoveRoleErrorException(String name, DatabaseException cause)
           
RemoveUserErrorException(Long userId, DatabaseException cause)
           
RemoveUserErrorException(String login, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.authentication.remembermanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.remembermanagers.exceptions with parameters of type DatabaseException
EraseAllRememberIdsErrorException(DatabaseException cause)
           
EraseRememberIdErrorException(String rememberId, DatabaseException cause)
           
EraseUserRememberIdsErrorException(long userId, DatabaseException cause)
           
PurgeRememberIdsErrorException(DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.authentication.sessionmanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.sessionmanagers.exceptions with parameters of type DatabaseException
ContinueSessionErrorException(String authId, DatabaseException cause)
           
CountSessionsErrorException(DatabaseException cause)
           
EraseAllSessionsErrorException(DatabaseException cause)
           
EraseSessionErrorException(String authId, DatabaseException cause)
           
EraseUserSessionsErrorException(long userId, DatabaseException cause)
           
GetSessionUserIdErrorException(String authId, DatabaseException cause)
           
InstallSessionsErrorException(DatabaseException cause)
           
IsSessionValidErrorException(String authId, String hostIp, DatabaseException cause)
           
PurgeSessionsErrorException(DatabaseException cause)
           
RemoveSessionsErrorException(DatabaseException cause)
           
SessionRememberedCheckErrorException(String authId, DatabaseException cause)
           
StartSessionErrorException(long userId, String hostIp, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam
 

Methods in com.uwyn.rife.cmf.dam that throw DatabaseException
 boolean ContentQueryManager.delete(int objectId)
          Deletes a bean according to its ID.
 boolean ContentQueryManager.hasContent(int objectId, String propertyName)
          Checks if there's content available for a certain property of a bean.
 boolean ContentQueryManager.hasContent(T bean, String propertyName)
          Checks if there's content available for a certain property of a bean.
 List<T> ContentQueryManager.restore()
          Restores all beans.
 T ContentQueryManager.restore(int objectId)
          Restores a bean according to its ID.
 List<T> ContentQueryManager.restore(RestoreQuery query)
          Restores all beans from a RestoreQuery.
 T ContentQueryManager.restoreFirst(RestoreQuery query)
          Restores the first bean from a RestoreQuery.
 int ContentQueryManager.save(T bean)
          Saves a bean.
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam.contentmanagers.exceptions
 

Constructors in com.uwyn.rife.cmf.dam.contentmanagers.exceptions with parameters of type DatabaseException
InstallContentErrorException(DatabaseException cause)
           
RemoveContentErrorException(DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam.contentstores.exceptions
 

Constructors in com.uwyn.rife.cmf.dam.contentstores.exceptions with parameters of type DatabaseException
DeleteContentDataErrorException(int id, DatabaseException cause)
           
HasContentDataErrorException(int id, DatabaseException cause)
           
InstallContentStoreErrorException(DatabaseException cause)
           
RemoveContentStoreErrorException(DatabaseException cause)
           
RetrieveSizeErrorException(int id, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.database
 

Methods in com.uwyn.rife.database that throw DatabaseException
 void DbPreparedStatement.addBatch()
          Adds a set of parameters to this DbPreparedStatement object's batch of commands.
 void DbStatement.addBatch(String sql)
          Adds the given SQL command to the current list of commmands for this Statement object.
 boolean DbConnection.beginTransaction()
          Warning: only use the raw transaction methods if you really know what you're doing.
 void DbStatement.cancel()
          Cancels this DbStatement object if both the DBMS and driver support aborting a SQL statement.
 void Datasources.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void ConnectionPool.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void Datasource.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void DbStatement.clearBatch()
          Empties this Statement object's current list of SQL commands.
 void DbPreparedStatement.clearParameters()
          Clears the current parameter values immediately.
 void DbStatement.clearWarnings()
          Clears all the warnings reported on this DbStatement object.
 void DbPreparedStatement.close()
          Releases this DbPreparedStatement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 void DbStatement.close()
          Releases this DbStatement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 void DbConnection.close()
          Releases all the resources that are being used by this connection.
 boolean DbConnection.commit()
          Warning: only use the raw transaction methods if you really know what you're doing.
 DbStatement DbConnection.createStatement()
          Creates a new DbStatement instance for this connection.
 DbStatement DbConnection.createStatement(int resultSetType, int resultSetConcurrency)
          Creates a new DbStatement instance for this connection with the given type and concurrency.
 DbStatement DbConnection.createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          Creates a new DbStatement instance for this connection with the given type, concurrency, and holdability..
 boolean DbStatement.execute(String sql)
          Executes the given SQL statement, which may return multiple results.
 boolean DbStatement.execute(String sql, int autoGeneratedKeys)
          Executes the given SQL statement, which may return multiple results, and signals the driver that any auto-generated keys should be made available for retrieval.
 boolean DbStatement.execute(String sql, int[] columnIndexes)
          Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
 boolean DbStatement.execute(String sql, String[] columnNames)
          Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
 int[] DbStatement.executeBatch()
          Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts.
 boolean DbQueryManager.executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor)
          Safely and quickly fetches all the rows from the results of a select query.
 boolean DbQueryManager.executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler)
          Safely fetches all the rows from the results of a customizable select query.
<BeanType> List<BeanType>
DbQueryManager.executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass)
          Safely and quickly fetches the all the bean instances from the results of a select query.
<BeanType> List<BeanType>
DbQueryManager.executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler)
          Safely fetches the all the bean instances from the results of a customizable select query.
 boolean DbQueryManager.executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor)
          Safely and quickly fetches the first row from the results of a select query.
 boolean DbQueryManager.executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler)
          Safely fetches the first row from the results of a customizable select query.
<BeanType> BeanType
DbQueryManager.executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass)
          Safely and quickly fetches the first bean instance from the results of a select query.
<BeanType> BeanType
DbQueryManager.executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler)
          Safely fetches the first bean instance from the results of a customizable select query.
 boolean DbQueryManager.executeGetFirstBoolean(ReadQuery query)
          Safely and quickly retrieves the first cell as a boolean from the results of a select query.
 boolean DbQueryManager.executeGetFirstBoolean(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a boolean from the results of a customizable select query.
 byte DbQueryManager.executeGetFirstByte(ReadQuery query)
          Safely and quickly retrieves the first cell as a byte from the results of a select query.
 byte DbQueryManager.executeGetFirstByte(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a byte from the results of a customizable select query.
 byte[] DbQueryManager.executeGetFirstBytes(ReadQuery query)
          Safely and quickly retrieves the first cell as a byte array from the results of a select query.
 byte[] DbQueryManager.executeGetFirstBytes(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a byte array from the results of a customizable select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Date from the results of a select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Date from the results of a select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Date from the results of a customizable select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Date from the results of a customizable select query.
 double DbQueryManager.executeGetFirstDouble(ReadQuery query)
          Safely and quickly retrieves the first cell as a double from the results of a select query.
 double DbQueryManager.executeGetFirstDouble(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a double from the results of a customizable select query.
 float DbQueryManager.executeGetFirstFloat(ReadQuery query)
          Safely and quickly retrieves the first cell as a float from the results of a select query.
 float DbQueryManager.executeGetFirstFloat(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a float from the results of a customizable select query.
 int DbQueryManager.executeGetFirstInt(ReadQuery query)
          Safely and quickly retrieves the first cell as a int from the results of a select query.
 int DbQueryManager.executeGetFirstInt(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a int from the results of a customizable select query.
 long DbQueryManager.executeGetFirstLong(ReadQuery query)
          Safely and quickly retrieves the first cell as a long from the results of a select query.
 long DbQueryManager.executeGetFirstLong(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a long from the results of a customizable select query.
 short DbQueryManager.executeGetFirstShort(ReadQuery query)
          Safely and quickly retrieves the first cell as a short from the results of a select query.
 short DbQueryManager.executeGetFirstShort(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a short from the results of a customizable select query.
 String DbQueryManager.executeGetFirstString(ReadQuery query)
          Safely and quickly retrieves the first cell as a String from the results of a select query.
 String DbQueryManager.executeGetFirstString(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a String from the results of a customizable select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Time from the results of a select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Time from the results of a select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Time from the results of a customizable select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Time from the results of a customizable select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Timestamp from the results of a select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Timestamp from the results of a select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Timestamp from the results of a customizable select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Timestamp from the results of a customizable select query.
 boolean DbQueryManager.executeHasResultRows(ReadQuery query)
          Safely and quickly verifies if a select query returns any rows.
 boolean DbQueryManager.executeHasResultRows(ReadQuery query, DbPreparedStatementHandler handler)
          Safely verifies if a customizable select query returns any rows.
 void DbPreparedStatement.executeQuery()
          Executes the SQL query in this DbPreparedStatement object.
 DbStatement DbQueryManager.executeQuery(ReadQuery query)
          Executes a query statement in a connection of this DbQueryManager's Datasource.
 void DbStatement.executeQuery(ReadQuery query)
          Executes the given Query builder's SQL statement.
<ResultType>
ResultType
DbQueryManager.executeQuery(ReadQuery query, DbPreparedStatementHandler handler)
          Executes a customizable select statement.
<ResultType>
ResultType
DbQueryManager.executeQuery(ReadQuery query, DbResultSetHandler handler)
          Executes a select statement and handle the results in a custom fashion.
 void DbStatement.executeQuery(String sql)
          Executes the given SQL statement.
 int DbPreparedStatement.executeUpdate()
          Executes the SQL statement in this DbPreparedStatement object, which must be an SQL INSERT, UPDATE or DELETE statement; or a SQL statement that returns nothing, such as a DDL statement.
 int DbQueryManager.executeUpdate(Query query)
          Safely and quickly executes an update statement.
 int DbStatement.executeUpdate(Query query)
          Executes the given Query builder's SQL statement, which may be an INSERT, UPDATE, or DELETE statement or a SQL statement that returns nothing, such as an SQL DDL statement.
 int DbQueryManager.executeUpdate(Query query, DbPreparedStatementHandler handler)
          Safely execute an updates statement.
 int DbQueryManager.executeUpdate(String sql)
          Safely and quickly executes an update statement.
 int DbStatement.executeUpdate(String sql)
          Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.
<ResultType>
ResultType
DbQueryManager.executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user)
          Safely and quickly retrieves the first cell as an ASCII InputStream from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an ASCII InputStream from the results of a customizable select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user)
          Safely and quickly retrieves the first cell as an binary InputStream from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an binary InputStream from the results of a customizable select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstCharacterStream(ReadQuery query, ReaderUser user)
          Safely and quickly retrieves the first cell as an character Reader from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstCharacterStream(ReadQuery query, ReaderUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an character Reader from the results of a customizable select query.
 boolean DbQueryManager.fetch(ResultSet resultSet)
          Fetches the next row of a resultset without processing it in any way.
 boolean DbQueryManager.fetch(ResultSet resultSet, DbRowProcessor rowProcessor)
          Fetches the next row of a resultset and processes it through a DbRowProcessor.
 boolean DbQueryManager.fetchAll(ResultSet resultSet, DbRowProcessor rowProcessor)
          Fetches all the next rows of a resultset and processes it through a DbRowProcessor.
 DbConnection DbQueryManager.getConnection()
          Obtains a DbConnection of this DbQueryManager's Datasource.
 DbConnection Datasource.getConnection()
          Retrieves a free database connection.
 int DbStatement.getFetchDirection()
          Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this DbStatement object.
 int DbStatement.getFetchSize()
          Retrieves the number of result set rows that is the default fetch size for ResultSet objects generated from this DbStatement object.
 InputStream DbResultSet.getFirstAsciiStream()
          Retrieves the first field of the first row of this DbResultSet object as an ascii stream.
 BigDecimal DbResultSet.getFirstBigDecimal()
          Retrieves the first field of the first row of this DbResultSet object as a big decimal.
 InputStream DbResultSet.getFirstBinaryStream()
          Retrieves the first field of the first row of this DbResultSet object as a binary stream.
 boolean DbResultSet.getFirstBoolean()
          Retrieves the first field of the first row of this DbResultSet object as a boolean.
 byte DbResultSet.getFirstByte()
          Retrieves the first field of the first row of this DbResultSet object as a byte.
 byte[] DbResultSet.getFirstBytes()
          Retrieves the first field of the first row of this DbResultSet object as an array of bytes.
 Reader DbResultSet.getFirstCharacterStream()
          Retrieves the first field of the first row of this DbResultSet object as a character stream.
 Date DbResultSet.getFirstDate()
          Retrieves the first field of the first row of this DbResultSet object as a sql date.
 Date DbResultSet.getFirstDate(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql date.
 double DbResultSet.getFirstDouble()
          Retrieves the first field of the first row of this DbResultSet object as a double.
 float DbResultSet.getFirstFloat()
          Retrieves the first field of the first row of this DbResultSet object as a float.
 int DbStatement.getFirstGeneratedIntKey()
          Retrieves the first auto-generated key created as a result of executing this DbStatement object as an integer.
 int DbResultSet.getFirstInt()
          Retrieves the first field of the first row of this DbResultSet object as an integer.
 long DbResultSet.getFirstLong()
          Retrieves the first field of the first row of this DbResultSet object as a long.
 short DbResultSet.getFirstShort()
          Retrieves the first field of the first row of this DbResultSet object as a short.
 String DbResultSet.getFirstString()
          Retrieves the first field of the first row of this DbResultSet object as a string.
 Time DbResultSet.getFirstTime()
          Retrieves the first field of the first row of this DbResultSet object as a sql time.
 Time DbResultSet.getFirstTime(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql time.
 Timestamp DbResultSet.getFirstTimestamp()
          Retrieves the first field of the first row of this DbResultSet object as a sql timestamo.
 Timestamp DbResultSet.getFirstTimestamp(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql timestamp.
 DbResultSet DbStatement.getGeneratedKeys()
          Retrieves any auto-generated keys created as a result of executing this DbStatement object.
 int DbStatement.getMaxFieldSize()
          Retrieves the maximum number of bytes that can be returned for character and binary column values in a ResultSet object produced by this Statement object.
 int DbStatement.getMaxRows()
          Retrieves the maximum number of rows that a ResultSet object produced by this DbStatement object can contain.