Skip navigation links
A B C D E G H I L P R S T U 

A

at.chrl.database - package at.chrl.database
 
at.chrl.database.dao - package at.chrl.database.dao
 

B

beginTransaction() - Static method in class at.chrl.database.DB
Begins new transaction

C

call(String, ReadStH) - Static method in class at.chrl.database.DB
Call stored procedure
call(String, ReadStH, String) - Static method in class at.chrl.database.DB
Call stored procedure
CallReadStH - Interface in at.chrl.database
 
close(PreparedStatement, Connection) - Static method in class at.chrl.database.DatabaseFactory
Closes both prepared statement and result set
close(PreparedStatement) - Static method in class at.chrl.database.DatabaseFactory
Helper method for silently close PreparedStament object.
close(Connection) - Static method in class at.chrl.database.DatabaseFactory
Closes connection and returns it to the pool.
close(PreparedStatement) - Static method in class at.chrl.database.DB
Closes PreparedStatemet, it's connection and last ResultSet
commit() - Method in class at.chrl.database.Transaction
Commits transaction
commit(Savepoint) - Method in class at.chrl.database.Transaction
Commits transaction.

D

DAO - Interface in at.chrl.database.dao
This class represents basic DAO.
DAOAlreadyRegisteredException - Exception in at.chrl.database.dao
This exception is thrown if DAO is already registered in DAOManager
DAOAlreadyRegisteredException() - Constructor for exception at.chrl.database.dao.DAOAlreadyRegisteredException
 
DAOAlreadyRegisteredException(String) - Constructor for exception at.chrl.database.dao.DAOAlreadyRegisteredException
 
DAOAlreadyRegisteredException(String, Throwable) - Constructor for exception at.chrl.database.dao.DAOAlreadyRegisteredException
 
DAOAlreadyRegisteredException(Throwable) - Constructor for exception at.chrl.database.dao.DAOAlreadyRegisteredException
 
DAOException - Exception in at.chrl.database.dao
Generic DAO exception class
DAOException() - Constructor for exception at.chrl.database.dao.DAOException
 
DAOException(String) - Constructor for exception at.chrl.database.dao.DAOException
 
DAOException(String, Throwable) - Constructor for exception at.chrl.database.dao.DAOException
 
DAOException(Throwable) - Constructor for exception at.chrl.database.dao.DAOException
 
DAOLoader - Class in at.chrl.database.dao
Utility class that loads all DAO's after script context initialization.
DAOLoader() - Constructor for class at.chrl.database.dao.DAOLoader
 
DAOManager - Class in at.chrl.database.dao
This class manages DAO implementations, it resolves valid implementation for current database
DAONotFoundException - Exception in at.chrl.database.dao
This class represents exception that is thrown if DAO implementation was not foud
DAONotFoundException() - Constructor for exception at.chrl.database.dao.DAONotFoundException
 
DAONotFoundException(String) - Constructor for exception at.chrl.database.dao.DAONotFoundException
 
DAONotFoundException(String, Throwable) - Constructor for exception at.chrl.database.dao.DAONotFoundException
 
DAONotFoundException(Throwable) - Constructor for exception at.chrl.database.dao.DAONotFoundException
 
DATABASE_BONECP_PARTITION_CONNECTIONS_MAX - Static variable in class at.chrl.database.DatabaseConfig
Maximum amount of connections that are allowed to use in bonecp partition
DATABASE_BONECP_PARTITION_CONNECTIONS_MIN - Static variable in class at.chrl.database.DatabaseConfig
Minimum amount of connections that are always active in bonecp partition
DATABASE_BONECP_PARTITION_COUNT - Static variable in class at.chrl.database.DatabaseConfig
Amount of partitions used by BoneCP
DATABASE_DRIVER - Static variable in class at.chrl.database.DatabaseConfig
Name of database Driver
DATABASE_PASSWORD - Static variable in class at.chrl.database.DatabaseConfig
Default database password
DATABASE_SCRIPTCONTEXT_DESCRIPTOR - Static variable in class at.chrl.database.DatabaseConfig
Location of database script context descriptor
DATABASE_URL - Static variable in class at.chrl.database.DatabaseConfig
Default database url.
DATABASE_USER - Static variable in class at.chrl.database.DatabaseConfig
Default database user
DatabaseConfig - Class in at.chrl.database
This class holds all configuration of database
DatabaseConfig() - Constructor for class at.chrl.database.DatabaseConfig
 
DatabaseFactory - Class in at.chrl.database
Database Factory

This file is used for creating a pool of connections for the server.
DB - Class in at.chrl.database
DB Documentation This class is used for making SQL query's utilizing the database connection defined in database.properties

Here are the functions that one may use to utilize this class in creating an ease of access to database information.
DisabledDAO - Annotation Type in at.chrl.database.dao
Marker annotation that is used to mark disabled DAO's so they will be ignored by DAOLoader

E

executeQuerry(PreparedStatement) - Static method in class at.chrl.database.DB
Executes Querry and returns ResultSet
executeUpdate(PreparedStatement) - Static method in class at.chrl.database.DB
Executes PreparedStatement
executeUpdateAndClose(PreparedStatement) - Static method in class at.chrl.database.DB
Executes PreparedStatement and closes it and it's connection

G

getActiveConnections() - Method in class at.chrl.database.DatabaseFactory
Returns number of active connections in the pool.
getClassName() - Method in interface at.chrl.database.dao.DAO
Unique identifier for DAO class, all subclasses must have same identifiers.
getConnection() - Static method in class at.chrl.database.DatabaseFactory
Returns an active connection from pool.
getDAO(Class<T>) - Static method in class at.chrl.database.dao.DAOManager
Returns DAO implementation by DAO class.
getDatabaseMajorVersion() - Static method in class at.chrl.database.DatabaseFactory
Returns database version.
getDatabaseMinorVersion() - Static method in class at.chrl.database.DatabaseFactory
Returns database minor version.
getDatabaseName() - Static method in class at.chrl.database.DatabaseFactory
Returns database name.
getIdleConnections() - Method in class at.chrl.database.DatabaseFactory
Returns number of Idle connections.

H

handleInsertUpdate(PreparedStatement) - Method in interface at.chrl.database.IUStH
Enables coder to manually modify statement or batch.
handleRead(ResultSet) - Method in interface at.chrl.database.ReadStH
Allows coder to read data after query execution.

I

init() - Static method in class at.chrl.database.dao.DAOManager
Initializes DAOManager.
init() - Static method in class at.chrl.database.DatabaseFactory
Initializes DatabaseFactory.
insertUpdate(String) - Static method in class at.chrl.database.DB
Executes Insert or Update Query not needing any further modification or batching.
insertUpdate(String, String) - Static method in class at.chrl.database.DB
Executes Insert or Update Query not needing any further modification or batching.
insertUpdate(String, IUStH) - Static method in class at.chrl.database.DB
Executes Insert / Update Query.
insertUpdate(String, IUStH, String) - Static method in class at.chrl.database.DB
Executes Insert or Update Query.
insertUpdate(String) - Method in class at.chrl.database.Transaction
Adds Insert / Update Query to the transaction
insertUpdate(String, IUStH) - Method in class at.chrl.database.Transaction
Adds Insert / Update Query to this transaction.
isValidDAO(Class<?>) - Method in class at.chrl.database.dao.DAOLoader
 
IUStH - Interface in at.chrl.database
Insert/Update Statement handler.

L

log - Static variable in class at.chrl.database.DB
Logger

P

ParamReadStH - Interface in at.chrl.database
Read statement handler.
postLoad(Class<?>[]) - Method in class at.chrl.database.dao.DAOLoader
 
prepareStatement(String) - Static method in class at.chrl.database.DB
Creates PreparedStatement with given sql string.
prepareStatement(String, int, int) - Static method in class at.chrl.database.DB
Creates PreparedStatement with given sql
preUnload(Class<?>[]) - Method in class at.chrl.database.dao.DAOLoader
 

R

ReadStH - Interface in at.chrl.database
Read statement handler.
registerDAO(Class<? extends DAO>) - Static method in class at.chrl.database.dao.DAOManager
Registers DAO.
releaseSavepoint(Savepoint) - Method in class at.chrl.database.Transaction
Releases savepoint of transaction

S

select(String, ReadStH) - Static method in class at.chrl.database.DB
Executes Select Query.
select(String, ReadStH, String) - Static method in class at.chrl.database.DB
Executes Select Query.
setParams(CallableStatement) - Method in interface at.chrl.database.CallReadStH
 
setParams(PreparedStatement) - Method in interface at.chrl.database.ParamReadStH
Enables coder to manually modify statement parameters.
setSavepoint(String) - Method in class at.chrl.database.Transaction
Creates new savepoint
shutdown() - Static method in class at.chrl.database.dao.DAOManager
Shutdown DAOManager
shutdown() - Static method in class at.chrl.database.DatabaseFactory
Shuts down pool and closes connections
supports(String, int, int) - Method in interface at.chrl.database.dao.DAO
Returns true if DAO implementation supports database or false if not.

T

Transaction - Class in at.chrl.database
This class allows easy manipulations with transactions, it should be used when critical or synchronized data should be commited to two or more tables.

U

unregisterDAO(Class<? extends DAO>) - Static method in class at.chrl.database.dao.DAOManager
Unregisters DAO class
A B C D E G H I L P R S T U 
Skip navigation links

Copyright © 2014–2015. All rights reserved.