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

<

() - Static method in class velosurf.sql.DriverInfo
 
() - Static method in class velosurf.util.Cryptograph
 
() - Static method in class velosurf.util.Logger
 

A

Action - class velosurf.model.Action.
This class correspond to custom update and delete queries
Action(DBConnection, Element) - Constructor for class velosurf.model.Action
Constructor
adaptCase(String) - Method in class velosurf.sql.DBConnection
changes to lowercase or uppercase if needed
addColumn(String) - Method in class velosurf.model.Entity
add a column at the end of the sequential list of named columns (called during the reverse engeenering of the database)
addDriver(String, String, String[], String, String, String, String) - Static method in class velosurf.sql.DriverInfo
 
addKey(String) - Method in class velosurf.model.Entity
adds a key column to the sequential list of the key columns (called during the reverse-engeenering of the database)
Attribute - class velosurf.model.Attribute.
This class represents an attribute in the object model
Attribute(DBConnection, String) - Constructor for class velosurf.model.Attribute
Deprecated. builds a new Attribute
Attribute(Entity, Element) - Constructor for class velosurf.model.Attribute
builds a new attribute
AttributeReference - class velosurf.context.AttributeReference.
Context wrapper for attributes
AttributeReference(DataAccessor, Attribute) - Constructor for class velosurf.context.AttributeReference
Constructor for attributes
autofetch(Entity, String, String, boolean) - Static method in class velosurf.tools.HttpQueryTool
 

B

buffer - Variable in class velosurf.util.LineWriterOutputStream
 
buildArrayList(DataAccessor) - Method in class velosurf.model.Attribute
builds the list of parameter values - do not use directly
buildArrayList(DataAccessor) - Method in class velosurf.model.Action
get the list of values for all parameters
buildFetchQuery() - Method in class velosurf.model.Entity
build the SQL query used to fetch one instance of this query
buildKey(DataAccessor) - Method in class velosurf.model.Entity
build the key for the Cache from a DataAccessor
buildKey(Map) - Method in class velosurf.model.Entity
build the key for the Cache from a DataAccessor

C

Cache - class velosurf.cache.Cache.
Cache that keeps fetched instances in memory.
Cache.ArrayKey - class velosurf.cache.Cache.ArrayKey.
 
Cache.ArrayKey(Object[]) - Constructor for class velosurf.cache.Cache.ArrayKey
ArrayKey is a simple wrapper that provides a field-to-field equal method between encapsulated arrays
Cache(int) - Constructor for class velosurf.cache.Cache
Cache constructor
CASE_SENSITIVE - Static variable in class velosurf.sql.DBConnection
case-sensitive policy
checkConnection() - Method in class velosurf.sql.DBConnection
check connection
checkTransactionConnection() - Method in class velosurf.sql.DBConnection
check transaction connection
clear() - Method in class velosurf.cache.Cache
Clear the cache
clear() - Method in class velosurf.sql.PreparedStatementPool
close all statements
clear() - Method in class velosurf.sql.StatementPool
close all statements
clear() - Method in interface velosurf.util.MultiMap
Removes all mappings from this map (optional operation).
clear() - Method in class velosurf.util.HashMultiMap
Removes all mappings from this map (optional operation).
clearCache() - Method in class velosurf.model.Entity
Clear the cache
clearRefinement() - Method in class velosurf.context.EntityReference
Clears any refinement made on this entity
clearRefinement() - Method in class velosurf.context.AttributeReference
Clears any refinement made on this attribute
close() - Method in class velosurf.sql.Pooled
close this pooled object
close() - Method in class velosurf.sql.PooledStatement
close thos statement
close() - Method in class velosurf.sql.PooledPreparedStatement
close this statement
close() - Method in class velosurf.sql.DBConnection
close the connection
close() - Method in class velosurf.util.ServletLogWriter
close the writer
containsKey(Object) - Method in interface velosurf.util.MultiMap
Returns true if this multimap contains a mapping for the specified key.
containsKey(Object) - Method in class velosurf.util.HashMultiMap
Returns true if this multimap contains a mapping for the specified key.
containsValue(Object) - Method in interface velosurf.util.MultiMap
Returns true if this multimap maps one or more keys to the specified value.
containsValue(Object) - Method in class velosurf.util.HashMultiMap
Returns true if this multimap maps one or more keys to the specified value.
Cryptograph - class velosurf.util.Cryptograph.
inspired from some code found at http://javaalmanac.com/
Cryptograph(String) - Constructor for class velosurf.util.Cryptograph
 

D

DataAccessor - interface velosurf.sql.DataAccessor.
This interface represents objects having read-only properties
dataAvailable() - Method in class velosurf.context.RowIterator
check if some data is available
DATABASE_CONFIG_FILE_KEY - Static variable in class velosurf.tools.VelosurfTool
key used in the deployment descriptor (web.xml) to set the name of the config file
DBConnection - class velosurf.sql.DBConnection.
this class encapsulates a connection to the database and contains all the stuff relative to it
DBConnection() - Constructor for class velosurf.sql.DBConnection
builds a new connection
DBConnection(String, String, String) - Constructor for class velosurf.sql.DBConnection
builds a new connection
DBConnection(String, String, String, String) - Constructor for class velosurf.sql.DBConnection
builds a new connection
DBConnection(String, String, String, String, String) - Constructor for class velosurf.sql.DBConnection
builds a new connection
DBReference - class velosurf.context.DBReference.
A context wrapper for the main database connection object.
DBReference() - Constructor for class velosurf.context.DBReference
Default constructor for use by derived classes
DBReference(DBConnection) - Constructor for class velosurf.context.DBReference
Constructs a new reference
dcipher - Variable in class velosurf.util.Cryptograph
 
DEBUG_ID - Static variable in class velosurf.util.Logger
Prefix for debug messages.
debug(String) - Static method in class velosurf.util.Logger
logs a debug string
decrypt(String) - Method in class velosurf.util.Cryptograph
 
def2xml - class velosurf.test.def2xml.
 
def2xml() - Constructor for class velosurf.test.def2xml
 
DEFAULT_DATABASE_CONFIG_FILE - Static variable in class velosurf.tools.VelosurfTool
default database config file
defineAction(Element) - Method in class velosurf.model.Entity
defines a new action in this entity (called during the reading of the config file)
defineAttribute(Element) - Method in class velosurf.model.Entity
defines a new attribute in this entity (called during the reading of the config file)
defineQuery(Element) - Method in class velosurf.model.Action
define the query from the XML tree
defineQuery(Element) - Method in class velosurf.model.Transaction
builds the queries
delete() - Method in class velosurf.context.Instance
Delete the row associated with this Instance.
delete(Map) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table.
delete(Map) - Method in class velosurf.model.Entity
delete a row based on (key) values in a Map
deobfuscate(Object) - Method in class velosurf.context.DBReference
de-obfuscate the given value
deobfuscate(Object) - Method in class velosurf.model.Entity
de-obfuscate given value
deobfuscate(Object) - Method in class velosurf.sql.DBConnection
de-obfuscate the given value
displayStats() - Method in class velosurf.sql.DBConnection
display statistics about the statements pools
DriverInfo - class velosurf.sql.DriverInfo.
 
DriverInfo(String, String, String[], String, String, String, String) - Constructor for class velosurf.sql.DriverInfo
 
dumpStack() - Static method in class velosurf.util.Logger
dumps the current stack

E

ecipher - Variable in class velosurf.util.Cryptograph
 
encrypt(String) - Method in class velosurf.util.Cryptograph
 
Entity - class velosurf.model.Entity.
The Entity class represents an entity in the data model.
Entity(DBConnection, String, boolean, int) - Constructor for class velosurf.model.Entity
Constructor reserved for the framework
EntityReference - class velosurf.context.EntityReference.
Context wrapper for an entity.
EntityReference(Entity) - Constructor for class velosurf.context.EntityReference
Builds a new EntityReference.
equals(Object) - Method in class velosurf.cache.Cache.ArrayKey
checks the cell-to-cell equality of two arrays
equals(Object) - Method in interface velosurf.util.MultiMap
Compares the specified object with this multimap for equality.
equals(Object) - Method in class velosurf.util.HashMultiMap
Compares the specified object with this multimap for equality.
ERROR_ID - Static variable in class velosurf.util.Logger
Prefix for error messages.
error(String) - Static method in class velosurf.util.Logger
logs an error string
evaluate(DataAccessor) - Method in class velosurf.model.Attribute
evaluate this scalar attribute
evaluate(List) - Method in class velosurf.sql.PooledPreparedStatement
gets a scalar result from this statement
evaluate(String) - Method in class velosurf.sql.PooledStatement
evaluates the SQL query as a scalar
evaluate(String) - Method in class velosurf.sql.DBConnection
evaluate a query to a scalar
extractColumnValues(DataAccessor, Map) - Method in class velosurf.model.Entity
extract column values from an input DataAccessor source and store result in inTarget

F

fetch(DataAccessor) - Method in class velosurf.model.Attribute
fetch the row result of this attribute
fetch(List) - Method in class velosurf.context.EntityReference
Fetch an Instance of this entity, specifying the values of its key columns in their natural order.
fetch(List) - Method in class velosurf.model.Entity
fetch an instance from key values stored in a List in natural order
fetch(List) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id
fetch(List, Entity) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id and specify the Entity this object is an Instance of
fetch(Map) - Method in class velosurf.context.EntityReference
Fetch an Instance of this entity, specifying the values of its key columns in the map.
fetch(Map) - Method in class velosurf.model.Entity
fetch an instance from key values stored in a Map
fetch(Map, Entity) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id and specify the Entity this object is an Instance of
fetch(Number) - Method in class velosurf.context.EntityReference
Fetch an Instance of this entity, specifying the value of its unique key column as an integer
fetch(Number) - Method in class velosurf.model.Entity
fetch an instance from its key value specified as a Number
fetch(String) - Method in class velosurf.context.EntityReference
Fetch an Instance of this entity, specifying the value of its unique key column as a string
fetch(String) - Method in class velosurf.model.Entity
fetch an instance from its key value as a string
fetch(String) - Method in class velosurf.sql.PooledStatement
fetch a single row
fetch(String, Entity) - Method in class velosurf.sql.PooledStatement
fetch a single row, specyfing the entity it belongs to
finalize() - Method in class velosurf.sql.PreparedStatementPool
clear statements on exit
finalize() - Method in class velosurf.sql.StatementPool
close statements on exit
findConfig() - Method in class velosurf.standalone.Velosurf
 
findEntity(Element, String) - Static method in class velosurf.test.def2xml
 
flush() - Method in class velosurf.util.ServletLogWriter
flush any pending output
flushAsyncLog() - Static method in class velosurf.util.Logger
flush the asynchronous log in the output writer
fMap - Variable in class velosurf.util.HashMultiMap
inner map
fSizeAll - Variable in class velosurf.util.HashMultiMap
total number of values
FULL_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "full cache" mode

G

get(int) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its order (starting at 1, as for ResultSet.get())
get(int) - Method in class velosurf.context.EntityReference
Dummy method.
get(int) - Method in class velosurf.context.AttributeReference
Dummy method.
get(Object) - Method in class velosurf.cache.Cache
Try to get an instance from the cache
get(Object) - Method in class velosurf.context.RowIterator
generic getter for values of the current row.
get(Object) - Method in class velosurf.context.DBReference
Generic getter, used to access entities or root attributes by their name.
get(Object) - Method in class velosurf.context.Instance
Generic getter, used to access this instance properties by their name.
get(Object) - Method in interface velosurf.sql.DataAccessor
get the property named inKey
get(Object) - Method in class velosurf.sql.PooledStatement
get specified column as an object
get(Object) - Method in class velosurf.sql.PooledPreparedStatement
get the object value of the specified resultset column
get(Object) - Method in class velosurf.sql.MapDataAccessor
get the property named inKey in the wrapped Map
get(Object) - Method in interface velosurf.util.MultiMap
Returns a list of values to which this multimap maps the specified key.
get(Object) - Method in class velosurf.util.HashMultiMap
Returns a list of values to which this multimap maps the specified key.
getAction(String) - Method in class velosurf.model.Entity
get the named action from this entity
getAction(String) - Method in class velosurf.sql.DBConnection
get a named action
getAttribute(String) - Method in class velosurf.model.Entity
Get a named attribute of this entity
getAttribute(String) - Method in class velosurf.sql.DBConnection
get a named attribute
getBoolean(String) - Method in class velosurf.tools.HttpQueryTool
 
getCaseSensivity() - Method in class velosurf.sql.DBConnection
get database case-sensivity
getCaseSensivity() - Method in class velosurf.sql.DriverInfo
 
getColumnNames(ResultSet) - Static method in class velosurf.sql.SqlUtil
 
getColumns() - Method in class velosurf.model.Entity
getter for the list of column names
getConnection() - Method in class velosurf.sql.DBConnection
get the underlying jdbc connection
getDB() - Method in class velosurf.model.Attribute
gets the database connection
getDB() - Method in class velosurf.model.Action
get the database connection
getDB() - Method in class velosurf.model.Entity
get the database connection
getDriverInfo() - Method in class velosurf.sql.DBConnection
get database vendor
getDriverInfo(String) - Static method in class velosurf.sql.DriverInfo
 
getDrivers() - Method in class velosurf.sql.DriverInfo
 
getEntity() - Method in class velosurf.context.Instance
Get the name of this Instance's Entity.
getEntity(String) - Method in class velosurf.sql.DBConnection
get an existing entity
getEntityCreate(String) - Method in class velosurf.sql.DBConnection
get a named entity or creeate it if it doesn't exist
getError() - Method in class velosurf.context.DBReference
Get the last error message, or null if none occured.
getError() - Method in class velosurf.sql.DBConnection
get the error string
getFetchQuery() - Method in class velosurf.model.Entity
get the SQL query string used to fetch one instance of this query
getInstance(DataAccessor) - Method in class velosurf.model.Entity
get an instance from its values contained in a DataAccessor object (by default, update all fields based on the values in the DataAccessor if the instance has been found in the cache)
getInstance(DataAccessor, boolean) - Method in class velosurf.model.Entity
get an instance from a DataAccessor object
getInstance(InputStream) - Static method in class velosurf.sql.DBConnection
get a new connection
getInstance(Map) - Method in class velosurf.model.Entity
get an instance whose values are in a map (by default, do not update instance values with map values if the instance is found in the cache)
getInstance(Map, boolean) - Method in class velosurf.model.Entity
get an instance whose values are in a map
getInstance(String) - Static method in class velosurf.sql.DBConnection
get an instance to a new connection
getInstance(String, String, String, String) - Static method in class velosurf.sql.DBConnection
get an instance to a new connection (meant to have a cache params->connections, not implemented, always return a new connection : similar to the equivalent constructor)
getInt(int) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its order (starting at 1, as for ResultSet.get())
getInt(Object) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its name
getInt(String) - Method in class velosurf.tools.HttpQueryTool
 
getInternal(Object) - Method in class velosurf.context.Instance
Internal getter : access only Map interface
getInts(String) - Method in class velosurf.tools.HttpQueryTool
 
getJdbcTag() - Method in class velosurf.sql.DriverInfo
 
getKeys() - Method in class velosurf.context.Instance
Deprecated. As of Velosurf version 0.9, replaced by getPrimaryKey Returns an ArrayList of two-entries maps ('name' & 'value'), meant to be use in a #foreach loop to build form fields, like :

#foreach ($field in $product.keys)

  <input type=hidden name='$field.name' value='$field.value'> #end

getKeys() - Method in class velosurf.model.Entity
getter for the list of key column names
getLastInsertID() - Method in class velosurf.context.EntityReference
 
getLastInsertID() - Method in class velosurf.model.Entity
get the last insert id
getLastInsertID() - Method in class velosurf.sql.PooledStatement
gets the last insert id
getLastInsertID() - Method in class velosurf.sql.PooledPreparedStatement
get the last insert id - implemented only for mysql for now...
getLastInsertId(DBConnection, Statement) - Static method in class velosurf.sql.SqlUtil
 
getName() - Method in class velosurf.model.Attribute
gets the name of the attribute
getName() - Method in class velosurf.model.Action
get the name of the action
getName() - Method in class velosurf.model.Entity
getter for the name of this entity
getPingQuery() - Method in class velosurf.sql.DriverInfo
 
getPopulatedArrayList(int) - Static method in class velosurf.util.StringLists
builds an array list initially filled with size dummy objects
getPreparedStatement(String) - Method in class velosurf.sql.PreparedStatementPool
gets a PooledPreparedStatement associated with this query
getPrimaryKey() - Method in class velosurf.context.Instance
Returns an ArrayList of two-entries maps ('name' & 'value'), meant to be use in a #foreach loop to build form fields, like :
getSchemaQuery() - Method in class velosurf.sql.DriverInfo
 
getStatement() - Method in class velosurf.sql.StatementPool
gets a valid statement
getString(int) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its order (starting at 1, as for ResultSet.get())
getString(Object) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its name
getStrings(String) - Method in class velosurf.tools.HttpQueryTool
 
getTable() - Method in class velosurf.context.Instance
Get the name of the table mapped by this Instance's Entity.
getTable() - Method in class velosurf.model.Entity
get the name of the mapped table
getTagTime() - Method in class velosurf.sql.Pooled
get the time tag of this pooled object
getTransactionConnection() - Method in class velosurf.sql.DBConnection
get the underlying jdbc connection used for transactions
getTransactionPreparedStatement(String) - Method in class velosurf.sql.PreparedStatementPool
get a statement that is going to be used in transactions
getTransactionStatement() - Method in class velosurf.sql.StatementPool
get a statement to be used in a transaction
getType() - Method in class velosurf.model.Attribute
gets the type of this attribute
getUri() - Method in class velosurf.tools.HttpQueryTool
 
getUsageStats() - Method in class velosurf.sql.PreparedStatementPool
debug - get usage statistics
getUsageStats() - Method in class velosurf.sql.StatementPool
debug - two ints long array containing nb of statements in use and total nb of statements
getWriter() - Static method in class velosurf.util.Logger
get the output writer

H

hashCode() - Method in class velosurf.cache.Cache.ArrayKey
hashcode of an array, based on the hashcode of its members
hashCode() - Method in interface velosurf.util.MultiMap
Returns the hash code value for this map.
hashCode() - Method in class velosurf.util.HashMultiMap
Returns the hash code value for this multimap.
HashMultiMap - class velosurf.util.HashMultiMap.
A MultiMap is a Map allowing multiple occurrences of keys.
HashMultiMap() - Constructor for class velosurf.util.HashMultiMap
builds a new HashMultiMap
hasNext() - Method in class velosurf.context.RowIterator
Returns true if the iteration has more elements.
header() - Static method in class velosurf.util.Logger
returns "Velosurf "
HttpQueryTool - class velosurf.tools.HttpQueryTool.
This class has about the same functionnalities as the tool org.apache.velocity.tools.view.tools.ParameterParser but it adds a generic setter, and the autofetching feature.
HttpQueryTool.AutoFetchInfos - class velosurf.tools.HttpQueryTool.AutoFetchInfos.
 
HttpQueryTool.AutoFetchInfos(Entity, String, boolean) - Constructor for class velosurf.tools.HttpQueryTool.AutoFetchInfos
 
HttpQueryTool() - Constructor for class velosurf.tools.HttpQueryTool
 

I

INFO_ID - Static variable in class velosurf.util.Logger
Prefix for info messages.
info(String) - Static method in class velosurf.util.Logger
logs an info string
init(DBConnection) - Method in class velosurf.context.DBReference
protected initialization method
init(File) - Method in class velosurf.standalone.Velosurf
 
init(Object) - Method in class velosurf.tools.VelosurfTool
Initializes this instance using the given ViewContext
init(Object) - Method in class velosurf.tools.HttpQueryTool
 
initDB(ServletContext) - Static method in class velosurf.tools.VelosurfTool
static initialization method
initialize() - Method in class velosurf.context.Instance
Meant to be overloaded
initLogging() - Method in class velosurf.standalone.Velosurf
 
insert() - Method in class velosurf.context.Instance
Insert a new row corresponding to this Instance.
insert(DataAccessor) - Method in class velosurf.model.Entity
insert a new row based on values of a map
insert(Map) - Method in class velosurf.context.EntityReference
Insert a new row in this entity's table.
insert(Map) - Method in class velosurf.model.Entity
insert a new row based on values of a map
Instance - class velosurf.context.Instance.
An Instance provides field values by their name, choosing in a transparent way between the associated RowIterator or the Map its implement.
Instance(Entity) - Constructor for class velosurf.context.Instance
Build an empty instance for the given entity
isEmpty() - Method in interface velosurf.util.MultiMap
Returns true if this multimap contains no mappings.
isEmpty() - Method in class velosurf.util.HashMultiMap
Returns true if this multimap contains no mappings.
isExplicit() - Method in class velosurf.model.Entity
checks wether or not this entity has been explicitely declared in the configuration file
isInUse() - Method in class velosurf.sql.Pooled
checks whether this pooled object is in use
isObfuscated(String) - Method in class velosurf.model.Entity
returns whether the given column is obfuscated
isTransaction(Element) - Static method in class velosurf.model.Action
checks whether the action defined by this XML tree is a simple action or a transaction
iterator() - Method in class velosurf.context.EntityReference
Called by the #foreach directive.
iterator() - Method in class velosurf.context.AttributeReference
Called by the #foreach directive.

J

join(Collection, String) - Static method in class velosurf.util.StringLists
joins strings using a separator

K

keySet() - Method in interface velosurf.util.MultiMap
Returns a set view of the keys contained in this multimap.
keySet() - Method in class velosurf.util.HashMultiMap
Returns a set view of the keys contained in this multimap.

L

lines - Static variable in class velosurf.util.Logger
 
LineWriterOutputStream - class velosurf.util.LineWriterOutputStream.
 
LineWriterOutputStream(Writer) - Constructor for class velosurf.util.LineWriterOutputStream
Construct a new WriterOutputStream, bound to the specified writer.
loadDriver(String, String) - Static method in class velosurf.sql.DBConnection
loads the appropriate driver
log(int, String) - Static method in class velosurf.util.Logger
log a string using a verbose level
log(String) - Static method in class velosurf.util.Logger
logs a string
log(String, Throwable) - Static method in class velosurf.util.Logger
logs an exception with a string
log(Throwable) - Static method in class velosurf.util.Logger
log an exception
log2Stderr() - Static method in class velosurf.util.Logger
log to stderr
log2Stdout() - Static method in class velosurf.util.Logger
log to stdout
Logger - class velosurf.util.Logger.
this class is the logger used by velosurf
Logger() - Constructor for class velosurf.util.Logger
 
LOWERCASE - Static variable in class velosurf.sql.DBConnection
 

M

mActionMap - Variable in class velosurf.model.Entity
actions of this entity
main(String[]) - Static method in class velosurf.test.def2xml
 
main(String[]) - Static method in class velosurf.test.Test
 
main(String[]) - Static method in class velosurf.util.Cryptograph
 
MapDataAccessor - class velosurf.sql.MapDataAccessor.
This class encapsulates a Map as a DataAccessor
MapDataAccessor(Map) - Constructor for class velosurf.sql.MapDataAccessor
builds a new MapDataAccessor
mAttribute - Variable in class velosurf.context.AttributeReference
The wrapped attribute.
mAttributeMap - Variable in class velosurf.model.Entity
attributes of this entity
mCache - Variable in class velosurf.context.DBReference
a cache used by the generic getter - it's purpose is to avoid the creation of several attribute references for the same multivalued attribute.
mCache - Variable in class velosurf.model.Entity
the cache
mCachingMethod - Variable in class velosurf.cache.Cache
The caching method this cache uses
mCachingMethod - Variable in class velosurf.model.Entity
the caching method
mCaseSensivity - Variable in class velosurf.sql.DBConnection
case-sensivity
mCheckStatement - Variable in class velosurf.sql.DBConnection
statement used to check database connection ("select 1")
mCheckTimeoutThread - Variable in class velosurf.sql.PreparedStatementPool
running thread
mCheckTimeoutThread - Variable in class velosurf.sql.StatementPool
timeout checking thread
mCheckTransactionStatement - Variable in class velosurf.sql.DBConnection
statement used to check database transaction connection
mColumnNames - Variable in class velosurf.context.RowIterator
Column names in sequential order
mColumnNames - Variable in class velosurf.sql.PooledStatement
column names in natural order
mColumnNames - Variable in class velosurf.sql.PooledPreparedStatement
column names
mColumns - Variable in class velosurf.model.Entity
column names in natural order
mConnection - Variable in class velosurf.sql.DBConnection
database connection
mCount - Variable in class velosurf.sql.PreparedStatementPool
statements count
mCount - Variable in class velosurf.sql.StatementPool
number of statements
mCryptograph - Variable in class velosurf.sql.DBConnection
cryptograph used to encrypt/decrypt database ids
mDataAccessor - Variable in class velosurf.context.AttributeReference
The data accessor this attribute reference applies to.
mDB - Variable in class velosurf.context.DBReference
the wrapped database connection
mDB - Variable in class velosurf.context.Instance
the main database connection
mDB - Variable in class velosurf.model.Attribute
database connection
mDB - Variable in class velosurf.model.Action
the satabase connection
mDB - Variable in class velosurf.model.Entity
the database connection
mDBConnection - Variable in class velosurf.sql.PreparedStatementPool
database connection
mDBConnection - Variable in class velosurf.sql.StatementPool
database connection
mDBConnection - Variable in class velosurf.sql.PooledStatement
database connection
mDBConnection - Variable in class velosurf.sql.PooledPreparedStatement
the database connection
mDefaultCaching - Variable in class velosurf.sql.DBConnection
default caching mode
mDefaultReadOnly - Variable in class velosurf.sql.DBConnection
default access mode
mDefFileRead - Variable in class velosurf.sql.DBConnection
has the config file been read ?
mDriverInfo - Variable in class velosurf.sql.DBConnection
driver infos (database vendor specific)
mEntities - Variable in class velosurf.sql.DBConnection
map name->entity
mEntity - Variable in class velosurf.context.Instance
this Instance's Entity
mEntity - Variable in class velosurf.context.EntityReference
the wrapped entity
mEntity - Variable in class velosurf.model.Attribute
parent entity
mEntity - Variable in class velosurf.sql.PooledPreparedStatement
the resulting entity
mEntity - Variable in class velosurf.tools.HttpQueryTool.AutoFetchInfos
 
mError - Variable in class velosurf.sql.DBConnection
error string for the last error
mExplicit - Variable in class velosurf.model.Entity
whether this entity is explicitely declared in the config file
mExternalParams - Variable in class velosurf.context.DBReference
The map of external query parameters used by children attributes
mExternalParams - Variable in class velosurf.context.EntityReference
The map of external query parameters used by children attributes
mFetchQuery - Variable in class velosurf.model.Entity
the SQL query used to fetch one instance of this entity
mInnerCache - Variable in class velosurf.cache.Cache
the inner map that stores associations
mInnerMap - Variable in class velosurf.sql.MapDataAccessor
the wrapped Map
mInstanceClass - Variable in class velosurf.model.Entity
the java class to use to realize this instance
mInUse - Variable in class velosurf.sql.Pooled
is this object in use ?
mKeyColObfuscated - Variable in class velosurf.model.Entity
obfuscation status of key columns
mKeys - Variable in class velosurf.cache.Cache.ArrayKey
the wrapped array
mKeys - Variable in class velosurf.model.Entity
key column names in natural order
mLastInsertID - Variable in class velosurf.model.Entity
the last insert id
mLog - Variable in class velosurf.util.ServletLogWriter
the ServletContext object used to log
mLogLevel - Static variable in class velosurf.util.Logger
Current log level
mMetaDone - Variable in class velosurf.sql.PooledPreparedStatement
has meta information been fetched ?
mName - Variable in class velosurf.model.Attribute
name
mName - Variable in class velosurf.model.Action
the name of this action
mName - Variable in class velosurf.model.Entity
name
mName - Variable in class velosurf.tools.HttpQueryTool.AutoFetchInfos
 
mObfuscate - Variable in class velosurf.model.Entity
whether to obfuscate something
mObfuscatedColumns - Variable in class velosurf.model.Entity
names of obfuscated columns
mOpened - Variable in class velosurf.sql.DBConnection
is the database opened ?
mOrder - Variable in class velosurf.context.EntityReference
specified order
mOrder - Variable in class velosurf.context.AttributeReference
Specified 'order by' clause specified for this attribute reference.
mParamNames - Variable in class velosurf.model.Attribute
list of the parameter names
mParamNames - Variable in class velosurf.model.Action
parameter names of this action
mParamNamesList - Variable in class velosurf.model.Transaction
list of lists of parameter names
mPassword - Variable in class velosurf.sql.DBConnection
database user's password
mPooledStatement - Variable in class velosurf.context.RowIterator
the statement
mPreparedStatement - Variable in class velosurf.sql.PooledPreparedStatement
wrapped prepared statement
mPreparedStatementPool - Variable in class velosurf.sql.DBConnection
pool of prepared statements
mProtect - Variable in class velosurf.tools.HttpQueryTool.AutoFetchInfos
 
mQueries - Variable in class velosurf.model.Transaction
all the queries
mQuery - Variable in class velosurf.model.Attribute
attribute query
mQuery - Variable in class velosurf.model.Action
query of this action
mQuery - Variable in class velosurf.sql.PooledStatement
SQL query
mReadOnly - Variable in class velosurf.model.Entity
whether this entity is read-only or not
mRefineCriteria - Variable in class velosurf.context.EntityReference
specified refining criteria
mRefineCriteria - Variable in class velosurf.context.AttributeReference
Specified refining criteria defined on this attribute reference.
mResultEntity - Variable in class velosurf.context.RowIterator
the resulting entity
mResultEntity - Variable in class velosurf.model.Attribute
for row and rowset attributes, the resulting entity (if specified)
mResultSet - Variable in class velosurf.context.RowIterator
the result set
mRootEntity - Variable in class velosurf.sql.DBConnection
root entity that contains all root attributes and actions
mRowIterator - Variable in class velosurf.context.Instance
the associated RowIterator
mRS - Variable in class velosurf.sql.PooledStatement
result set
mRS - Variable in class velosurf.sql.PooledPreparedStatement
the result set
mRunning - Variable in class velosurf.sql.PreparedStatementPool
true if running
mRunning - Variable in class velosurf.sql.StatementPool
is the thread running ?
mSchema - Variable in class velosurf.sql.DBConnection
schema
mSemaphore - Variable in class velosurf.sql.PreparedStatementPool
semaphore
mStatement - Variable in class velosurf.sql.PooledStatement
wrapped statement
mStatementPool - Variable in class velosurf.sql.DBConnection
pool of statements
mStatements - Variable in class velosurf.sql.StatementPool
statements
mStatementsMap - Variable in class velosurf.sql.PreparedStatementPool
map queries -> statements
mTable - Variable in class velosurf.model.Entity
table
mTagTime - Variable in class velosurf.sql.Pooled
time tag
mTransactionConnection - Variable in class velosurf.sql.DBConnection
database connection used for transactions
mType - Variable in class velosurf.model.Attribute
attribute type
MultiMap - interface velosurf.util.MultiMap.
A MultiMap is a Map allowing multiple occurrences of keys.
mUrl - Variable in class velosurf.sql.DBConnection
database url
mUseOver - Variable in class velosurf.sql.Pooled
is the usage of this object over ?
mUser - Variable in class velosurf.sql.DBConnection
database user

N

newInstance() - Method in class velosurf.context.EntityReference
Create a new instance for this entity
newInstance() - Method in class velosurf.model.Entity
create a new realisation of this entity
newInstance(DataAccessor) - Method in class velosurf.model.Entity
build a new instance from a DataAccessor object
newInstance(Map) - Method in class velosurf.model.Entity
builds a new instance from values contained in a Map
next() - Method in class velosurf.context.RowIterator
Returns the next element in the iteration.
NO_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "no cache" mode
notifyInUse() - Method in class velosurf.sql.Pooled
notify this object that it is in use
notifyOver() - Method in class velosurf.sql.Pooled
notify this object that it is no more in use
notifyOver() - Method in class velosurf.sql.PooledStatement
notify this statement is no more used and can be recycled

O

obfuscate(Object) - Method in class velosurf.context.DBReference
obfuscate the given value
obfuscate(Object) - Method in class velosurf.model.Entity
obfuscate given value
obfuscate(Object) - Method in class velosurf.sql.DBConnection
obfuscate the given value
open(String, String, String) - Method in class velosurf.sql.DBConnection
open the connection
open(String, String, String, String) - Method in class velosurf.sql.DBConnection
open the connection
open(String, String, String, String, String) - Method in class velosurf.sql.DBConnection
open the connection
orderQuery(String, String) - Static method in class velosurf.sql.SqlUtil
 

P

parseCaching(String) - Static method in class velosurf.sql.DBConnection
parse a caching value
perform(DataAccessor) - Method in class velosurf.model.Action
executes this action
perform(DataAccessor) - Method in class velosurf.model.Transaction
performs this action
Pool - interface velosurf.sql.Pool.
This interface represents a generic pool of objects - no real need for now
Pooled - class velosurf.sql.Pooled.
this abstract class represents a pooled object.
Pooled() - Constructor for class velosurf.sql.Pooled
builds a new pooled object
PooledPreparedStatement - class velosurf.sql.PooledPreparedStatement.
this class encapsulates a jdbc PreparedStatement
PooledPreparedStatement(DBConnection, PreparedStatement) - Constructor for class velosurf.sql.PooledPreparedStatement
builds a new PooledPreparedStatement
PooledStatement - class velosurf.sql.PooledStatement.
this class encapsulates a jdbc Statement
PooledStatement(DBConnection, Statement) - Constructor for class velosurf.sql.PooledStatement
builds a new PooledStatement
prepare(String) - Method in class velosurf.sql.DBConnection
prepare a query
PreparedStatementPool - class velosurf.sql.PreparedStatementPool.
This class is a pool of PooledPreparedStatements
PreparedStatementPool(DBConnection) - Constructor for class velosurf.sql.PreparedStatementPool
builds a new pool
put(Object, Object) - Method in class velosurf.cache.Cache
Put an instance in the cache
put(Object, Object) - Method in class velosurf.context.DBReference
Generic setter used to set external params for children attributes
put(Object, Object) - Method in interface velosurf.util.MultiMap
Adds the specified value with the specified key to this multimap.
put(Object, Object) - Method in class velosurf.util.HashMultiMap
Adds the specified value with the specified key to this multimap.
putAll(MultiMap) - Method in interface velosurf.util.MultiMap
Copies all entries from the specified multimap to this multimap.
putAll(MultiMap) - Method in class velosurf.util.HashMultiMap
Copies all entries from the specified multimap to this multimap.

Q

query() - Method in class velosurf.model.Entity
issue a query to iterate though all instances of this entity
query(DataAccessor) - Method in class velosurf.model.Attribute
query the resultset for this multivalued attribute
query(DataAccessor, List, String) - Method in class velosurf.model.Attribute
query the rowset for this attribute
query(List) - Method in class velosurf.sql.PooledPreparedStatement
gets the rowset
query(List, Entity) - Method in class velosurf.sql.PooledPreparedStatement
gets the rowset
query(List, String) - Method in class velosurf.model.Entity
issue a query to iterate thought instances of this entity, with a facultative refining criteria and a facultative order by clause
query(String) - Method in class velosurf.sql.PooledStatement
gets the resultset for this statement
query(String) - Method in class velosurf.sql.DBConnection
issue a query
query(String, Entity) - Method in class velosurf.sql.PooledStatement
gets the resultset for this statement, specifying the entity the results belong to
query(String, Entity) - Method in class velosurf.sql.DBConnection
issue a query, knowing the resulting entity

R

readConfigFile(InputStream) - Method in class velosurf.sql.DBConnection
read configuration from the given input stream
readConfigFile(String) - Method in class velosurf.sql.DBConnection
read the given config file
readMetaData() - Method in class velosurf.sql.DBConnection
read the meta data from the database : reverse engeenering
refine(String) - Method in class velosurf.context.EntityReference
Refines this entity reference querying result : the provided criterium will be added to the 'where' clause (or a 'where' clause will be added).
refine(String) - Method in class velosurf.context.AttributeReference
Refines this attribute's reference result : the provided criterium will be added to the 'where' clause (or a 'where' clause will be added).
refineQuery(String, List) - Static method in class velosurf.sql.SqlUtil
 
remove() - Method in class velosurf.context.RowIterator
not implemented.
remove(Object) - Method in interface velosurf.util.MultiMap
Removes all mappings for this key from this multimap if present.
remove(Object) - Method in class velosurf.util.HashMultiMap
Removes all mappings for this key from this multimap if present.
remove(Object, Object) - Method in interface velosurf.util.MultiMap
Removes the specified key/value mapping from this multimap if present.
remove(Object, Object) - Method in class velosurf.util.HashMultiMap
Removes the specified key/value mapping from this multimap if present.
rename(String) - Method in class velosurf.model.Entity
set the name of this entity ** DO NOT USE DIRECTLY **
reopen() - Method in class velosurf.sql.DBConnection
reopen the connection
replace(String, String, String) - Static method in class velosurf.util.Strings
replace a string by another inside a target string
request - Variable in class velosurf.tools.HttpQueryTool
 
resetTagTime() - Method in class velosurf.sql.Pooled
reset the time tag
ROW - Static variable in class velosurf.model.Attribute
constant meaning the result is a single row
RowIterator - class velosurf.context.RowIterator.
This class is a context wrapper for ResultSets, and provides an iteration mecanism for #foreach loops, as long as getters for values of the current row.
RowIterator(Pooled, ResultSet, Entity) - Constructor for class velosurf.context.RowIterator
Build a new RowIterator
ROWSET - Static variable in class velosurf.model.Attribute
constant meaning the result is a rowset
run() - Method in class velosurf.sql.PreparedStatementPool
cycle through statements to check and recycle them
run() - Method in class velosurf.sql.StatementPool
run the loop of statements checking and recycling

S

sAsyncLimit - Static variable in class velosurf.util.Logger
max number of lines to log in asynchronous mode
sAsyncLog - Static variable in class velosurf.util.Logger
asynchronous log used at start
sAutofetchingEnabled - Static variable in class velosurf.tools.HttpQueryTool
 
sAutofetchMap - Static variable in class velosurf.tools.HttpQueryTool
 
SCALAR - Static variable in class velosurf.model.Attribute
constant meaning the result is a scalar
sCaptureStderr - Static variable in class velosurf.util.Logger
whether the logger captures stderr
sCaptureStdout - Static variable in class velosurf.util.Logger
whether the logger captures stdout
sCheckDelay - Static variable in class velosurf.sql.PreparedStatementPool
check delay
sCheckDelay - Static variable in class velosurf.sql.StatementPool
delay between checks
sDB - Static variable in class velosurf.tools.VelosurfTool
database connection
sDriverMap - Static variable in class velosurf.sql.DriverInfo
 
ServletLogWriter - class velosurf.util.ServletLogWriter.
This class implements a writer towards the servlet log
ServletLogWriter(ServletContext) - Constructor for class velosurf.util.ServletLogWriter
builds a new ServletLogWriter
setCachingMethod(int) - Method in class velosurf.model.Entity
Specify the caching method, see Cache for allowed constants.
setError(String) - Method in class velosurf.sql.DBConnection
set the error string
setExplicit(boolean) - Method in class velosurf.model.Entity
sets wether or not this entity has been explicitely declared in the configuration file
setInstanceClass(String) - Method in class velosurf.model.Entity
Specify a custom class to use when instanciating this entity
setLastInsertID(long) - Method in class velosurf.model.Entity
sets the last insert id (do not use directly !)
setLogLevel(int) - Static method in class velosurf.util.Logger
Sets the log level
setObfuscated(List) - Method in class velosurf.model.Entity
indicates a column as being obfuscated
setOrder(String) - Method in class velosurf.context.EntityReference
Specify an 'order by' clause for this attribute reference result.
setOrder(String) - Method in class velosurf.context.AttributeReference
Specify an 'order by' clause for this attribute reference result.
setParams(List) - Method in class velosurf.sql.PooledPreparedStatement
set prepared parameter values
setReadOnly(boolean) - Method in class velosurf.model.Entity
set this entity to be read-only or read-write
setRowIterator(RowIterator) - Method in class velosurf.context.Instance
Set the RowIterator this Instance is bound to, when used in a #foreach directive.
setTable(String) - Method in class velosurf.model.Entity
set the name of the table mapped by this entity
setWriter(Object) - Static method in class velosurf.util.Logger
set the output writer
sFillInstance - Static variable in class velosurf.context.RowIterator
whether or not all instance fields are automatically filled TODO : should depend upon some init param
sFormat - Static variable in class velosurf.util.Logger
date format for timestamps
sInitialized - Static variable in class velosurf.tools.VelosurfTool
has the static initialization been done ?
size() - Method in class velosurf.cache.Cache
Getter for the size of the cache
size() - Method in class velosurf.context.EntityReference
Dummy method.
size() - Method in class velosurf.context.AttributeReference
Not yet implemented.
size() - Method in interface velosurf.util.MultiMap
Returns the number of values in this multimap.
size() - Method in class velosurf.util.HashMultiMap
Returns the number of values in this multimap.
sLog - Static variable in class velosurf.util.Logger
log output printwriter
sMaxStatements - Static variable in class velosurf.sql.PreparedStatementPool
max number of statements
sMaxStatements - Static variable in class velosurf.sql.StatementPool
maximum number of statements
SOFT_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "soft cache" mode
sOldStderr - Static variable in class velosurf.util.Logger
stderr old value
sOldStdout - Static variable in class velosurf.util.Logger
stdout old value
SqlUtil - class velosurf.sql.SqlUtil.
various SQL-related helpers
SqlUtil() - Constructor for class velosurf.sql.SqlUtil
 
stars(int) - Static method in class velosurf.sql.SqlUtil
 
startCaptureStderr() - Static method in class velosurf.util.Logger
redirects stderr towards the output writer
startCaptureStdout() - Static method in class velosurf.util.Logger
redirects stdout towards output writer
StatementPool - class velosurf.sql.StatementPool.
This class is a pool of PooledStatements
StatementPool(DBConnection) - Constructor for class velosurf.sql.StatementPool
builds a new pool
sTimeout - Static variable in class velosurf.sql.PreparedStatementPool
after this timeout, statements are recycled even if not closed
sTimeout - Static variable in class velosurf.sql.StatementPool
timeout on which statements are automatically recycled if not used
stopCaptureStderr() - Static method in class velosurf.util.Logger
stops redirecting stderr
stopCaptureStdout() - Static method in class velosurf.util.Logger
stop redirecting stdout
sTrimmed - Static variable in class velosurf.util.Strings
characters to trim
StringLists - class velosurf.util.StringLists.
This static class gathers utilities for lists of strings
StringLists() - Constructor for class velosurf.util.StringLists
 
Strings - class velosurf.util.Strings.
this class gathers static utility methods for strings
Strings() - Constructor for class velosurf.util.Strings
 

T

Test - class velosurf.test.Test.
 
Test() - Constructor for class velosurf.test.Test
 
toString() - Method in class velosurf.model.Attribute
debug method
toString() - Method in class velosurf.model.Action
for debugging purpose
toString() - Method in class velosurf.model.Transaction
debug method
TRACE_ID - Static variable in class velosurf.util.Logger
Prefix for trace messages.
trace(String) - Static method in class velosurf.util.Logger
logs a tracing string
Transaction - class velosurf.model.Transaction.
This class is an action that gather several consecutive queries
Transaction(DBConnection, Element) - Constructor for class velosurf.model.Transaction
Builds a new transaction
transactionPrepare(String) - Method in class velosurf.sql.DBConnection
prepare a query which is part of a transaction
transactionUpdate(String) - Method in class velosurf.sql.DBConnection
issue an update query that is part of a transaction
trimSpacesAndEOF(String) - Static method in class velosurf.util.Strings
trim spaces and EOL characters (TODO : fix the typo - nothing to do with EOF characters)

U

UNDEFINED - Static variable in class velosurf.model.Attribute
constant meaning the return type is undefined
update() - Method in class velosurf.context.Instance
Update the row associated with this Instance from passed values
update(DataAccessor) - Method in class velosurf.model.Attribute
do an update via this attribute : deprecated, prefer to use an action instead
update(List) - Method in class velosurf.sql.PooledPreparedStatement
issues the modification query of this prepared statement
update(Map) - Method in class velosurf.context.Instance
Update the row associated with this Instance from actual values
update(Map) - Method in class velosurf.context.EntityReference
Update a row in this entity's table.
update(Map) - Method in class velosurf.model.Entity
update a row based on values of a Map
update(String) - Method in class velosurf.sql.PooledStatement
issues the update contained in the query
update(String) - Method in class velosurf.sql.DBConnection
issues an update query
UPPERCASE - Static variable in class velosurf.sql.DBConnection
 

V

Velosurf - class velosurf.standalone.Velosurf.
 
velosurf.cache - package velosurf.cache
Contains all classes that implement caching.
velosurf.context - package velosurf.context
Contains all classes that can be accessed from inside a Velocity template.
velosurf.model - package velosurf.model
Classes linked to the data model : entities, attributes and actions
velosurf.sql - package velosurf.sql
Contains all core classes dealing with the database itself.
velosurf.standalone - package velosurf.standalone
Contains the standalone version of the Velosurf tool.
velosurf.test - package velosurf.test
Provides a testing routine
velosurf.tools - package velosurf.tools
Contains the velocity-tools version of the Velosurf tool, plus an http query parameter parser tool.
velosurf.util - package velosurf.util
Gather miscellanous utility classes.
Velosurf() - Constructor for class velosurf.standalone.Velosurf
 
VelosurfTool - class velosurf.tools.VelosurfTool.
This class is a tool meant to be referenced in toolbox.xml
VelosurfTool() - Constructor for class velosurf.tools.VelosurfTool
builds a new VelosurfTool

W

WARN_ID - Static variable in class velosurf.util.Logger
Prefix for warning messages.
warn(String) - Static method in class velosurf.util.Logger
logs a warning string
write(char[], int, int) - Method in class velosurf.util.ServletLogWriter
writes an array of chars to the servlet log
write(int) - Method in class velosurf.util.LineWriterOutputStream
Write a byte to this output stream.
write(int) - Method in class velosurf.util.WriterOutputStream
Write a byte to this output stream.
writer - Variable in class velosurf.util.LineWriterOutputStream
 
writer - Variable in class velosurf.util.WriterOutputStream
 
WriterOutputStream - class velosurf.util.WriterOutputStream.
 
WriterOutputStream(Writer) - Constructor for class velosurf.util.WriterOutputStream
Construct a new WriterOutputStream, bound to the specified writer.

_

_caseSensivity - Variable in class velosurf.sql.DriverInfo
 
_drivers - Variable in class velosurf.sql.DriverInfo
 
_IDGenerationMethod - Variable in class velosurf.sql.DriverInfo
 
_jdbcTag - Variable in class velosurf.sql.DriverInfo
 
_name - Variable in class velosurf.sql.DriverInfo
 
_pingQuery - Variable in class velosurf.sql.DriverInfo
 
_schemaQuery - Variable in class velosurf.sql.DriverInfo
 

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

ooOoo