| java.lang.Object com.uwyn.rife.database.DbQueryManager tutorial.friends.backend.FriendManager
FriendManager | public class FriendManager extends DbQueryManager (Code) | | Manages a list of visitors that are stored in a database.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ |
Method Summary | |
public void | add(Friend friend) Adds data of a Friend instance to the database. | public void | display(DbRowProcessor processor) Display the data in the database. | public void | install() Installs and populates the database structure. | public void | remove() Removes the database structure. |
FriendManager | public FriendManager()(Code) | | |
add | public void add(Friend friend)(Code) | | Adds data of a Friend instance to the database.
Parameters: friend - the Friend that will be added to the database throws: DatabaseException - when a database access error occurs |
display | public void display(DbRowProcessor processor)(Code) | | Display the data in the database.
Parameters: processor - the DbRowProcessor that will process theresults throws: DatabaseException - when a database access error occurs |
install | public void install()(Code) | | Installs and populates the database structure.
throws: DatabaseException - when a database access error occurs. |
remove | public void remove()(Code) | | Removes the database structure.
throws: DatabaseException - when a database access error occurs. |
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)
|
|
|