- clear() - Method in class org.brains2b.util.PageableList
-
- clearOrderBy() - Method in class org.brains2b.data.Condition
-
removes previously set sort order.
- ClobImpl - Class in org.brains2b.data.sql.lob
-
Implementation of Clob to access Clob's independently of the underlying
database
- ClobImpl() - Constructor for class org.brains2b.data.sql.lob.ClobImpl
-
- ClobImpl(Clob) - Constructor for class org.brains2b.data.sql.lob.ClobImpl
-
- clone() - Method in class org.brains2b.data.cursor.CursorData
-
clone will copy the column definitions, but will not clone the values set for this
CursorData.
- clone() - Method in class org.brains2b.data.Filter
-
- clone() - Method in class org.brains2b.data.Filter.Equation
-
- clone() - Method in class org.brains2b.data.Filter.Logical
-
- clone() - Method in class org.brains2b.data.sql.cursor.CursorDelegate
-
- clone() - Method in class org.brains2b.data.sql.DcDelegate
-
- clone() - Method in class org.brains2b.data.sql.SqlCondition
-
- clone() - Method in interface org.brains2b.util.PageDelegate
-
- cloneAll() - Method in class org.brains2b.data.cursor.CursorData
-
clone will copy the column definitions including the values
- close() - Method in class org.brains2b.data.sql.cursor.CursorDelegate
-
- close() - Method in class org.brains2b.data.sql.DcDelegate
-
- close() - Method in class org.brains2b.util.PageableList
-
- close() - Method in interface org.brains2b.util.PageDelegate
-
- commit() - Method in interface org.brains2b.data.TransactionController
-
- Condition - Class in org.brains2b.data
-
Abstract class defining a condition on a datastore.
- Condition() - Constructor for class org.brains2b.data.Condition
-
Default Constructor
- Condition(String) - Constructor for class org.brains2b.data.Condition
-
Create a new Condition.
- Condition(String, Object) - Constructor for class org.brains2b.data.Condition
-
Create new Condition
- Condition(String, Object, String) - Constructor for class org.brains2b.data.Condition
-
Creates new Condition initialized with both an condition
and a sort order.
- ConnectedStream - Class in org.brains2b.data.sql.lob
-
Implementation of Stream for database streams that are connected
to the stream in the database
- ConnectedStream() - Constructor for class org.brains2b.data.sql.lob.ConnectedStream
-
- ConnectedStream(InputStream) - Constructor for class org.brains2b.data.sql.lob.ConnectedStream
-
- contains(Object) - Method in class org.brains2b.util.PageableList
-
- containsAll(Collection<?>) - Method in class org.brains2b.util.PageableList
-
- copyDataObject(Object, Object) - Static method in class org.brains2b.data.DataHelper
-
copy the content of one data object to another.
- copyDataObject(CursorData, Object) - Static method in class org.brains2b.data.DataHelper
-
- CopyException - Exception in org.brains2b.data
-
Exception used when copying data from one data object to another.
- CopyException() - Constructor for exception org.brains2b.data.CopyException
-
Constructor
- CopyException(String) - Constructor for exception org.brains2b.data.CopyException
-
Constructor
- createBlob() - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a new empty Blob
- createBlob(Blob) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a wrapper around an existing Blob
- createClob() - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a new empty Clob
- createClob(Clob) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a wrapper around an existing Clob
- createScrollableStatement(SqlCondition, String) - Method in class org.brains2b.data.sql.SqlDC
-
create a Prepared ScrollabeStatemen from an
SqlCondition and Sql
- createStatement(String) - Method in class org.brains2b.data.sql.SqlDC
-
create a PreparedStatement from SQL
- createStatement(String, int) - Method in class org.brains2b.data.sql.SqlDC
-
create a PreparedStatement from SQL, return value
- createStream(InputStream, boolean) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a Stream object for the InputStream from
the database, that can then be used to change the content
by using Stream.getOutputStream()
- createStream(String) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
- createStream() - Static method in class org.brains2b.data.sql.lob.LobHelper
-
create a new empty Stream
- Cursor - Class in org.brains2b.data.cursor
-
Cursor is the Control class for a valid SQL select statement to be be used as
a data class for which we can manipulate the data.
- Cursor(String) - Constructor for class org.brains2b.data.cursor.Cursor
-
default constructor
- CursorData - Class in org.brains2b.data.cursor
-
Object for containing results from a Cursor
- CursorData(String) - Constructor for class org.brains2b.data.cursor.CursorData
-
Constructor for CursorData.
- CursorDelegate - Class in org.brains2b.data.sql.cursor
-
- CursorDelegate(ResultSet, PreparedStatement, SqlCursor) - Constructor for class org.brains2b.data.sql.cursor.CursorDelegate
-
- get(int) - Method in class org.brains2b.util.PageableList
-
- getAsciiStream() - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- getBinaryStream() - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- getBinaryStream(long, long) - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- getBinaryStream() - Method in class org.brains2b.data.sql.lob.LobCache
-
- getBinaryStream(long, long) - Method in class org.brains2b.data.sql.lob.LobCache
-
- getBoolean(String) - Static method in class org.brains2b.data.sql.SqlDataHelper
-
Function getBoolean, returns true if the String consist of the
letter Y or y and return false in all other cases.
- getBytes(long, int) - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- getBytes(long, int) - Method in class org.brains2b.data.sql.lob.LobCache
-
- getCharacterStream() - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- getCharacterStream(long, long) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- getChecksum() - Method in class org.brains2b.data.cursor.CursorData
-
- getChecksum() - Method in interface org.brains2b.data.OptimisticLock
-
get the checksum value
- getColumn(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the column identifier for the column at the given index
- getColumnCount() - Method in class org.brains2b.data.cursor.CursorData
-
get the number of fields in this cursor data object
- getColumnType(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the column type for the column identified by name
- getColumnType(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the column type for the column given by the specified index
- getConditions() - Method in class org.brains2b.data.Condition
-
Deprecated.
- getConnection() - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
return the Connection used
- getDataType(int) - Method in class org.brains2b.data.cursor.CursorData
-
- getDoubleValue(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the value of the column at the given index as a double
- getDoubleValue(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the double balue belonging to the column identified by name
- getErrorNo() - Method in exception org.brains2b.data.DataException
-
get the error number for this Exception
- getFieldName() - Method in class org.brains2b.data.Filter.Equation
-
- getFilter() - Method in class org.brains2b.data.Condition
-
get the statements added by the addCondition in a hashtable
- getFilterByKey(String) - Method in class org.brains2b.data.Condition
-
- getIndex(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the index of the column identified by name
- getInputStream() - Method in class org.brains2b.data.sql.lob.ConnectedStream
-
- getInputStream() - Method in class org.brains2b.data.sql.lob.DisconnectedStream
-
- getIntValue(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the value of the column at the given index as an integer.
- getIntValue(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the intValue belonging to the column identified by name
- getLastParameter() - Method in class org.brains2b.data.sql.SqlCondition
-
- getLeft() - Method in class org.brains2b.data.Filter.Logical
-
- getLongValue(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the value of the column at the given index as a long.
- getLongValue(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the longValue belonging to the column identified by name
- getMessage() - Method in exception org.brains2b.data.DataException
-
get the Message for this Exception.
- getName() - Method in class org.brains2b.data.cursor.Cursor
-
get the name for this cursor
- getName() - Method in class org.brains2b.data.cursor.CursorData
-
get the name of the Cursor this CursorData object is a result for
- getNewCursorData() - Method in class org.brains2b.data.cursor.Cursor
-
Get an new CursorData object for this cursor, which has all the fields for this Cursor defined.
- getObject(CursorData, ResultSet) - Method in class org.brains2b.data.cursor.Cursor
-
get a CursorData object filled from the current position in the ResultSet.
- getObject(CursorData, ResultSet) - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
- getObject(ResultSet) - Method in class org.brains2b.data.sql.SqlDC
-
Method getObject returns an instance of the Object this
DataControl was intended to service by reading out the resultset
and filling the methods of the object with the values of the individual fields
- getOperator() - Method in class org.brains2b.data.Filter.Equation
-
- getOperator() - Method in class org.brains2b.data.Filter
-
- getOperator() - Method in class org.brains2b.data.Filter.Logical
-
- getOrderBy() - Method in class org.brains2b.data.Condition
-
get list of order by statements
- getOutputStream() - Method in class org.brains2b.data.sql.lob.ConnectedStream
-
- getOutputStream() - Method in class org.brains2b.data.sql.lob.DisconnectedStream
-
- getPageSize() - Method in class org.brains2b.data.sql.cursor.CursorDelegate
-
- getPageSize() - Method in class org.brains2b.data.sql.DcDelegate
-
- getPageSize() - Method in interface org.brains2b.util.PageDelegate
-
- getParameters() - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
get a List of the parameter values which were added.
- getParameters() - Method in class org.brains2b.data.sql.SqlCondition
-
get a List of the parameter values which were added.
- getPreparedQuery() - Method in class org.brains2b.data.sql.SqlCondition
-
get the SQL WHERE clause
- getPreparedStatement(Connection, String) - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
returns a prepared statement build from
the prepared query set, the parameters added,
the conditions set and the order by supplied.
- getPreparedStatement(Connection, String) - Method in class org.brains2b.data.sql.SqlCondition
-
returns a prepared statement build from
the prepared query set, the parameters added,
the conditions set and the order by supplied.
- getProtoType() - Method in class org.brains2b.data.cursor.Cursor
-
get a prototype for this cursor, which is basically a defintion
of the columns and types, but without the values
- getProtoType() - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
- getProtoType(ResultSetMetaData) - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
get a prototype on the basis of the SQL-statement for this Cursor, which is defined
in the ResultSetMetaData.
- getRight() - Method in class org.brains2b.data.Filter.Logical
-
- getRowNo() - Method in class org.brains2b.data.cursor.CursorData
-
get the position of this CursorData object in a collection
- getScrollabeStatement(Connection, String) - Method in class org.brains2b.data.sql.SqlCondition
-
- getSelect() - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
return the SelectDescriptor describing the select statement used for this Cursor
- getString(int) - Method in class org.brains2b.data.cursor.CursorData
-
- getString(String) - Method in class org.brains2b.data.cursor.CursorData
-
- getString(Clob) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
- getString(Stream) - Static method in class org.brains2b.data.sql.lob.LobHelper
-
- getSubString(long, int) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- getValue(int) - Method in class org.brains2b.data.cursor.CursorData
-
get the value of the column at the given index as an Object
- getValue(String) - Method in class org.brains2b.data.cursor.CursorData
-
get the value of the column identified by name as an Object
- getValue() - Method in class org.brains2b.data.Filter.Equation
-
- getYesNo(boolean) - Static method in class org.brains2b.data.sql.SqlDataHelper
-
Function getYesNo returns the character 'Y' for boolean true
and 'N' for boolean false
- greater(String, Object) - Static method in class org.brains2b.data.Filter
-
- greaterOrEqual(String, Object) - Static method in class org.brains2b.data.Filter
-
- group() - Method in class org.brains2b.data.Filter
-
- select() - Method in class org.brains2b.sql.oracle.cursor.OracleCursor
-
Deprecated.
- serialID() - Method in class org.brains2b.data.cursor.CursorData
-
- serialID() - Method in interface org.brains2b.data.OptimisticLock
-
- set(int, E) - Method in class org.brains2b.util.PageableList
-
- setAsciiStream(long) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- setBinaryStream(long) - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- setBinaryStream(long) - Method in class org.brains2b.data.sql.lob.LobCache
-
- setBytes(long, byte[]) - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- setBytes(long, byte[], int, int) - Method in class org.brains2b.data.sql.lob.BlobImpl
-
- setBytes(long, byte[], int, int) - Method in class org.brains2b.data.sql.lob.LobCache
-
- setBytes(long, byte[]) - Method in class org.brains2b.data.sql.lob.LobCache
-
- setCharacterStream(long) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- setChecksum(int) - Method in class org.brains2b.data.cursor.CursorData
-
- setChecksum(int) - Method in interface org.brains2b.data.OptimisticLock
-
set the checksum value.
- setColumn(int, String) - Method in class org.brains2b.data.cursor.CursorData
-
set a column identified by name at the specified position
- setColumnType(int, Class) - Method in class org.brains2b.data.cursor.CursorData
-
set the Class identifying the type of content for this column
by index.
- setColumnValue(int, String, Object) - Method in class org.brains2b.data.cursor.CursorData
-
Deprecated.
- setConnection(Connection) - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
set the java.sql.Connection to use for this Cursor
- setDataType(int, int) - Method in class org.brains2b.data.cursor.CursorData
-
- setFile(File) - Method in interface org.brains2b.data.file.FileDC
-
- setFilter(Filter) - Method in class org.brains2b.data.Condition
-
- setName(String) - Method in class org.brains2b.data.cursor.CursorData
-
set the name of the Cursor this CursorData object is a result for
- setPageable(boolean) - Method in class org.brains2b.data.sql.cursor.SqlCursor
-
set the cursor to be pageable or not
- setPreparedQuery(String) - Method in class org.brains2b.data.sql.SqlCondition
-
set the SQL WHERE clause for this condition.
- setRecordLimit(int) - Method in class org.brains2b.data.sql.SqlCondition
-
- setRowNo(int) - Method in class org.brains2b.data.cursor.CursorData
-
set the position of this CursorData object in a collection
- setSize(int) - Method in class org.brains2b.data.sql.cursor.CursorDelegate
-
- setSize(int) - Method in class org.brains2b.data.sql.DcDelegate
-
- setSize(int) - Method in interface org.brains2b.util.PageDelegate
-
- setString(long, String) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- setString(long, String, int, int) - Method in class org.brains2b.data.sql.lob.ClobImpl
-
- setValue(int, Object) - Method in class org.brains2b.data.cursor.CursorData
-
set the content value for the specified index
- setValue(String, Object) - Method in class org.brains2b.data.cursor.CursorData
-
set the content value for the column identified by name
- size() - Method in class org.brains2b.data.sql.cursor.CursorDelegate
-
- size() - Method in class org.brains2b.data.sql.DcDelegate
-
- size() - Method in class org.brains2b.util.PageableList
-
- size() - Method in interface org.brains2b.util.PageDelegate
-
- SqlCondition - Class in org.brains2b.data.sql
-
SqlCondition is a specific implementation of Condition
for SQL databases.
- SqlCondition() - Constructor for class org.brains2b.data.sql.SqlCondition
-
Default Constructor
- SqlCondition(String) - Constructor for class org.brains2b.data.sql.SqlCondition
-
Constructor for SqlCondition
- SqlCondition(String, Object) - Constructor for class org.brains2b.data.sql.SqlCondition
-
Constructor for SqlCondition
- SqlCondition(String, Object, String) - Constructor for class org.brains2b.data.sql.SqlCondition
-
Constructor for SqlCondition
- SqlCursor - Class in org.brains2b.data.sql.cursor
-
Implementation of the Cursor object for Sql queries and add functionality for having queries with parameters.
- SqlCursor(String, String) - Constructor for class org.brains2b.data.sql.cursor.SqlCursor
-
Constructor for SqlCursor
- SqlCursor(Connection, String, String) - Constructor for class org.brains2b.data.sql.cursor.SqlCursor
-
Constructor for SqlCursor.
- SqlDataHelper - Class in org.brains2b.data.sql
-
Class with static functions to help with SQL datatypes
- SqlDataHelper() - Constructor for class org.brains2b.data.sql.SqlDataHelper
-
- SqlDC<T> - Class in org.brains2b.data.sql
-
Abstract class for SqlDataControl objects.
- SqlDC(Connection, T) - Constructor for class org.brains2b.data.sql.SqlDC
-
Constructor for OracleDC which sets the Connection
to use for this DataControl and the Object on which it should
operate.
- subList(int, int) - Method in class org.brains2b.util.PageableList
-