A B C D E F G H I J L N O P Q R S T U V 

A

abort(Executor) - Method in class net.sf.btb.UnclosableConnection
 
addCreatedHandler(QueryEventHandler<I>) - Method in class net.sf.btb.Query
Adds a post initialization handler.
addCreatingHandler(QueryEventHandler<I>) - Method in class net.sf.btb.Query
Adds a creating handler.

B

Bridge<A> - Class in net.sf.btb
Defines a data bridge that is responsible for object persistence to a database.
Bridge(Class<A>, String...) - Constructor for class net.sf.btb.Bridge
Creates a new Bridge using the default connection string as defined in the "bridge.xml" file.
Bridge(Connection, Class<A>, String...) - Constructor for class net.sf.btb.Bridge
Creates a new Bridge using the default connection string as defined in the "bridge.xml" file.

C

clearWarnings() - Method in class net.sf.btb.UnclosableConnection
 
close() - Method in class net.sf.btb.Connector
Commits the current transaction and closes a the current connection if the connection counter has reached 0.
close() - Method in class net.sf.btb.UnclosableConnection
 
closeConnection() - Static method in class net.sf.btb.Connector
Close the current connection.
commit() - Method in class net.sf.btb.UnclosableConnection
 
Comparators - Enum in net.sf.btb
Used to compare a property with a database column value in PropertyFilter objects.
ConnectionManager - Class in net.sf.btb
Manages database URLs contained in the database.properties file.
ConnectionManager() - Constructor for class net.sf.btb.ConnectionManager
 
Connector - Class in net.sf.btb
 
Connector() - Constructor for class net.sf.btb.Connector
The default Connector will use the ConnectionManager to connect to the database.
Connector(String) - Constructor for class net.sf.btb.Connector
The Connector wraps the specified connection string.
count() - Method in class net.sf.btb.Query
Counts the number of rows that will be returned by the current query.
create(Class<A>, String...) - Static method in class net.sf.btb.Bridge
Shortcut method used to create a Bridge.
create(Connection, Class<A>, String...) - Static method in class net.sf.btb.Bridge
Shortcut method used to create a Bridge.
createArrayOf(String, Object[]) - Method in class net.sf.btb.UnclosableConnection
 
createBlob() - Method in class net.sf.btb.UnclosableConnection
 
createClob() - Method in class net.sf.btb.UnclosableConnection
 
createConnection() - Method in class net.sf.btb.ConnectionManager
Creates a connection using the default connection string.
createConnection(String) - Method in class net.sf.btb.ConnectionManager
Creates a connection using the specified connection name.
createNClob() - Method in class net.sf.btb.UnclosableConnection
 
createSQLXML() - Method in class net.sf.btb.UnclosableConnection
 
createStatement() - Method in class net.sf.btb.UnclosableConnection
 
createStatement(int, int) - Method in class net.sf.btb.UnclosableConnection
 
createStatement(int, int, int) - Method in class net.sf.btb.UnclosableConnection
 
createStruct(String, Object[]) - Method in class net.sf.btb.UnclosableConnection
 

D

delete(A) - Method in class net.sf.btb.Bridge
Deletes the specified item from the database.
delete(File) - Static method in class net.sf.btb.Util
Delete the specified file or directory.
disable() - Static method in class net.sf.btb.Connector
Disable the static usage of the Connector.

E

enable() - Static method in class net.sf.btb.Connector
Enables the static usage of the connector.
execute() - Method in class net.sf.btb.Query
Execute the query and returns the resulting object list.
executeFill(Collection<? super I>) - Method in class net.sf.btb.Query
Executes the query and fills the specified list.

F

Filter - Interface in net.sf.btb
Filter interface used in Bridge.fill method.

G

getAssignationType() - Method in class net.sf.btb.Query
Gets the type that will used to set values to the class instance during operations.
getAutoCommit() - Method in class net.sf.btb.UnclosableConnection
 
getCatalog() - Method in class net.sf.btb.UnclosableConnection
 
getClientInfo(String) - Method in class net.sf.btb.UnclosableConnection
 
getClientInfo() - Method in class net.sf.btb.UnclosableConnection
 
getColumn(int) - Method in class net.sf.btb.SqlDescriptor
 
getColumns() - Method in class net.sf.btb.SqlDescriptor
 
getComparator() - Method in class net.sf.btb.PropertyFilter
Gets the comparator.
getConnection() - Method in class net.sf.btb.Bridge
Gets the actual bridge connection.
getConnection() - Method in class net.sf.btb.Connector
 
getConnection() - Method in class net.sf.btb.Query
Gets the connection.
getConnectionUrl() - Method in class net.sf.btb.Connector
 
getCreatedHandler() - Method in class net.sf.btb.Query
 
getCreatingHandler() - Method in class net.sf.btb.Query
 
getDefault() - Method in class net.sf.btb.ConnectionManager
Gets the default database.url name.
getDeleteQuery() - Method in class net.sf.btb.SqlDescriptor
 
getDescriptor() - Method in class net.sf.btb.Bridge
 
getFilePath() - Method in class net.sf.btb.ConnectionManager
Get the file path to the actual database property file.
getFilter() - Method in class net.sf.btb.Query
Gets the filter.
getFilters() - Method in class net.sf.btb.LogicalFilter
Gets the inner filter list.
getHoldability() - Method in class net.sf.btb.UnclosableConnection
 
getIgnoredProperties() - Method in class net.sf.btb.Bridge
 
getIgnoredProperties() - Method in class net.sf.btb.SqlDescriptor
 
getInheritance(Class<?>) - Static method in class net.sf.btb.SqlDescriptor
 
getInsertQuery() - Method in class net.sf.btb.SqlDescriptor
 
getInstance() - Static method in class net.sf.btb.Connector
The singleton connector based on the ConnectionManager using the default connection string.
getInstance(Class<?>, String...) - Static method in class net.sf.btb.SqlDescriptor
 
getInstanciationType() - Method in class net.sf.btb.Query
Gets the type that will be created during fill operations.
getItem() - Method in class net.sf.btb.QueryEvent
 
getItemId() - Method in class net.sf.btb.QueryEvent
 
getJoins() - Method in class net.sf.btb.Query
 
getJoinType() - Method in class net.sf.btb.Join
 
getMetaData() - Method in class net.sf.btb.UnclosableConnection
 
getNetworkTimeout() - Method in class net.sf.btb.UnclosableConnection
 
getOperator() - Method in class net.sf.btb.LogicalFilter
Gets the operator used in this filter.
getOrderBy() - Method in class net.sf.btb.Query
Gets the orderBy clause.
getPrimaryKey() - Method in class net.sf.btb.Query
Gets the primary key for the current query.
getPrimaryKey() - Method in class net.sf.btb.SqlDescriptor
 
getProperties() - Method in interface net.sf.btb.Filter
Gets the set of properties in this filter statement.
getProperties() - Method in class net.sf.btb.LogicalFilter
 
getProperties() - Method in class net.sf.btb.PropertyFilter
 
getProperty() - Method in class net.sf.btb.PropertyFilter
Gets the property name.
getProperty1() - Method in class net.sf.btb.Join
 
getProperty2() - Method in class net.sf.btb.Join
 
getReadOnlyColumns() - Method in class net.sf.btb.SqlDescriptor
 
getSchema() - Method in class net.sf.btb.UnclosableConnection
 
getSelectQuery() - Method in class net.sf.btb.Bridge
 
getSelectQuery() - Method in class net.sf.btb.SqlDescriptor
 
getTableName() - Method in class net.sf.btb.SqlDescriptor
 
getTransactionIsolation() - Method in class net.sf.btb.UnclosableConnection
 
getType() - Method in class net.sf.btb.Bridge
Gets the type bridged by the current object.
getType() - Method in class net.sf.btb.PropertyFilter
 
getType() - Method in class net.sf.btb.SqlDescriptor
 
getType1() - Method in class net.sf.btb.Join
 
getType2() - Method in class net.sf.btb.Join
 
getTypeMap() - Method in class net.sf.btb.UnclosableConnection
 
getUpdateQuery() - Method in class net.sf.btb.SqlDescriptor
 
getUrl(String) - Method in class net.sf.btb.ConnectionManager
Get the specified connection string.
getUrl() - Method in class net.sf.btb.ConnectionManager
Gets the default database URL (the database.url.
getValue() - Method in class net.sf.btb.PropertyFilter
Gets the value used for comparison.
getValue(Object, String) - Method in class net.sf.btb.SqlDescriptor
 
getWarnings() - Method in class net.sf.btb.UnclosableConnection
 

H

handle(QueryEvent<E>) - Method in interface net.sf.btb.QueryEventHandler
Handles a Query event.
handle(QueryEvent<E>) - Method in class net.sf.btb.QueryEventHandlerSet
 

I

initializeQueries(Set<String>) - Method in class net.sf.btb.SqlDescriptor
 
insert(A) - Method in class net.sf.btb.Bridge
Insert the specified item in the database.
isAccessible(String) - Method in class net.sf.btb.SqlDescriptor
 
isCancelled() - Method in class net.sf.btb.QueryEvent
Tells if the current QueryEvent further action is to be cancelled.
isClosed() - Method in class net.sf.btb.UnclosableConnection
 
isEnabled() - Method in class net.sf.btb.Connector
Gets if the current connector is enabled.
isMutable(String) - Method in class net.sf.btb.SqlDescriptor
 
isReadOnly(String) - Method in class net.sf.btb.SqlDescriptor
 
isReadOnly() - Method in class net.sf.btb.UnclosableConnection
 
isSplit() - Method in class net.sf.btb.ConnectionManager
 
isSplit(String) - Method in class net.sf.btb.ConnectionManager
 
isValid(int) - Method in class net.sf.btb.UnclosableConnection
 
isWrapperFor(Class<?>) - Method in class net.sf.btb.UnclosableConnection
 

J

Join - Class in net.sf.btb
 
Join(Class<?>, Class<?>, String, String) - Constructor for class net.sf.btb.Join
 
Join(Class<?>, Class<?>, String, String, JoinType) - Constructor for class net.sf.btb.Join
 
JoinType - Enum in net.sf.btb
 

L

loadAttributes() - Method in class net.sf.btb.ConnectionManager
Loads the default attribute file as defined by the system property "databases.properties.path".
loadAttributes(String) - Method in class net.sf.btb.ConnectionManager
Load the specified attribute file.
LogicalFilter - Class in net.sf.btb
Defines a logical operation between a list of other filter objects.
LogicalFilter(Operators, Filter...) - Constructor for class net.sf.btb.LogicalFilter
Creates a new logical filter.

N

nativeSQL(String) - Method in class net.sf.btb.UnclosableConnection
 
net.sf.btb - package net.sf.btb
 
newQuery() - Method in class net.sf.btb.Bridge
 
newQuery(Class<I>) - Method in class net.sf.btb.Bridge
 

O

onCreated(QueryEvent<I>) - Method in class net.sf.btb.Query
This method is called each time an object has been initialized with the current row data.
onCreating(QueryEvent<E>) - Method in class net.sf.btb.Query
This method is called before the creation of a new object.
open() - Method in class net.sf.btb.Connector
Open a connection and returns it or increment an internal counter and return the already existing connection.
openConnection() - Static method in class net.sf.btb.Connector
Open a connection to the default database.
Operators - Enum in net.sf.btb
Defines relationship operators used between filters.

P

prepareCall(String) - Method in class net.sf.btb.UnclosableConnection
 
prepareCall(String, int, int) - Method in class net.sf.btb.UnclosableConnection
 
prepareCall(String, int, int, int) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String, int, int) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String, int, int, int) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String, int) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String, int[]) - Method in class net.sf.btb.UnclosableConnection
 
prepareStatement(String, String[]) - Method in class net.sf.btb.UnclosableConnection
 
PrimaryKeyNotFoundException - Exception in net.sf.btb
Thrown when no primary key is found for a class.
PrimaryKeyNotFoundException() - Constructor for exception net.sf.btb.PrimaryKeyNotFoundException
Creates the default instance of this exception.
PrimaryKeyNotFoundException(String) - Constructor for exception net.sf.btb.PrimaryKeyNotFoundException
Creates an instance of the exception using the specified message.
PrimaryKeyNotFoundException(Throwable) - Constructor for exception net.sf.btb.PrimaryKeyNotFoundException
Creates an instance of the exception using the specified cause.
PrimaryKeyNotFoundException(String, Throwable) - Constructor for exception net.sf.btb.PrimaryKeyNotFoundException
Creates a new instance of the exception using both the specified message and cause.
PropertyFilter - Class in net.sf.btb
Defines a comparison between a property and a value.
PropertyFilter(Class<?>, String, Comparators, Object) - Constructor for class net.sf.btb.PropertyFilter
Creates a new instance of the class using the specified property name, comparator and value.
PropertyFilter(String, Comparators) - Constructor for class net.sf.btb.PropertyFilter
Creates a new instance of the class using the specified property name, comparator and value.
PropertyFilter(String, Comparators, Object) - Constructor for class net.sf.btb.PropertyFilter
Creates a new instance of the class using the specified property name, comparator and value.
PropertyFilter(String, Object) - Constructor for class net.sf.btb.PropertyFilter
Creates a new instance of the class using the specified property name and value.

Q

Query<I> - Class in net.sf.btb
Instances of this class are used to define a query and it's parameters.
Query(Connection, SqlDescriptor) - Constructor for class net.sf.btb.Query
 
Query(String, Class<I>) - Constructor for class net.sf.btb.Query
Creates a new query object using the specified string and parameters.
Query(Connection, String, Class<I>) - Constructor for class net.sf.btb.Query
Creates a new query object using the specified string and parameters.
Query(String, Class<I>, Class<I>) - Constructor for class net.sf.btb.Query
Creates a new query object using the specified string and parameters.
Query(Connection, String, Class<I>, Class<I>) - Constructor for class net.sf.btb.Query
Creates a new query object using the specified string and parameters.
QueryEvent<I> - Class in net.sf.btb
An event cast by a query object.
QueryEvent(Object, I) - Constructor for class net.sf.btb.QueryEvent
Constructor of the class.
QueryEvent(Object, I, Object) - Constructor for class net.sf.btb.QueryEvent
Constructor of the class.
QueryEventHandler<T> - Interface in net.sf.btb
Interface used to handle Query events.
QueryEventHandlerSet<T> - Class in net.sf.btb
A set used to contain and call QueryEventHandlers.
QueryEventHandlerSet() - Constructor for class net.sf.btb.QueryEventHandlerSet
 

R

releaseSavepoint(Savepoint) - Method in class net.sf.btb.UnclosableConnection
 
removeCreatedHandler(QueryEventHandler<I>) - Method in class net.sf.btb.Query
Removes a post initialization handler.
removeCreatingHandler(QueryEventHandler<I>) - Method in class net.sf.btb.Query
Removes a creating handler.
rollBack() - Static method in class net.sf.btb.Connector
Rollback all transactions based on the current connection.
rollback() - Method in class net.sf.btb.Connector
 
rollback() - Method in class net.sf.btb.UnclosableConnection
 
rollback(Savepoint) - Method in class net.sf.btb.UnclosableConnection
 

S

saveAttributes() - Method in class net.sf.btb.ConnectionManager
Saves the default attribute file as defined by ConnectionManager.FILE_PATH.
saveAttributes(String) - Method in class net.sf.btb.ConnectionManager
Saves the changes to the attribute file specified.
setAutoCommit(boolean) - Method in class net.sf.btb.UnclosableConnection
 
setCancelled(boolean) - Method in class net.sf.btb.QueryEvent
Sets the cancelled property to true or false.
setCatalog(String) - Method in class net.sf.btb.UnclosableConnection
 
setClientInfo(String, String) - Method in class net.sf.btb.UnclosableConnection
 
setClientInfo(Properties) - Method in class net.sf.btb.UnclosableConnection
 
setComparator(Comparators) - Method in class net.sf.btb.PropertyFilter
Sets the comparator.
setConnection(Connection) - Method in class net.sf.btb.Bridge
Deprecated.
This method cannot be used anymore and does nothing. Use the singleton instance from the Connector class instead.
setDefault(String) - Method in class net.sf.btb.ConnectionManager
Sets the default database url name.
setEnabled(boolean) - Method in class net.sf.btb.Connector
Sets the enabled property to true or false.
setFilter(Filter) - Method in class net.sf.btb.Query
Sets the filter.
setHoldability(int) - Method in class net.sf.btb.UnclosableConnection
 
setItem(I) - Method in class net.sf.btb.QueryEvent
 
setJoinType(JoinType) - Method in class net.sf.btb.Join
 
setNetworkTimeout(Executor, int) - Method in class net.sf.btb.UnclosableConnection
 
setOperator(Operators) - Method in class net.sf.btb.LogicalFilter
Sets the currently used logical operator.
setOrderBy(String) - Method in class net.sf.btb.Query
Sets the order by clause.
setPrimaryKey(String) - Method in class net.sf.btb.Query
Sets the primary key for the current query.
setProperty(String) - Method in class net.sf.btb.PropertyFilter
Sets the property name.
setProperty1(String) - Method in class net.sf.btb.Join
 
setProperty2(String) - Method in class net.sf.btb.Join
 
setReadOnly(boolean) - Method in class net.sf.btb.UnclosableConnection
 
setSavepoint() - Method in class net.sf.btb.UnclosableConnection
 
setSavepoint(String) - Method in class net.sf.btb.UnclosableConnection
 
setSchema(String) - Method in class net.sf.btb.UnclosableConnection
 
setSplit(boolean) - Method in class net.sf.btb.ConnectionManager
 
setSplit(String, boolean) - Method in class net.sf.btb.ConnectionManager
 
setTransactionIsolation(int) - Method in class net.sf.btb.UnclosableConnection
 
setType1(Class<?>) - Method in class net.sf.btb.Join
 
setType2(Class<?>) - Method in class net.sf.btb.Join
 
setTypeMap(Map<String, Class<?>>) - Method in class net.sf.btb.UnclosableConnection
 
setUrl(String, String) - Method in class net.sf.btb.ConnectionManager
Sets the url value to the database.url.
setUrl(String) - Method in class net.sf.btb.ConnectionManager
Sets the default database URL.
setValue(Object) - Method in class net.sf.btb.PropertyFilter
Sets the value used for comparison.
setValue(Object, String, Object) - Method in class net.sf.btb.SqlDescriptor
 
SqlDescriptor - Class in net.sf.btb
 

T

throwIfNull(Object, String) - Static method in class net.sf.btb.Util
Throws NullPointerException if "o" is null.
throwIfNullOrEmpty(String, String) - Static method in class net.sf.btb.Util
Throws NullPointerException if "s" is null or IllegalArgumentException if "s" is an empty string.
toQueryString() - Method in interface net.sf.btb.Filter
Translates this filter to its SQL query equivalent.
toQueryString() - Method in class net.sf.btb.LogicalFilter
 
toQueryString() - Method in class net.sf.btb.PropertyFilter
 
toString() - Method in class net.sf.btb.Join
 
toString() - Method in class net.sf.btb.LogicalFilter
 
toString() - Method in class net.sf.btb.PropertyFilter
 
toString() - Method in class net.sf.btb.Query
 
toString() - Method in class net.sf.btb.SqlDescriptor
 
translate(Comparators) - Static method in class net.sf.btb.Util
Translate the given comparator to it's SQL string equivalent.
translate(Operators) - Static method in class net.sf.btb.Util
Translate the given operator to it's SQL string equivalent.

U

UnclosableConnection - Class in net.sf.btb
 
UnclosableConnection(Connection) - Constructor for class net.sf.btb.UnclosableConnection
 
UnexpectedException - Exception in net.sf.btb
 
UnexpectedException() - Constructor for exception net.sf.btb.UnexpectedException
Creates the default instance of this exception.
UnexpectedException(String) - Constructor for exception net.sf.btb.UnexpectedException
Creates an instance of the exception using the specified message.
UnexpectedException(Throwable) - Constructor for exception net.sf.btb.UnexpectedException
Creates an instance of the exception using the specified cause.
UnexpectedException(String, Throwable) - Constructor for exception net.sf.btb.UnexpectedException
Creates a new instance of the exception using both the specified message and cause.
unwrap(Class<T>) - Method in class net.sf.btb.UnclosableConnection
 
update(A) - Method in class net.sf.btb.Bridge
Updates the specified item in the database.
Util - Class in net.sf.btb
Utility class.

V

valueOf(String) - Static method in enum net.sf.btb.Comparators
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.btb.JoinType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.btb.Operators
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.btb.Comparators
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.btb.JoinType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.btb.Operators
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L N O P Q R S T U V 

Copyright © 2013. All rights reserved.