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

A

Action - Class in velosurf.model
This class correspond to custom update and delete queries
Action(Entity, Element) - Constructor for class velosurf.model.Action
Constructor
adaptCase(String) - Method in class velosurf.sql.Database
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 in velosurf.model
This class represents an attribute in the object model
Attribute(Entity, Element) - Constructor for class velosurf.model.Attribute
builds a new attribute
AttributeReference - Class in velosurf.context
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.Action
get the list of values for all parameters
buildArrayList(DataAccessor) - Method in class velosurf.model.Attribute
builds the list of parameter values - do not use directly
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
busy - Variable in class velosurf.sql.ConnectionWrapper
 

C

Cache - Class in velosurf.cache
Cache that keeps fetched instances in memory.
Cache(int) - Constructor for class velosurf.cache.Cache
Cache constructor
Cache.ArrayKey - Class in velosurf.cache
 
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
CASE_SENSITIVE - Static variable in class velosurf.sql.Database
case-sensitive policy
check() - Method in class velosurf.sql.ConnectionWrapper
check connection
checkSyntax(String, String, String[]) - Method in class velosurf.sql.Database
check the syntax of a parameter in the config file
clear() - Method in class velosurf.cache.Cache
Clear the cache
clear() - Method in class velosurf.sql.ConnectionPool
 
clear() - Method in class velosurf.sql.PreparedStatementPool
close all statements
clear() - Method in class velosurf.sql.StatementPool
close all statements
clear() - Method in class velosurf.util.HashMultiMap
Removes all mappings from this map (optional operation).
clear() - Method in interface velosurf.util.MultiMap
Removes all mappings from this map (optional operation).
clearCache() - Method in class velosurf.model.Entity
Clear the cache
clearRefinement() - Method in class velosurf.context.AttributeReference
Clears any refinement made on this attribute
clearRefinement() - Method in class velosurf.context.EntityReference
Clears any refinement made on this entity
clearWarnings() - Method in class velosurf.sql.ConnectionWrapper
 
close() - Method in class velosurf.sql.ConnectionWrapper
 
close() - Method in class velosurf.sql.Database
close the connection
close() - Method in class velosurf.sql.Pooled
close this pooled object
close() - Method in class velosurf.sql.PooledPreparedStatement
close this statement
close() - Method in class velosurf.sql.PooledStatement
close thos statement
close() - Method in class velosurf.util.ServletLogWriter
close the writer
closed - Variable in class velosurf.sql.ConnectionWrapper
 
commit() - Method in class velosurf.sql.ConnectionWrapper
 
configFile - Variable in class velosurf.Velosurf
 
configure(Map) - Method in class velosurf.tools.VelosurfTool
configure
connect() - Method in class velosurf.sql.Database
 
connection - Variable in class velosurf.sql.ConnectionWrapper
 
ConnectionPool - Class in velosurf.sql
Connection pool
ConnectionPool(String, String, String, String, DriverInfo, boolean, int, int) - Constructor for class velosurf.sql.ConnectionPool
 
ConnectionWrapper - Class in velosurf.sql
 
ConnectionWrapper(DriverInfo, Connection) - Constructor for class velosurf.sql.ConnectionWrapper
 
containsKey(Object) - Method in class velosurf.util.HashMultiMap
Returns true if this multimap contains a mapping for the specified key.
containsKey(Object) - Method in interface velosurf.util.MultiMap
Returns true if this multimap contains a mapping for the specified key.
containsValue(Object) - Method in class velosurf.util.HashMultiMap
Returns true if this multimap maps one or more keys to the specified value.
containsValue(Object) - Method in interface velosurf.util.MultiMap
Returns true if this multimap maps one or more keys to the specified value.
createConnection() - Method in class velosurf.sql.ConnectionPool
 
createStatement() - Method in class velosurf.sql.ConnectionWrapper
 
createStatement(int, int) - Method in class velosurf.sql.ConnectionWrapper
 
createStatement(int, int, int) - Method in class velosurf.sql.ConnectionWrapper
 
Cryptograph - Interface in velosurf.util
Created by IntelliJ IDEA.

D

DataAccessor - Interface in velosurf.sql
This interface represents objects having read-only properties
dataAvailable() - Method in class velosurf.context.RowIterator
check if some data is available
Database - Class in velosurf.sql
This class encapsulates a connection to the database and contains all the stuff relative to it.
Database() - Constructor for class velosurf.sql.Database
builds a new connection
Database(String, String, String) - Constructor for class velosurf.sql.Database
builds a new connection
Database(String, String, String, String) - Constructor for class velosurf.sql.Database
builds a new connection
Database(String, String, String, String, String) - Constructor for class velosurf.sql.Database
builds a new connection
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
DBReference - Class in velosurf.context
A context wrapper for the main database connection object.
DBReference() - Constructor for class velosurf.context.DBReference
Default constructor for use by derived classes
DBReference(Database) - Constructor for class velosurf.context.DBReference
Constructs a new reference
dcipher - Variable in class velosurf.util.DESCryptograph
 
debug(String) - Static method in class velosurf.util.Logger
logs a debug string
DEBUG_ID - Static variable in class velosurf.util.Logger
Prefix for debug messages.
decrypt(String) - Method in interface velosurf.util.Cryptograph
 
decrypt(String) - Method in class velosurf.util.DESCryptograph
 
def2xml - Class in velosurf.test
 
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(Map) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table.
delete() - Method in class velosurf.context.ExternalObjectWrapper
Tries to delete the row associated with this Instance using a delete() method in the external object.
delete() - Method in class velosurf.context.Instance
Delete the row associated with this Instance.
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.Database
de-obfuscate the given value
deobfuscate(Object) - Method in class velosurf.Velosurf
de-obfuscate the given value
DESCryptograph - Class in velosurf.util
inspired from some code found at http://javaalmanac.com/
DESCryptograph() - Constructor for class velosurf.util.DESCryptograph
 
displayStats() - Method in class velosurf.sql.Database
display statistics about the statements pools
driver - Variable in class velosurf.sql.ConnectionWrapper
 
DriverInfo - Class in velosurf.sql
 
DriverInfo(String, String, String[], String, String, String, String) - Constructor for class velosurf.sql.DriverInfo
 
dropConnection(Connection) - Method in class velosurf.sql.PreparedStatementPool
 
dropConnection(Connection) - Method in class velosurf.sql.StatementPool
 
dumpStack() - Static method in class velosurf.util.Logger
dumps the current stack

E

ecipher - Variable in class velosurf.util.DESCryptograph
 
encrypt(String) - Method in interface velosurf.util.Cryptograph
 
encrypt(String) - Method in class velosurf.util.DESCryptograph
 
enterBusyState() - Method in class velosurf.sql.ConnectionWrapper
 
Entity - Class in velosurf.model
The Entity class represents an entity in the data model.
Entity(Database, String, boolean, int) - Constructor for class velosurf.model.Entity
Constructor reserved for the framework
EntityReference - Class in velosurf.context
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 class velosurf.context.Instance
 
equals(Object) - Method in class velosurf.util.HashMultiMap
Compares the specified object with this multimap for equality.
equals(Object) - Method in interface velosurf.util.MultiMap
Compares the specified object with this multimap for equality.
error(String) - Static method in class velosurf.util.Logger
logs an error string
ERROR_ID - Static variable in class velosurf.util.Logger
Prefix for error messages.
evaluate(DataAccessor) - Method in class velosurf.model.Attribute
evaluate this scalar attribute
evaluate(String) - Method in class velosurf.sql.Database
evaluate a query to a scalar
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
ExternalObjectWrapper - Class in velosurf.context
This wrapper allows one to specify custom mapping objects that don't inherit from Instance.
ExternalObjectWrapper(Entity, Object) - Constructor for class velosurf.context.ExternalObjectWrapper
 
extractColumnValues(DataAccessor, Map) - Method in class velosurf.model.Entity
extract column values from an input DataAccessor source and store result in inTarget

F

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(Map) - Method in class velosurf.context.EntityReference
Fetch an Instance of this entity, specifying the values of its key columns in the map.
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(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(DataAccessor) - Method in class velosurf.model.Attribute
fetch the row result of this attribute
fetch(List) - Method in class velosurf.model.Entity
fetch an instance from key values stored in a List in natural order
fetch(Map) - Method in class velosurf.model.Entity
fetch an instance from key values stored in a Map
fetch(String) - Method in class velosurf.model.Entity
fetch an instance from its key value as a string
fetch(Number) - Method in class velosurf.model.Entity
fetch an instance from its key value specified as a Number
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, Entity) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id and specify the Entity this object is an Instance of
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() - Static method in class velosurf.standalone.Velosurf
 
findConfig() - Static method in class velosurf.Velosurf
 
findEntity(Element, String) - Static method in class velosurf.test.def2xml
 
findGetter(String) - Method in class velosurf.context.ExternalObjectWrapper
 
findMethod(String, Class[]) - Method in class velosurf.context.ExternalObjectWrapper
 
findSetter(String) - Method in class velosurf.context.ExternalObjectWrapper
 
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(Object) - Method in class velosurf.cache.Cache
Try to get an instance from the cache
get(int) - Method in class velosurf.context.AttributeReference
Dummy method.
get(Object) - Method in class velosurf.context.DBReference
Generic getter, used to access entities or root attributes by their name.
get(int) - Method in class velosurf.context.EntityReference
Dummy method.
get(Object) - Method in class velosurf.context.ExternalObjectWrapper
 
get(Object) - Method in class velosurf.context.Instance
Generic getter, used to access this instance properties by their name.
get(Object) - Method in class velosurf.context.RowIterator
generic getter for values of the current row.
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(Object) - Method in interface velosurf.sql.DataAccessor
get the property named inKey
get(Object) - Method in class velosurf.sql.MapDataAccessor
get the property named inKey in the wrapped Map
get(Object) - Method in class velosurf.sql.PooledPreparedStatement
get the object value of the specified resultset column
get(Object) - Method in class velosurf.sql.PooledStatement
get specified column as an object
get(Object) - Method in class velosurf.util.HashMultiMap
Returns a list of values to which this multimap maps the specified key.
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.Velosurf
 
getAction(String) - Method in class velosurf.model.Entity
get the named action from this entity
getAction(String) - Method in class velosurf.sql.Database
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.Database
get a named attribute
getAutoCommit() - Method in class velosurf.sql.ConnectionWrapper
 
getBoolean(String) - Method in class velosurf.tools.HttpQueryTool
 
getCaseSensivity() - Method in class velosurf.sql.Database
get database case-sensivity
getCaseSensivity() - Method in class velosurf.sql.DriverInfo
 
getCatalog() - Method in class velosurf.sql.ConnectionWrapper
 
getColumnNames(ResultSet) - Static method in class velosurf.sql.SqlUtil
 
getColumns() - Method in class velosurf.context.EntityReference
getter for the list of column names
getColumns() - Method in class velosurf.model.Entity
getter for the list of column names
getConnection() - Method in class velosurf.sql.ConnectionPool
 
getConnection() - Method in class velosurf.sql.Database
get a jdbc connection
getConnection() - Method in class velosurf.sql.Pooled
get the connection used by this statement
getConnection() - Method in class velosurf.sql.PooledPreparedStatement
get statement's Connection
getConnection() - Method in class velosurf.sql.PooledStatement
get statement's Connection
getConnection(String) - Static method in class velosurf.tools.VelosurfTool
returns the existing Database for the specified config file, or null if it does not already exist.
getConnection(String, ServletContext) - Static method in class velosurf.tools.VelosurfTool
returns the existing Database for the specified config file and servlet context, or null if an error occurs.
getDB() - Method in class velosurf.model.Action
get the database connection
getDB() - Method in class velosurf.model.Attribute
gets the database connection
getDB() - Method in class velosurf.model.Entity
get the database connection
getDefaultConnection() - Static method in class velosurf.tools.VelosurfTool
returns the existing Database for the default config file, or null if it does not already exist.
getDefaultConnection(ServletContext) - Static method in class velosurf.tools.VelosurfTool
returns the existing Database for the default config file and servlet context, or null if an error occurs.
getDriverInfo() - Method in class velosurf.sql.Database
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 this Instance's Entity.
getEntity(String) - Method in class velosurf.sql.Database
get an existing entity
getEntityCreate(String) - Method in class velosurf.sql.Database
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.Database
get the error string
getExternal(Object) - Method in class velosurf.context.ExternalObjectWrapper
 
getExternal(Object) - Method in class velosurf.context.Instance
External getter: meant to be overloaded in ExternalObjectWrapper
getFetchQuery() - Method in class velosurf.model.Entity
get the SQL query string used to fetch one instance of this query
getHoldability() - Method in class velosurf.sql.ConnectionWrapper
 
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(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(String, String, String) - Static method in class velosurf.sql.Database
get a unique Database from connection params
getInstance(String, String, String, String) - Static method in class velosurf.sql.Database
get a unique Database from connection params
getInstance(String, String, String, String, String) - Static method in class velosurf.sql.Database
get a unique Database from connection params
getInstance(String) - Static method in class velosurf.sql.Database
get a unique Database from config filename
getInstance(InputStream) - Static method in class velosurf.sql.Database
get a new connection
getInt(Object) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its name
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(String) - Method in class velosurf.tools.HttpQueryTool
 
getInternal(Object) - Method in class velosurf.context.Instance
Internal getter: first tries on the external object then on the 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
Returns the ID of the last inserted row (obfuscated if needed)
getLastInsertID() - Method in class velosurf.model.Entity
get the last insert id (obfuscatd if needed)
getLastInsertId(Statement) - Method in class velosurf.sql.ConnectionWrapper
 
getLastInsertId(Statement) - Method in class velosurf.sql.DriverInfo
 
getLastInsertID() - Method in class velosurf.sql.PooledPreparedStatement
get the last insert id - implemented only for mysql for now...
getLastInsertID() - Method in class velosurf.sql.PooledStatement
gets the last insert id
getLogLevel() - Static method in class velosurf.util.Logger
Gets the current log level
getMagicNumber(String) - Method in class velosurf.sql.Database
get the integer key used to share schema entities among instances
getMetaData() - Method in class velosurf.sql.ConnectionWrapper
 
getName() - Method in class velosurf.model.Action
get the name of the action
getName() - Method in class velosurf.model.Attribute
gets the name of the attribute
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: #foreach ($field in $product.primaryKey)   <input type=hidden name='$field.name' value='$field.value'> #end
getQuery() - Method in class velosurf.model.Attribute
 
getRows() - Method in class velosurf.context.AttributeReference
gets all the rows in a list of maps
getRows() - Method in class velosurf.context.EntityReference
gets all the rows in a list of maps
getRows() - Method in class velosurf.context.RowIterator
gets all the rows in a list of maps
getSchema() - Method in class velosurf.context.DBReference
get the schema
getSchema() - Method in class velosurf.sql.Database
get the schema
getSchema() - Method in class velosurf.Velosurf
 
getSchemaQuery() - Method in class velosurf.sql.DriverInfo
 
getStatement() - Method in class velosurf.sql.StatementPool
gets a valid statement
getString(Object) - Method in class velosurf.context.RowIterator
returns the value of a column specified by its name
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())
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.
getTableName() - 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.Database
get the underlying jdbc connection used for transactions
getTransactionIsolation() - Method in class velosurf.sql.ConnectionWrapper
 
getType() - Method in class velosurf.model.Attribute
gets the type of this attribute
getTypeMap() - Method in class velosurf.sql.ConnectionWrapper
 
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
getWarnings() - Method in class velosurf.sql.ConnectionWrapper
 
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 class velosurf.util.HashMultiMap
Returns the hash code value for this multimap.
hashCode() - Method in interface velosurf.util.MultiMap
Returns the hash code value for this map.
HashMultiMap - Class in velosurf.util
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 in velosurf.tools
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() - Constructor for class velosurf.tools.HttpQueryTool
 
HttpQueryTool.AutoFetchInfos - Class in velosurf.tools
 
HttpQueryTool.AutoFetchInfos(Entity, String, boolean) - Constructor for class velosurf.tools.HttpQueryTool.AutoFetchInfos
 

I

info(String) - Static method in class velosurf.util.Logger
logs an info string
INFO_ID - Static variable in class velosurf.util.Logger
Prefix for info messages.
init(Database) - Method in class velosurf.context.DBReference
protected initialization method
init(InputStream) - Method in class velosurf.standalone.Velosurf
 
init(Object) - Method in class velosurf.tools.HttpQueryTool
 
init(Object) - Method in class velosurf.tools.VelosurfTool
Initializes this instance using the given ViewContext
init(String) - Method in interface velosurf.util.Cryptograph
 
init(String) - Method in class velosurf.util.DESCryptograph
 
init(InputStream) - Method in class velosurf.Velosurf
 
init() - Method in class velosurf.Velosurf
 
initCryptograph() - Method in class velosurf.sql.Database
 
initDB(ServletContext) - Method in class velosurf.tools.VelosurfTool
initialization
initialize(Entity) - Method in class velosurf.context.Instance
Meant to be overloaded if needed
initialized - Variable in class velosurf.Velosurf
 
initLogging() - Method in class velosurf.standalone.Velosurf
 
initLogging() - Method in class velosurf.Velosurf
 
insert(Map) - Method in class velosurf.context.EntityReference
Insert a new row in this entity's table.
insert() - Method in class velosurf.context.ExternalObjectWrapper
Tries to insert a new row corresponding to this Instance using an insert() method in the external object.
insert() - Method in class velosurf.context.Instance
Insert a new row corresponding to this Instance.
insert(Map) - Method in class velosurf.model.Entity
insert a new row based on values of a map
insert(DataAccessor) - Method in class velosurf.model.Entity
insert a new row based on values of a map
Instance - Class in velosurf.context
An Instance provides field values by their name.
Instance(Entity) - Constructor for class velosurf.context.Instance
Deprecated. As of Velosurf 1.4, please use the default constructor and call initialize(Entity) thereafter.
Instance() - Constructor for class velosurf.context.Instance
Build an empty instance that must be latter initialized via the initialize(Entity) method.
invalidate(Object) - Method in class velosurf.cache.Cache
invalidates an entry (used after an insert or an update)
invalidateInstance(DataAccessor) - Method in class velosurf.model.Entity
 
isBusy() - Method in class velosurf.sql.ConnectionWrapper
 
isClosed() - Method in class velosurf.sql.ConnectionWrapper
 
isEmpty() - Method in class velosurf.util.HashMultiMap
Returns true if this multimap contains no mappings.
isEmpty() - Method in interface velosurf.util.MultiMap
Returns true if this multimap contains no mappings.
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
isReadOnly() - Method in class velosurf.model.Entity
 
isReadOnly() - Method in class velosurf.sql.ConnectionWrapper
 
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
isValid() - Method in class velosurf.sql.Pooled
checks whether this pooled object is marked as valid or invalid (used in the recovery process)
iterator() - Method in class velosurf.context.AttributeReference
Called by the #foreach directive.
iterator() - Method in class velosurf.context.EntityReference
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 class velosurf.util.HashMultiMap
Returns a set view of the keys contained in this multimap.
keySet() - Method in interface velosurf.util.MultiMap
Returns a set view of the keys contained in this multimap.

L

leaveBusyState() - Method in class velosurf.sql.ConnectionWrapper
 
lines - Static variable in class velosurf.util.Logger
 
LineWriterOutputStream - Class in velosurf.util
 
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.Database
loads the appropriate driver
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
log(int, String) - Static method in class velosurf.util.Logger
log a string using a verbose level
log2Stderr() - Static method in class velosurf.util.Logger
log to stderr
log2Stdout() - Static method in class velosurf.util.Logger
log to stdout
Logger - Class in velosurf.util
this class is the logger used by velosurf
Logger() - Constructor for class velosurf.util.Logger
 
LOWERCASE - Static variable in class velosurf.sql.Database
 

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.DESCryptograph
 
MapDataAccessor - Class in velosurf.sql
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.Database
case-sensivity
mCheckStatement - Variable in class velosurf.sql.ConnectionWrapper
statement used to check connection ("select 1")
mCheckTimeoutThread - Variable in class velosurf.sql.PreparedStatementPool
running thread
mCheckTimeoutThread - Variable in class velosurf.sql.StatementPool
timeout checking thread
mColumnNames - Variable in class velosurf.context.RowIterator
Column names in sequential order
mColumnNames - Variable in class velosurf.sql.PooledPreparedStatement
column names
mColumnNames - Variable in class velosurf.sql.PooledStatement
column names in natural order
mColumns - Variable in class velosurf.model.Entity
column names in natural order
mConfigFile - Variable in class velosurf.tools.VelosurfTool
path to the config file
mConnection - Variable in class velosurf.sql.PooledPreparedStatement
the connection
mConnection - Variable in class velosurf.sql.PooledStatement
database connection
mConnectionPool - Variable in class velosurf.sql.Database
Pool of connections
mConnectionPool - Variable in class velosurf.sql.PreparedStatementPool
connection pool
mConnectionPool - Variable in class velosurf.sql.StatementPool
Connection pool
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.Database
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.Action
the satabase connection
mDB - Variable in class velosurf.model.Attribute
database connection
mDB - Variable in class velosurf.model.Entity
the database connection
mDefaultCaching - Variable in class velosurf.sql.Database
default caching mode
mDefaultReadOnly - Variable in class velosurf.sql.Database
default access mode
mDriverInfo - Variable in class velosurf.sql.Database
driver infos (database vendor specific)
mEntities - Variable in class velosurf.sql.Database
map name->entity
mEntitiesByTableName - Variable in class velosurf.sql.Database
 
mEntity - Variable in class velosurf.context.EntityReference
the wrapped entity
mEntity - Variable in class velosurf.context.Instance
this Instance's Entity
mEntity - Variable in class velosurf.model.Action
the entity this action belongs to
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.Database
error string for the last error
mExternalParams - Variable in class velosurf.context.DBReference
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
mForeignKey - Variable in class velosurf.model.Attribute
if used, name of the foreign key
mGetterCache - Variable in class velosurf.context.ExternalObjectWrapper
 
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
mMaxConnections - Variable in class velosurf.sql.Database
 
mMetaDone - Variable in class velosurf.sql.PooledPreparedStatement
has meta information been fetched ?
mMinConnections - Variable in class velosurf.sql.Database
 
mName - Variable in class velosurf.model.Action
the name of this action
mName - Variable in class velosurf.model.Attribute
name
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
mOrder - Variable in class velosurf.context.AttributeReference
Specified 'order by' clause specified for this attribute reference.
mOrder - Variable in class velosurf.context.EntityReference
specified order
mParamNames - Variable in class velosurf.model.Action
parameter names of this action
mParamNames - Variable in class velosurf.model.Attribute
list of the parameter names
mParamNamesList - Variable in class velosurf.model.Transaction
list of lists of parameter names
mPassword - Variable in class velosurf.sql.Database
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.Database
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.Action
query of this action
mQuery - Variable in class velosurf.model.Attribute
attribute query
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.AttributeReference
Specified refining criteria defined on this attribute reference.
mRefineCriteria - Variable in class velosurf.context.EntityReference
specified refining criteria
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
mReverseMode - Variable in class velosurf.sql.Database
 
mRootEntity - Variable in class velosurf.sql.Database
root entity that contains all root attributes and actions
mRS - Variable in class velosurf.sql.PooledPreparedStatement
the result set
mRS - Variable in class velosurf.sql.PooledStatement
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.Database
schema
mSeed - Variable in class velosurf.sql.Database
random seed used to initialize the cryptograph
mSetterCache - Variable in class velosurf.context.ExternalObjectWrapper
 
mStatement - Variable in class velosurf.sql.PooledStatement
wrapped statement
mStatementPool - Variable in class velosurf.sql.Database
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
mTransactionConnectionPool - Variable in class velosurf.sql.Database
Pool of connections for transactions
mTransactionPreparedStatementPool - Variable in class velosurf.sql.Database
pool of prepared statements for transactions
mTransactionStatementPool - Variable in class velosurf.sql.Database
pool of statements for transactions
mType - Variable in class velosurf.model.Attribute
attribute type
MultiMap - Interface in velosurf.util
A MultiMap is a Map allowing multiple occurrences of keys.
mUrl - Variable in class velosurf.sql.Database
database url
mUseOver - Variable in class velosurf.sql.Pooled
is the usage of this object over ?
mUser - Variable in class velosurf.sql.Database
database user
mValid - Variable in class velosurf.sql.Pooled
valid statement ?
mWrapped - Variable in class velosurf.context.ExternalObjectWrapper
 

N

nativeSQL(String) - Method in class velosurf.sql.ConnectionWrapper
 
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(Map) - Method in class velosurf.model.Entity
builds a new instance from values contained in a Map
newInstance(DataAccessor) - Method in class velosurf.model.Entity
build a new instance from a DataAccessor object
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.Database
obfuscate the given value
obfuscate(Object) - Method in class velosurf.Velosurf
obfuscate the given value
open(String, String, String, String) - Method in class velosurf.sql.Database
open the connection
open(String, String, String, String, String) - Method in class velosurf.sql.Database
open the connection
orderQuery(String, String) - Static method in class velosurf.sql.SqlUtil
 

P

parseCaching(String) - Static method in class velosurf.sql.Database
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 in velosurf.sql
This interface represents a generic pool of objects - no real need for now
Pooled - Class in velosurf.sql
this abstract class represents a pooled object.
Pooled() - Constructor for class velosurf.sql.Pooled
builds a new pooled object
PooledPreparedStatement - Class in velosurf.sql
this class encapsulates a jdbc PreparedStatement
PooledPreparedStatement(ConnectionWrapper, PreparedStatement) - Constructor for class velosurf.sql.PooledPreparedStatement
builds a new PooledPreparedStatement
PooledStatement - Class in velosurf.sql
this class encapsulates a jdbc Statement
PooledStatement(ConnectionWrapper, Statement) - Constructor for class velosurf.sql.PooledStatement
builds a new PooledStatement
prepare(String) - Method in class velosurf.sql.Database
prepare a query
prepareCall(String) - Method in class velosurf.sql.ConnectionWrapper
 
prepareCall(String, int, int) - Method in class velosurf.sql.ConnectionWrapper
 
prepareCall(String, int, int, int) - Method in class velosurf.sql.ConnectionWrapper
 
PreparedStatementPool - Class in velosurf.sql
This class is a pool of PooledPreparedStatements
PreparedStatementPool(ConnectionPool) - Constructor for class velosurf.sql.PreparedStatementPool
builds a new pool
prepareStatement(String) - Method in class velosurf.sql.ConnectionWrapper
 
prepareStatement(String, int, int) - Method in class velosurf.sql.ConnectionWrapper
 
prepareStatement(String, int, int, int) - Method in class velosurf.sql.ConnectionWrapper
 
prepareStatement(String, int) - Method in class velosurf.sql.ConnectionWrapper
 
prepareStatement(String, int[]) - Method in class velosurf.sql.ConnectionWrapper
 
prepareStatement(String, String[]) - Method in class velosurf.sql.ConnectionWrapper
 
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 class velosurf.context.ExternalObjectWrapper
 
put(Object, Object) - Method in class velosurf.context.Instance
Generic setter
put(Object, Object) - Method in class velosurf.util.HashMultiMap
Adds the specified value with the specified key to this multimap.
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.Velosurf
 
putAll(MultiMap) - Method in class velosurf.util.HashMultiMap
Copies all entries from the specified multimap to this multimap.
putAll(MultiMap) - Method in interface velosurf.util.MultiMap
Copies all entries from the specified multimap to this multimap.

Q

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() - Method in class velosurf.model.Entity
issue a query to iterate though all instances of this entity
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.Database
issue a query
query(String, Entity) - Method in class velosurf.sql.Database
issue a query, knowing the resulting entity
query(List) - Method in class velosurf.sql.PooledPreparedStatement
gets the rowset
query(List, Entity) - Method in class velosurf.sql.PooledPreparedStatement
gets the rowset
query(String) - Method in class velosurf.sql.PooledStatement
gets the resultset for this statement
query(String, Entity) - Method in class velosurf.sql.PooledStatement
gets the resultset for this statement, specifying the entity the results belong to

R

readConfigFile(String) - Method in class velosurf.sql.Database
read the given config file
readConfigFile(InputStream) - Method in class velosurf.sql.Database
read configuration from the given input stream
readMetaData() - Method in class velosurf.sql.Database
read the meta data from the database : reverse engeenering
readTableMetaData(DatabaseMetaData, Entity, String) - Method in class velosurf.sql.Database
 
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).
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).
refineQuery(String, List) - Static method in class velosurf.sql.SqlUtil
 
releaseSavepoint(Savepoint) - Method in class velosurf.sql.ConnectionWrapper
 
remove() - Method in class velosurf.context.RowIterator
not implemented.
remove(Object) - Method in class velosurf.util.HashMultiMap
Removes all mappings for this key 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.
remove(Object) - Method in interface velosurf.util.MultiMap
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.
rename(String) - Method in class velosurf.model.Entity
set the name of this entity ** DO NOT USE DIRECTLY **
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
REVERSE_FULL - Static variable in class velosurf.sql.Database
 
REVERSE_NONE - Static variable in class velosurf.sql.Database
reverse-enginering modes
REVERSE_PARTIAL - Static variable in class velosurf.sql.Database
 
reverseEnginered() - Method in class velosurf.model.Entity
Used by the framework to notify this entity that its reverse enginering is over
rollback() - Method in class velosurf.sql.ConnectionWrapper
 
rollback(Savepoint) - Method in class velosurf.sql.ConnectionWrapper
 
ROW - Static variable in class velosurf.model.Attribute
constant meaning the result is a single row
RowIterator - Class in velosurf.context
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
sConnectionsByConfigFile - Static variable in class velosurf.sql.Database
map config files -> instances
sConnectionsByParams - Static variable in class velosurf.sql.Database
map parameters -> instances
sDBMap - Static variable in class velosurf.tools.VelosurfTool
database connections
sDriverMap - Static variable in class velosurf.sql.DriverInfo
 
ServletLogWriter - Class in velosurf.util
This class implements a writer towards the servlet log
ServletLogWriter(ServletContext) - Constructor for class velosurf.util.ServletLogWriter
builds a new ServletLogWriter
setAutoCommit(boolean) - Method in class velosurf.sql.ConnectionWrapper
 
setCachingMethod(int) - Method in class velosurf.model.Entity
Specify the caching method, see Cache for allowed constants.
setCatalog(String) - Method in class velosurf.sql.ConnectionWrapper
 
setConfigFile(String) - Method in class velosurf.Velosurf
 
setError(String) - Method in class velosurf.sql.Database
set the error string
setHoldability(int) - Method in class velosurf.sql.ConnectionWrapper
 
setInstanceClass(String) - Method in class velosurf.model.Entity
Specify a custom class to use when instanciating this entity
setInvalid() - Method in class velosurf.sql.Pooled
definitely mark this statement as meant to be deleted
setLastInsertID(long) - Method in class velosurf.model.Entity
Used by the framework to set 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.AttributeReference
Specify an 'order by' clause for this attribute reference result.
setOrder(String) - Method in class velosurf.context.EntityReference
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
setReadOnly(boolean) - Method in class velosurf.sql.ConnectionWrapper
 
setSavepoint() - Method in class velosurf.sql.ConnectionWrapper
 
setSavepoint(String) - Method in class velosurf.sql.ConnectionWrapper
 
setTableName(String) - Method in class velosurf.model.Entity
set the name of the table mapped by this entity
setTransactionIsolation(int) - Method in class velosurf.sql.ConnectionWrapper
 
setTypeMap(Map) - Method in class velosurf.sql.ConnectionWrapper
 
setWriter(Object) - Static method in class velosurf.util.Logger
set the output writer
sFormat - Static variable in class velosurf.util.Logger
date format for timestamps
size() - Method in class velosurf.cache.Cache
Getter for the size of the cache
size() - Method in class velosurf.context.AttributeReference
Not yet implemented.
size() - Method in class velosurf.context.EntityReference
Dummy method.
size() - Method in class velosurf.util.HashMultiMap
Returns the number of values in this multimap.
size() - Method in interface velosurf.util.MultiMap
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 in velosurf.sql
various SQL-related helpers
SqlUtil() - Constructor for class velosurf.sql.SqlUtil
 
sSharedCatalog - Static variable in class velosurf.sql.Database
Shared catalog, to share entities among instances.
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 in velosurf.sql
This class is a pool of PooledStatements
StatementPool(ConnectionPool) - 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 in velosurf.util
This static class gathers utilities for lists of strings
StringLists() - Constructor for class velosurf.util.StringLists
 
Strings - Class in velosurf.util
this class gathers static utility methods for strings
Strings() - Constructor for class velosurf.util.Strings
 

T

Test - Class in velosurf.test
 
Test() - Constructor for class velosurf.test.Test
 
toString() - Method in class velosurf.model.Action
for debugging purpose
toString() - Method in class velosurf.model.Attribute
debug method
toString() - Method in class velosurf.model.Transaction
debug method
trace(String) - Static method in class velosurf.util.Logger
logs a tracing string
TRACE_ID - Static variable in class velosurf.util.Logger
Prefix for trace messages.
Transaction - Class in velosurf.model
This class is an action that gather several consecutive queries
Transaction(Entity, Element) - Constructor for class velosurf.model.Transaction
Builds a new transaction
transactionPrepare(String) - Method in class velosurf.sql.Database
prepare a query which is part of a transaction
transactionUpdate(String) - Method in class velosurf.sql.Database
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
unwrap() - Method in class velosurf.context.ExternalObjectWrapper
 
unwrap() - Method in class velosurf.sql.ConnectionWrapper
 
update(Map) - Method in class velosurf.context.EntityReference
Update a row in this entity's table.
update() - Method in class velosurf.context.ExternalObjectWrapper
Try to update the row associated with this Instance using an update() method in the external object.
update(Map) - Method in class velosurf.context.ExternalObjectWrapper
Try to update the row associated with this Instance using an update(map) method in the external object.
update() - Method in class velosurf.context.Instance
Update the row associated with this Instance from passed values Velosurf will ensure all key columns are specified, to avoid an accidental massive update.
update(Map) - Method in class velosurf.context.Instance
Update the row associated with this Instance from actual values Velosurf will ensure all key columns are specified, to avoid an accidental massive update.
update(DataAccessor) - Method in class velosurf.model.Attribute
do an update via this attribute: deprecated, prefer to use an action instead
update(Map) - Method in class velosurf.model.Entity
update a row based on values of a Map
update(String) - Method in class velosurf.sql.Database
issues an update query
update(List) - Method in class velosurf.sql.PooledPreparedStatement
issues the modification query of this prepared statement
update(String) - Method in class velosurf.sql.PooledStatement
issues the update contained in the query
UPPERCASE - Static variable in class velosurf.sql.Database
 

V

velosurf - package velosurf
 
Velosurf - Class in velosurf.standalone
 
Velosurf() - Constructor for class velosurf.standalone.Velosurf
 
Velosurf(File) - Constructor for class velosurf.standalone.Velosurf
 
Velosurf(InputStream) - Constructor for class velosurf.standalone.Velosurf
 
Velosurf - Class in velosurf
 
Velosurf() - Constructor for class velosurf.Velosurf
 
Velosurf(File) - Constructor for class velosurf.Velosurf
 
Velosurf(InputStream) - Constructor for class velosurf.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 Package Specification 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 Package Specification 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.
VelosurfTool - Class in velosurf.tools
This class is a tool meant to be referenced in toolbox.xml It can be used in any scope you want (application/session/request), depending on the behaviour you need for the refinement and ordering mechanisms (which will follow the same scope).
VelosurfTool() - Constructor for class velosurf.tools.VelosurfTool
builds a new VelosurfTool

W

warn(String) - Static method in class velosurf.util.Logger
logs a warning string
WARN_ID - Static variable in class velosurf.util.Logger
Prefix for warning messages.
write(int) - Method in class velosurf.util.LineWriterOutputStream
Write a byte to this output stream.
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.WriterOutputStream
Write a byte to this output stream.
writer - Variable in class velosurf.util.LineWriterOutputStream
 
writer - Variable in class velosurf.util.WriterOutputStream
 
WriterOutputStream - Class in velosurf.util
 
WriterOutputStream(Writer) - Constructor for class velosurf.util.WriterOutputStream
Construct a new WriterOutputStream, bound to the specified writer.

_

_autocommit - Variable in class velosurf.sql.ConnectionPool
 
_caseSensivity - Variable in class velosurf.sql.DriverInfo
 
_connections - Variable in class velosurf.sql.ConnectionPool
 
_driver - Variable in class velosurf.sql.ConnectionPool
 
_drivers - Variable in class velosurf.sql.DriverInfo
 
_IDGenerationMethod - Variable in class velosurf.sql.DriverInfo
 
_jdbcTag - Variable in class velosurf.sql.DriverInfo
 
_max - Variable in class velosurf.sql.ConnectionPool
 
_min - Variable in class velosurf.sql.ConnectionPool
 
_name - Variable in class velosurf.sql.DriverInfo
 
_password - Variable in class velosurf.sql.ConnectionPool
 
_pingQuery - Variable in class velosurf.sql.DriverInfo
 
_schema - Variable in class velosurf.sql.ConnectionPool
 
_schemaQuery - Variable in class velosurf.sql.DriverInfo
 
_url - Variable in class velosurf.sql.ConnectionPool
 
_user - Variable in class velosurf.sql.ConnectionPool
 

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

~ooOoo~