A B C D E G I L M N O P R S T U V

A

and(MatchArg...) - Static method in class org.genericdao.MatchArg
Logical AND operator for use with the GenericDAO.match() method.

B

begin() - Static method in class org.genericdao.Transaction
Begins a new transaction for this thread.

C

commit() - Static method in class org.genericdao.Transaction
Commits the work performed by this thread's currently running transaction.
computeDigest(B) - Method in class org.genericdao.GenericDAO
Computes a message digest (a one-way hash) of all the properties for the given bean.
ConnectionPool - Class in org.genericdao
 
ConnectionPool(String, String) - Constructor for class org.genericdao.ConnectionPool
 
ConnectionPool(String, String, String, String) - Constructor for class org.genericdao.ConnectionPool
 
contains(String, String) - Static method in class org.genericdao.MatchArg
String "contains" operator for use with the GenericDAO.match() method.
containsIgnoreCase(String, String) - Static method in class org.genericdao.MatchArg
String "contains" operator for use with the GenericDAO.match() method.
create(B) - Method in class org.genericdao.GenericDAO
Creates a new row in the table using the values provided the contents of the bean.
createAutoIncrement(B) - Method in class org.genericdao.GenericDAO
Creates a new row in the table using the values provided the contents of the bean, except that a new, unique primary key value will be generated by the database.

D

DAOException - Exception in org.genericdao
The exception typically thrown by non-CRUD methods in the GenericDAO package.
DAOException(String) - Constructor for exception org.genericdao.DAOException
 
DAOException(Throwable) - Constructor for exception org.genericdao.DAOException
 
DAOException(String, Throwable) - Constructor for exception org.genericdao.DAOException
 
DEFAULT_MAX_IDLE_TIME - Static variable in class org.genericdao.ConnectionPool
Default max idle time for connections.
delete(Object...) - Method in class org.genericdao.GenericDAO
Deletes from the table the row with the given primary key.
DuplicateKeyException - Exception in org.genericdao
The exception thrown by a CRUD method (typically from the create() method) to signal an attempt to create a new bean in a table that has the same primary key as an existing bean.
DuplicateKeyException(String) - Constructor for exception org.genericdao.DuplicateKeyException
 

E

endsWith(String, String) - Static method in class org.genericdao.MatchArg
String "ends with" operator for use with the GenericDAO.match() method.
endsWithIgnoreCase(String, String) - Static method in class org.genericdao.MatchArg
String "ends with" operator for use with the GenericDAO.match() method.
equals(String, Object) - Static method in class org.genericdao.MatchArg
Equals operator for use with the GenericDAO.match() method.
equalsIgnoreCase(String, String) - Static method in class org.genericdao.MatchArg
 
executeQuery(String, Object...) - Method in class org.genericdao.GenericViewDAO
 

G

GenericDAO<B> - Class in org.genericdao
This class is used to read and write rows of a database table that correspond to instances of a JavaBean of type B.
GenericDAO(Class<B>, String, ConnectionPool) - Constructor for class org.genericdao.GenericDAO
Instantiates a new GenericDAO object.
GenericViewDAO<B> - Class in org.genericdao
 
GenericViewDAO(Class<B>, ConnectionPool) - Constructor for class org.genericdao.GenericViewDAO
 
getConnection() - Method in class org.genericdao.ConnectionPool
 
getCount() - Method in class org.genericdao.GenericDAO
Returns the number of rows in the table.
getDebugWriter() - Method in class org.genericdao.ConnectionPool
 
getDriverName() - Method in class org.genericdao.ConnectionPool
Gets the JDBC Driver Name that this connection pool uses.
getLowerCaseColumnNames() - Method in class org.genericdao.ConnectionPool
 
getMaxIdleTime() - Method in class org.genericdao.ConnectionPool
Get the maximum time that after which idle database connections are closed.
getOp() - Method in class org.genericdao.MatchArg
 
getPropertyNames() - Method in class org.genericdao.GenericViewDAO
 
getTransactionConnection() - Method in class org.genericdao.ConnectionPool
Get the database connection used by the thread's current transaction.
getURL() - Method in class org.genericdao.ConnectionPool
Gets the JDBC URL that this connection pool uses.
getUserName() - Method in class org.genericdao.ConnectionPool
Gets the user name that this connection pool uses to log into the database.
greaterThan(String, Object) - Static method in class org.genericdao.MatchArg
 
greaterThanOrEqualTo(String, Object) - Static method in class org.genericdao.MatchArg
 

I

isActive() - Static method in class org.genericdao.Transaction
Tests whether a transaction is currently running for this thread.

L

lessThan(String, Object) - Static method in class org.genericdao.MatchArg
 
lessThanOrEqualTo(String, Object) - Static method in class org.genericdao.MatchArg
 

M

main(String[]) - Static method in class org.genericdao.Version
 
match(MatchArg...) - Method in class org.genericdao.GenericDAO
Searches the table for rows matching the given constraints.
MatchArg - Class in org.genericdao
A class to specify constraints when matching beans.
MatchArg() - Constructor for class org.genericdao.MatchArg
 
max(String) - Static method in class org.genericdao.MatchArg
 
MaxSize - Annotation Type in org.genericdao
The annotation used specify the maximum length of a String property stored in the database.
min(String) - Static method in class org.genericdao.MatchArg
 

N

notEquals(String, Object) - Static method in class org.genericdao.MatchArg
Not equals operator for use with the GenericDAO.match() method.

O

or(MatchArg...) - Static method in class org.genericdao.MatchArg
Logical OR operator for use with the GenericDAO.match() method.
org.genericdao - package org.genericdao
 

P

PrimaryKey - Annotation Type in org.genericdao
The annotation used declare the primary key properties of a Java Bean.

R

read(Object...) - Method in class org.genericdao.GenericDAO
Returns the row in the table with the given primary key.
releaseConnection(Connection) - Method in class org.genericdao.ConnectionPool
Returns a connection to the connection pool.
rollback() - Static method in class org.genericdao.Transaction
Causes the work performed by the current thread's currently running transaction to be undone.
RollbackException - Exception in org.genericdao
The exception thrown when a CRUD method encounters a problem, such as not being able to connect to the database, deadlock, when invalid parameters are passed, etc.
RollbackException(String) - Constructor for exception org.genericdao.RollbackException
 
RollbackException(Exception) - Constructor for exception org.genericdao.RollbackException
 
RollbackException(String, Exception) - Constructor for exception org.genericdao.RollbackException
 

S

setDebugOutput(OutputStream) - Method in class org.genericdao.ConnectionPool
Sets up an output stream to which debugging output can be printed.
setDebugOutput(OutputStream) - Static method in class org.genericdao.Transaction
Sets an OutputStream to which debugging output will be printed for the current transaction.
setMaxIdleTime(long) - Method in class org.genericdao.ConnectionPool
Changes the time after which idle database connections are closed.
startsWith(String, String) - Static method in class org.genericdao.MatchArg
 
startsWithIgnoreCase(String, String) - Static method in class org.genericdao.MatchArg
 

T

toString() - Method in class org.genericdao.ConnectionPool
Returns a description of this connection pool, include the JDBC Driver Name, the JDBC URL, and the user name used to log into the database.
Transaction - Class in org.genericdao
This class is used to begin and end transactions.

U

update(B) - Method in class org.genericdao.GenericDAO
Updates the row in the table with the primary key specified by the values in the bean passed in as a parameter.

V

Version - Class in org.genericdao
 
Version() - Constructor for class org.genericdao.Version
 
VERSION_INFO - Static variable in class org.genericdao.Version
 

A B C D E G I L M N O P R S T U V

Copyright © 2012 Jeffrey L. Eppinger. All rights reserved. Permission granted for educational use only.