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

A

Action - Class in velosurf.model
This class correspond to custom update and delete queries
Action(String, Entity) - Constructor for class velosurf.model.Action
Constructor
actionMap - Variable in class velosurf.model.Entity
actions of this entity
adaptCase(String) - Method in class velosurf.sql.ConfigLoader
 
adaptCase(String) - Method in class velosurf.sql.Database
changes to lowercase or uppercase if needed
adaptCase(String) - Method in class velosurf.sql.ReverseEngineer
 
adaptContextCase(String) - Static method in class velosurf.sql.Database
 
addAction(Action) - Method in class velosurf.model.Entity
 
addAlias(String, String) - Method in class velosurf.model.Entity
 
addAttribute(Attribute) - Method in class velosurf.model.Entity
add a new attribute
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)
addConstraint(String, FieldConstraint) - Method in class velosurf.model.Entity
 
addCookie(Cookie) - Method in class velosurf.util.SavedRequest
Adds cookie to list of cookies
addCorrespondance(String, Entity) - Method in class velosurf.sql.ReverseEngineer
 
addDriver(String, String, String[], String, String, String, String, String, String) - Static method in class velosurf.sql.DriverInfo
 
addEntity(Entity) - Method in class velosurf.sql.Database
add a new entity
addExportedKey(Entity, String, String, List<String>, List<String>) - Method in class velosurf.sql.ReverseEngineer
 
addHeader(String, String) - Method in class velosurf.util.SavedRequest
Adds header
addImportedKey(Entity, String, String, List<String>, List<String>) - Method in class velosurf.sql.ReverseEngineer
 
addLocale(Locale) - Method in class velosurf.util.SavedRequest
Adds locale
addParameter(String, String[]) - Method in class velosurf.util.SavedRequest
Adds parameter
addParamName(String) - Method in class velosurf.model.Action
 
addParamName(String) - Method in class velosurf.model.Attribute
 
addPKColumn(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)
addValidationError(String) - Method in class velosurf.util.UserContext
 
aliasByColumn - Variable in class velosurf.model.Entity
attributes of this entity
aliasToColumn(String) - Method in class velosurf.model.Entity
 
aliasToColumn(List<String>) - Method in class velosurf.model.Entity
 
asyncLimit - Static variable in class velosurf.util.Logger
max number of lines to log in asynchronous mode
asyncLog - Static variable in class velosurf.util.Logger
asynchronous log used at start
attribute - Variable in class velosurf.context.AttributeReference
The wrapped attribute.
Attribute - Class in velosurf.model
This class represents an attribute in the object model
Attribute(String, Entity) - Constructor for class velosurf.model.Attribute
 
attributeMap - Variable in class velosurf.model.Entity
 
AttributeReference - Class in velosurf.context
Context wrapper for attributes
AttributeReference(ReadOnlyMap, Attribute) - Constructor for class velosurf.context.AttributeReference
Constructor for attributes
AttributeReference(ReadOnlyMap, Attribute, UserContext) - Constructor for class velosurf.context.AttributeReference
Constructor for attributes
attributeResultSyntax - Static variable in class velosurf.sql.ConfigLoader
 
AuthenticationFilter - Class in velosurf.web.auth
This class is a servlet filter used to protect web pages behind an authentication mechanism.
AuthenticationFilter() - Constructor for class velosurf.web.auth.AuthenticationFilter
 

B

base - Variable in class velosurf.util.XIncludeResolver
 
BaseAuthenticator - Class in velosurf.web.auth
This abstract class implements an authentication mechanism.
BaseAuthenticator() - Constructor for class velosurf.web.auth.BaseAuthenticator
 
buffer - Variable in class velosurf.util.LineWriterOutputStream
 
buildArrayList(ReadOnlyMap) - Method in class velosurf.model.Action
get the list of values for all parameters
buildArrayList(ReadOnlyMap) - 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(ReadOnlyMap) - Method in class velosurf.model.Entity
build the key for the Cache from a DataAccessor
buildsTemplateNamesList() - Method in class velosurf.util.TemplateNameFilter
Builds the cache, which consists of a hash set containing all template names.
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 - 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.
cache - Variable in class velosurf.model.Entity
the cache
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
caching - Variable in class velosurf.sql.Database
default caching mode
cachingMethod - Variable in class velosurf.cache.Cache
The caching method this cache uses
cachingMethod - Variable in class velosurf.model.Entity
the caching method
captureStderr - Static variable in class velosurf.util.Logger
whether the logger captures stderr
captureStdout - Static variable in class velosurf.util.Logger
whether the logger captures stdout
CASE_SENSITIVE - Static variable in class velosurf.sql.Database
 
CASE_UNKNOWN - Static variable in class velosurf.sql.Database
case-sensitive policy
caseSensivity - Variable in class velosurf.sql.Database
case-sensivity
caseSensivity - Variable in class velosurf.sql.DriverInfo
 
challenge - Variable in class velosurf.web.auth.BaseAuthenticator
 
CHALLENGE_LENGTH - Static variable in class velosurf.web.auth.BaseAuthenticator
 
check() - Method in class velosurf.sql.ConnectionWrapper
check connection
checkDelay - Static variable in class velosurf.sql.PreparedStatementPool
check delay
checkDelay - Static variable in class velosurf.sql.StatementPool
delay between checks
checkDNS(String) - Method in class velosurf.validation.Email
 
checkLogin(String, String) - Method in class velosurf.web.auth.BaseAuthenticator
 
checkSMTP(String, String) - Method in class velosurf.validation.Email
 
checkStatement - Variable in class velosurf.sql.ConnectionWrapper
statement used to check connection ("select 1")
checkSyntax(String, String, String[]) - Method in class velosurf.sql.ConfigLoader
check the syntax of a parameter in the config file
checkTimeoutThread - Variable in class velosurf.sql.PreparedStatementPool
running thread
checkTimeoutThread - Variable in class velosurf.sql.StatementPool
timeout checking thread
classInfo - Variable in class velosurf.context.ExternalObjectWrapper
info on the wrapped object class
classInfoMap - Static variable in class velosurf.context.ExternalObjectWrapper
a map of class infos
clazz - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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).
clear() - Method in class velosurf.web.HttpQueryTool
 
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
clearValidationErrors() - Method in class velosurf.util.UserContext
 
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
 
column - Variable in class velosurf.model.Entity.FieldConstraintInfo
 
columnByAlias - Variable in class velosurf.model.Entity
 
columnNames - Variable in class velosurf.sql.PooledPreparedStatement
column names
columnNames - Variable in class velosurf.sql.PooledStatement
column names in natural order
columns - Variable in class velosurf.model.Entity
column names in natural order
columnToAlias(String) - Method in class velosurf.model.Entity
 
commit() - Method in class velosurf.sql.ConnectionWrapper
 
config - Variable in class velosurf.validation.ValidationFilter
 
config - Variable in class velosurf.web.auth.SimpleDBAuthenticator
 
configFile - Variable in class velosurf.Velosurf
 
configFile - Variable in class velosurf.web.VelosurfTool
path to the config file
ConfigLoader - Class in velosurf.sql
A configuration loader for the Database object
ConfigLoader(Database) - Constructor for class velosurf.sql.ConfigLoader
 
ConfigLoader(Database, XIncludeResolver) - Constructor for class velosurf.sql.ConfigLoader
 
configure(Map) - Method in class velosurf.web.auth.BaseAuthenticator
 
configure(Map) - Method in class velosurf.web.auth.SimpleDBAuthenticator
 
configure(Map) - Method in class velosurf.web.l10n.SimpleDBLocalizer
 
configure(Map) - Method in class velosurf.web.VelosurfTool
configure
connect() - Method in class velosurf.sql.Database
 
connect() - Method in class velosurf.validation.Email.FastTimeoutConnect
 
connection - Variable in class velosurf.sql.ConnectionWrapper
 
connection - Variable in class velosurf.sql.PooledPreparedStatement
the connection
connection - Variable in class velosurf.sql.PooledStatement
database connection
ConnectionPool - Class in velosurf.sql
Connection pool
ConnectionPool(String, String, String, String, DriverInfo, boolean, int, int) - Constructor for class velosurf.sql.ConnectionPool
 
connectionPool - Variable in class velosurf.sql.Database
Pool of connections
connectionPool - Variable in class velosurf.sql.PreparedStatementPool
connection pool
connectionPool - Variable in class velosurf.sql.StatementPool
Connection pool
connectionsByConfigFile - Static variable in class velosurf.sql.Database
map config files -> instances
connectionsByParams - Static variable in class velosurf.sql.Database
map parameters -> instances
ConnectionWrapper - Class in velosurf.sql
 
ConnectionWrapper(DriverInfo, Connection) - Constructor for class velosurf.sql.ConnectionWrapper
 
constraint - Variable in class velosurf.model.Entity.FieldConstraintInfo
 
constraints - Variable in class velosurf.model.Entity
 
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.
containsKey(Object) - Method in class velosurf.web.HttpQueryTool
 
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.
containsValue(Object) - Method in class velosurf.web.HttpQueryTool
 
context - Variable in class velosurf.util.XIncludeResolver
 
context - Variable in class velosurf.web.HttpQueryTool
 
contextCase - Static variable in class velosurf.sql.Database
case-sensivity for context
cookies - Variable in class velosurf.util.SavedRequest
The set of Cookies associated with this Request.
count - Variable in class velosurf.sql.PreparedStatementPool
statements count
count - Variable in class velosurf.sql.StatementPool
number of statements
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 - Variable in class velosurf.sql.Database
cryptograph used to encrypt/decrypt database ids
Cryptograph - Interface in velosurf.util
Cryptograph - used to encrypt and decrypt strings
currentDate - Static variable in class velosurf.util.FastHttpDateFormat
Current formatted date.
currentDateGenerated - Static variable in class velosurf.util.FastHttpDateFormat
Instant on which the currentDate object was generated.

D

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.web.VelosurfTool
key used in the deployment descriptor (web.xml) to set the name of the config file
dateFormat - Variable in class velosurf.validation.DateRange
 
DateRange - Class in velosurf.validation
A type and range constraint on dates.
DateRange() - Constructor for class velosurf.validation.DateRange
 
db - Variable in class velosurf.context.DBReference
the wrapped database connection
db - Variable in class velosurf.context.Instance
the main database connection
db - Variable in class velosurf.model.Action
the satabase connection
db - Variable in class velosurf.model.Attribute
database connection
db - Variable in class velosurf.model.Entity
the database connection
db - Variable in class velosurf.sql.ReverseEngineer
 
db - Variable in class velosurf.web.auth.SimpleDBAuthenticator
 
dbMap - Static variable in class velosurf.web.VelosurfTool
database connections
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 database reference
DBReference(Database, UserContext) - Constructor for class velosurf.context.DBReference
Constructs a new database 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
debug messages loglevel
decrypt(String) - Method in interface velosurf.util.Cryptograph
 
decrypt(String) - Method in class velosurf.util.DESCryptograph
 
DEFAULT_DATABASE_CONFIG_FILE - Static variable in class velosurf.web.VelosurfTool
default database config file
DEFAULT_REVERSE_MODE - Static variable in class velosurf.sql.ReverseEngineer
 
defaultLocale - Static variable in class velosurf.util.SavedRequestWrapper
The default Locale if none are specified.
defineActions(Element, Entity) - Method in class velosurf.sql.ConfigLoader
 
defineAttributes(Element, Entity) - Method in class velosurf.sql.ConfigLoader
 
defineConstraints(Element, Entity) - Method in class velosurf.sql.ConfigLoader
 
defineEntities(Element) - Method in class velosurf.sql.ConfigLoader
 
defineForeignKeys(Element, Entity) - Method in class velosurf.sql.ConfigLoader
 
delete(Map) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table.
delete - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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(ReadOnlyMap) - Method in class velosurf.model.Entity
delete a row based on (key) values
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
Implemenation of the cryptograph for the DES algorithm inspired from some code found at http://javaalmanac.com/
DESCryptograph() - Constructor for class velosurf.util.DESCryptograph
 
destroy() - Method in class velosurf.util.TemplateNameFilter
 
destroy() - Method in class velosurf.validation.ValidationFilter
 
destroy() - Method in class velosurf.web.auth.AuthenticationFilter
 
destroy() - Method in class velosurf.web.l10n.LocalizationFilter
 
displayStats() - Method in class velosurf.sql.Database
display statistics about the statements pools
displayTimestamps - Static variable in class velosurf.util.Logger
whether to display timestamps
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.util.TemplateNameFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.validation.ValidationFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.web.l10n.LocalizationFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
 
done - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
 
doRequest(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
 
driver - Variable in class velosurf.sql.ConnectionWrapper
 
driverByClass - Static variable in class velosurf.sql.DriverInfo
 
driverByVendor - Static variable in class velosurf.sql.DriverInfo
 
driverClass - Variable in class velosurf.sql.Database
driver class name, if provided in the config file
driverInfo - Variable in class velosurf.sql.Database
driver infos (database vendor specific)
DriverInfo - Class in velosurf.sql
Contains specific description and behaviour of jdbc drivers (main sources: http://www.schemaresearch.com/products/srtransport/doc/modules/jdbcconf.html http://db.apache.org/torque/ and org.apache.torque.adapter classes
DriverInfo(String, String, String[], String, String, String, String, String, String) - Constructor for class velosurf.sql.DriverInfo
 
driverInfo - Variable in class velosurf.sql.ReverseEngineer
 
driverLoaded - Variable in class velosurf.sql.Database
whether the JDBC driver has been loaded
drivers - Variable in 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
 
Email - Class in velosurf.validation
An 'email' constraint.
Email() - Constructor for class velosurf.validation.Email
Default constructor.
Email(boolean, boolean) - Constructor for class velosurf.validation.Email
Constructor.
Email.FastTimeoutConnect - Class in velosurf.validation
 
Email.FastTimeoutConnect(String, int, int) - Constructor for class velosurf.validation.Email.FastTimeoutConnect
 
encrypt(String) - Method in interface velosurf.util.Cryptograph
 
encrypt(String) - Method in class velosurf.util.DESCryptograph
 
enterBusyState() - Method in class velosurf.sql.ConnectionWrapper
 
entities - Variable in class velosurf.sql.Database
map name->entity
entity - Variable in class velosurf.context.EntityReference
the wrapped entity
entity - Variable in class velosurf.context.Instance
this Instance's Entity
entity - Variable in class velosurf.model.Action
the entity this action belongs to
entity - Variable in class velosurf.model.Attribute
parent entity
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
entity - Variable in class velosurf.sql.PooledPreparedStatement
the resulting entity
Entity.FieldConstraintInfo - Class in velosurf.model
constraints
Entity.FieldConstraintInfo(String, FieldConstraint) - Constructor for class velosurf.model.Entity.FieldConstraintInfo
 
ENTITY_KEY - Static variable in class velosurf.validation.ValidationFilter
 
entityByTableName - Variable in class velosurf.sql.ReverseEngineer
map table->entity, valid only between readConfigFile and readMetaData
EntityReference - Class in velosurf.context
Context wrapper for an entity.
EntityReference(Entity) - Constructor for class velosurf.context.EntityReference
Builds a new EntityReference.
EntityReference(Entity, UserContext) - Constructor for class velosurf.context.EntityReference
Builds a new EntityReference.
entrySet() - Method in class velosurf.web.HttpQueryTool
 
Enumerator - Class in velosurf.util
Adapter class that wraps an Enumeration around a Java2 collection classes object Iterator so that existing APIs returning Enumerations can easily run on top of the new collections.
Enumerator(Collection) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values of the specified Collection.
Enumerator(Collection, boolean) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values of the specified Collection.
Enumerator(Iterator) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values returned by the specified Iterator.
Enumerator(Iterator, boolean) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values returned by the specified Iterator.
Enumerator(Map) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values of the specified Map.
Enumerator(Map, boolean) - Constructor for class velosurf.util.Enumerator
Return an Enumeration over the values of the specified Map.
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 - Variable in class velosurf.util.UserContext
 
ERROR_ID - Static variable in class velosurf.util.Logger
error messages loglevel
evaluate(ReadOnlyMap) - 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
ExportedKey - Class in velosurf.model
An exported key (aka primary key used in a foreign key) attribute
ExportedKey(String, Entity, String, List<String>) - Constructor for class velosurf.model.ExportedKey
 
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
Builds a new PlaiObjectWrapper
ExternalObjectWrapper.ClassInfo - Class in velosurf.context
 
ExternalObjectWrapper.ClassInfo(Class) - Constructor for class velosurf.context.ExternalObjectWrapper.ClassInfo
 
externalParams - Variable in class velosurf.context.DBReference
The map of external query parameters used by children attributes
extractColumnValues(ReadOnlyMap, Map) - Method in class velosurf.model.Entity
extract column values from an input DataAccessor source and store result in target
extraValues - Variable in class velosurf.web.HttpQueryTool
 

F

FastHttpDateFormat - Class in velosurf.util
Utility class to generate HTTP dates.
FastHttpDateFormat() - Constructor for class velosurf.util.FastHttpDateFormat
 
fatal(String) - Static method in class velosurf.util.Logger
logs a fatal error string
FATAL_ID - Static variable in class velosurf.util.Logger
fatal messages loglevel
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(ReadOnlyMap) - 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(ReadOnlyMap) - 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(ReadOnlyMap, 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
fetchLocalizer - Static variable in class velosurf.web.VelosurfTool
do we need to try to fetch the localizer object ?
fetchQuery - Variable in class velosurf.model.Entity
the SQL query used to fetch one instance of this entity
FieldConstraint - Class in velosurf.validation
This class encapsulates a constraint on a column of an entity, used to validate data before an update or an insert.
FieldConstraint() - Constructor for class velosurf.validation.FieldConstraint
 
filterID(Long) - Method in class velosurf.model.Entity
obfuscate this id value if needed
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.Velosurf
 
findExportedKey(Entity, List<String>) - Method in class velosurf.model.Entity
 
findImportedKey(Entity, List<String>) - Method in class velosurf.model.Entity
 
findMethod(String, Class[]) - Method in class velosurf.context.ExternalObjectWrapper
Tries to find a named method in the external object
findSupportedLocales(FilterConfig) - Method in class velosurf.web.l10n.LocalizationFilter
 
findTool(HttpSession, Class<T>) - Static method in class velosurf.util.ToolFinder
 
fkCols - Variable in class velosurf.model.ExportedKey
 
fkCols - Variable in class velosurf.model.ImportedKey
 
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
foreignKey - Variable in class velosurf.model.Attribute
if used, name of the foreign key
format - Static variable in class velosurf.util.FastHttpDateFormat
HTTP date format.
format - Static variable in class velosurf.util.Logger
date format for timestamps
formatCache - Static variable in class velosurf.util.FastHttpDateFormat
Formatter cache.
formatDate(long, DateFormat) - Static method in class velosurf.util.FastHttpDateFormat
Formats a specified date to HTTP format.
formats - Static variable in class velosurf.util.FastHttpDateFormat
The set of SimpleDateFormat formats to use in getDateHeader().
formats - Variable in class velosurf.util.SavedRequestWrapper
The set of SimpleDateFormat formats to use in getDateHeader().
FORWARD - Static variable in class velosurf.web.l10n.LocalizationFilter
 
FULL_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "full cache" mode

G

generateAnswer(String) - Method in class velosurf.web.auth.BaseAuthenticator
 
genericGetter - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
genericSetter - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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
Wrapper generic getter: tries first to get the property from the wrapped object, and falls back to the superclass if not found.
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(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 interface velosurf.sql.ReadOnlyMap
get the property named key
get(Object) - Method in class velosurf.sql.ReadOnlyWrapper
get the property named key in the wrapped Map
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(String) - Method in class velosurf.util.UserContext
generic getter
get(Object) - Method in class velosurf.Velosurf
 
get(Object) - Method in class velosurf.web.HttpQueryTool
 
get(Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
get(Object, Object...) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
get(Object, Object, Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
get(Object, Object, Object, Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
get(Object) - Method in interface velosurf.web.l10n.Localizer
 
get(Object, Object...) - Method in interface velosurf.web.l10n.Localizer
 
get(Object) - Method in class velosurf.web.l10n.SimpleDBLocalizer
 
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 root 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 root attribute
getAutoCommit() - Method in class velosurf.sql.ConnectionWrapper
 
getBestLocale(List<Locale>) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
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
 
getChallenge() - Method in class velosurf.web.auth.BaseAuthenticator
This method generates a new challenge each time it is called.
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.web.VelosurfTool
returns the existing Database for the specified config file, or null if it isn't already open.
getConnection(String, ServletContext) - Static method in class velosurf.web.VelosurfTool
returns the existing Database for the specified config file and servlet context, or null if an error occurs.
getCookies() - Method in class velosurf.util.SavedRequest
Returns list of cookies
getCookies() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getCookies() on the wrapped request object.
getCurrentDate() - Static method in class velosurf.util.FastHttpDateFormat
Gets the current date in HTTP format.
getDateHeader(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getDateHeader(String name) on the wrapped request object.
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.web.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.web.VelosurfTool
returns the existing Database for the default config file and servlet context, or null if an error occurs.
getDefaultInstance(UserContext) - Static method in class velosurf.web.VelosurfTool
returns a db reference the existing Database for the default config file, or null if it does not already exist.
getDefaultInstance() - Static method in class velosurf.web.VelosurfTool
returns a db reference the existing Database for the default config file, or null if it does not already exist.
getDefaultInstance(ServletContext, UserContext) - Static method in class velosurf.web.VelosurfTool
returns a db reference on the existing Database for the default config file and servlet context, or null if an error occurs.
getDefaultInstance(ServletContext) - Static method in class velosurf.web.VelosurfTool
 
getDelete() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getDriverInfo() - Method in class velosurf.sql.Database
get database vendor
getDriverInfo(String, String) - Static method in class velosurf.sql.DriverInfo
 
getDrivers() - Method in class velosurf.sql.DriverInfo
 
getEntities() - Method in class velosurf.sql.Database
 
getEntity() - Method in class velosurf.context.Instance
Get this Instance's Entity.
getEntity(String) - Method in class velosurf.sql.Database
get an existing entity
getEntityByTable(String, String) - Method in class velosurf.sql.ReverseEngineer
 
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.util.UserContext
 
getExportedKeyName(String) - Method in class velosurf.sql.ReverseEngineer
 
getExternal(Object) - Method in class velosurf.context.ExternalObjectWrapper
External getter: get a value on the external object
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
getFKCols() - Method in class velosurf.model.ExportedKey
 
getFKCols() - Method in class velosurf.model.ImportedKey
 
getGenericGetter() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getGenericSetter() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getGetter(String) - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getHeader(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getHeader(String name) on the wrapped request object.
getHeaderNames() - Method in class velosurf.util.SavedRequest
Returns iterator over header names
getHeaderNames() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getHeaderNames() on the wrapped request object.
getHeaders(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getHeaders(String name) on the wrapped request object.
getHeaderValues(String) - Method in class velosurf.util.SavedRequest
Returns iterator over header values
getHoldability() - Method in class velosurf.sql.ConnectionWrapper
 
getInitParameter(String) - Method in class velosurf.web.l10n.LocalizationFilter
 
getInitParameter(String, String) - Method in class velosurf.web.l10n.LocalizationFilter
 
getInsert() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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(ReadOnlyMap) - 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(ReadOnlyMap, 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
getInstance(InputStream, XIncludeResolver) - Static method in class velosurf.sql.Database
get a new connection
getInstance(String, UserContext) - Static method in class velosurf.web.VelosurfTool
returns a db reference on the existing Database for the specified config file, or null if it isn't already open.
getInstance(String) - Static method in class velosurf.web.VelosurfTool
returns a db reference on the existing Database for the specified config file, or null if it isn't already open.
getInstance(String, ServletContext, UserContext) - Static method in class velosurf.web.VelosurfTool
returns a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs.
getInstance(String, ServletContext) - Static method in class velosurf.web.VelosurfTool
returns a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs.
getInternal(Object) - Method in class velosurf.context.Instance
Internal getter: first tries on the external object then on the Map interface
getIntHeader(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getIntHeader(String name) on the wrapped request object.
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

getLastInsertedID(Entity) - Method in class velosurf.util.UserContext
 
getLastInsertID() - Method in class velosurf.context.EntityReference
Returns the ID of the last inserted row (obfuscated 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
getLocale() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getLocale() on the wrapped request object.
getLocale() - Method in class velosurf.util.UserContext
 
getLocale() - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
getLocale() - Method in interface velosurf.web.l10n.Localizer
 
getLocales() - Method in class velosurf.util.SavedRequest
Returns iterator over locales
getLocales() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getLocales() on the wrapped request object.
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
getMatchedLocale(String) - Method in class velosurf.web.l10n.LocalizationFilter
 
getMessage() - Method in class velosurf.validation.FieldConstraint
used to get the error message if an error occured
getMessage(Localizer, String, String) - Method in class velosurf.web.auth.AuthenticationFilter
 
getMetaData() - Method in class velosurf.sql.ConnectionWrapper
 
getMethod() - Method in class velosurf.util.SavedRequest
Returns request method
getMethod() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getMethod() on the wrapped request object.
getName() - Method in class velosurf.context.EntityReference
gets the name of the wrapped entity
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
getParameter(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getParameter(String name) on the wrapped request object.
getParameterMap() - Method in class velosurf.util.SavedRequest
Returns parameters
getParameterMap() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getParameterMap() on the wrapped request object.
getParameterNames() - Method in class velosurf.util.SavedRequest
Returns iterator over parameter names
getParameterNames() - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getParameterNames() on the wrapped request object.
getParameterValues(String) - Method in class velosurf.util.SavedRequest
Returns parameter values
getParameterValues(String) - Method in class velosurf.util.SavedRequestWrapper
The default behavior of this method is to return getParameterValues(String name) on the wrapped request object.
getPassword(String) - Method in class velosurf.web.auth.BaseAuthenticator
 
getPassword(String) - Method in class velosurf.web.auth.SimpleDBAuthenticator
 
getPathInfo() - Method in class velosurf.util.SavedRequest
Returns path info
getPingQuery() - Method in class velosurf.sql.DriverInfo
 
getPKCols() - Method in class velosurf.model.Entity
getter for the list of key column names
getPopulatedArrayList(int) - Static method in class velosurf.util.StringLists
builds an array list initially filled with size dummy objects
getPreferredLocale(List<Locale>) - Method in class velosurf.web.l10n.LocalizationFilter
 
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
 
getQuery() - Method in class velosurf.model.ExportedKey
 
getQuery() - Method in class velosurf.model.ImportedKey
 
getQueryString() - Method in class velosurf.util.SavedRequest
Returns query string
getRequestedLocales(HttpServletRequest) - Method in class velosurf.web.l10n.LocalizationFilter
 
getRequestURI() - Method in class velosurf.util.SavedRequest
Returns request URI
getRequestURL() - Method in class velosurf.util.SavedRequest
Gets uri with path info and query string
getResultEntity() - Method in class velosurf.model.Attribute
 
getReverseEngineer() - Method in class velosurf.sql.Database
 
getRootEntity() - Method in class velosurf.sql.Database
 
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
 
getSetter(String) - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getStatement() - Method in class velosurf.sql.StatementPool
gets a valid statement
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
getterCache - Variable in class velosurf.context.ExternalObjectWrapper
a cache for the wrapped object getter methods
getterMap - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getTransactionConnection() - Method in class velosurf.sql.Database
get the underlying jdbc connection used for transactions, and mark it right away as busy
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
 
getUpdate1() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
getUpdate2() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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
getUser(String) - Method in class velosurf.web.auth.BaseAuthenticator
 
getUser(String) - Method in class velosurf.web.auth.SimpleDBAuthenticator
 
getValidationErrors() - Method in class velosurf.util.UserContext
 
getWarnings() - Method in class velosurf.sql.ConnectionWrapper
 
getWriter() - Static method in class velosurf.util.Logger
get the output writer
GMT_ZONE - Static variable in class velosurf.util.SavedRequestWrapper
 
gmtZone - Static variable in class velosurf.util.FastHttpDateFormat
GMT timezone - all HTTP dates are on GMT
guessSupportedLocales(ServletContext, String) - Method in class velosurf.web.l10n.LocalizationFilter
 

H

handleSQLException(SQLException) - Method in class velosurf.context.Instance
handle an sql exception
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
hasLocale(Locale) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
hasLocale(Locale) - Method in class velosurf.web.l10n.SimpleDBLocalizer
 
hasLocalizedColumns() - Method in class velosurf.model.Entity
does this entity have localized columns ?
hasMoreElements() - Method in class velosurf.util.Enumerator
Tests if this enumeration contains more elements.
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 "
headers - Variable in class velosurf.util.SavedRequest
The set of Headers associated with this Request.
host - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
HTTPLocalizerTool - Class in velosurf.web.l10n
This class rely on the "Accepted-Language" HTTP header to detect the appropriate locale to be used.
HTTPLocalizerTool() - Constructor for class velosurf.web.l10n.HTTPLocalizerTool
 
HttpQueryTool - Class in velosurf.web
This class extends the tool org.apache.velocity.tools.view.tools.ParameterParser, adding a generic setter.
HttpQueryTool() - Constructor for class velosurf.web.HttpQueryTool
 

I

ID_FIELD_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
ID_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
idField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
IDGenerationMethod - Variable in class velosurf.sql.DriverInfo
 
ignorePattern - Variable in class velosurf.sql.DriverInfo
 
ignoreTable(String) - Method in class velosurf.sql.DriverInfo
 
ImportedKey - Class in velosurf.model
An imported key (aka foreign key) attribute
ImportedKey(String, Entity, String, List<String>) - Constructor for class velosurf.model.ImportedKey
 
include(Element) - Method in class velosurf.util.XIncludeResolver
 
info(String) - Static method in class velosurf.util.Logger
logs an info string
INFO_ID - Static variable in class velosurf.util.Logger
info messages loglevel
init(Database) - Method in class velosurf.context.DBReference
protected initialization method
init(Database, UserContext) - Method in class velosurf.context.DBReference
protected initialization method
init(String) - Method in interface velosurf.util.Cryptograph
 
init(String) - Method in class velosurf.util.DESCryptograph
 
init(ServletConfig) - Method in class velosurf.util.NullServlet
 
init(FilterConfig) - Method in class velosurf.util.TemplateNameFilter
init the filter
init(FilterConfig) - Method in class velosurf.validation.ValidationFilter
 
init(InputStream) - Method in class velosurf.Velosurf
 
init() - Method in class velosurf.Velosurf
 
init(FilterConfig) - Method in class velosurf.web.auth.AuthenticationFilter
 
init(Object) - Method in class velosurf.web.auth.BaseAuthenticator
 
init(Object) - Method in class velosurf.web.auth.SimpleDBAuthenticator
 
init(Object) - Method in class velosurf.web.HttpQueryTool
 
init(Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
init(FilterConfig) - Method in class velosurf.web.l10n.LocalizationFilter
 
init(Object) - Method in class velosurf.web.l10n.SimpleDBLocalizer
 
init(Object) - Method in class velosurf.web.VelosurfTool
Initializes this instance using the given ViewContext
initCryptograph() - Method in class velosurf.sql.Database
 
initialize(Entity) - Method in class velosurf.context.Instance
Meant to be overloaded if needed
initialized - Static variable in class velosurf.util.Logger
Did someone give me an otput writer ?
initialized - Variable in class velosurf.Velosurf
 
initLogging() - Method in class velosurf.Velosurf
 
innerCache - Variable in class velosurf.cache.Cache
the inner map that stores associations
innerMap - Variable in class velosurf.sql.ReadOnlyWrapper
the wrapped Map
insert(Map) - Method in class velosurf.context.EntityReference
Insert a new row in this entity's table.
insert - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
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(ReadOnlyMap) - 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
Build an empty instance for the given entity
Instance(ReadOnlyMap) - Constructor for class velosurf.context.Instance
 
instanceClass - Variable in class velosurf.model.Entity
the java class to use to realize this instance
internalParseDate(String, DateFormat[]) - Static method in class velosurf.util.FastHttpDateFormat
Parses date with given formatters.
inUse - Variable in class velosurf.sql.Pooled
is this object in use ?
invalidate(Object) - Method in class velosurf.cache.Cache
invalidates an entry (used after an insert or an update)
invalidateInstance(ReadOnlyMap) - Method in class velosurf.model.Entity
 
ioe - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
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.
isEmpty() - Method in class velosurf.web.HttpQueryTool
 
isInitialized() - Static method in class velosurf.util.Logger
queries the initialized state
isInUse() - Method in class velosurf.sql.Pooled
checks whether this pooled object is in use
isLocalized(String) - Method in class velosurf.model.Entity
returns whether the given column is obfuscated
isObfuscated(String) - Method in class velosurf.model.Entity
returns whether the given column is obfuscated
isReadOnly() - Method in class velosurf.model.Entity
Is this entity read-only or read-write?
isReadOnly() - Method in class velosurf.sql.ConnectionWrapper
 
isTransaction(Element) - Static method in class velosurf.sql.ConfigLoader
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)
isXIncludeElement(Element) - Method in class velosurf.util.XIncludeResolver
 
iterator() - Method in class velosurf.context.AttributeReference
Called by the #foreach directive.
iterator() - Method in class velosurf.context.EntityReference
Called by the #foreach directive.
iterator - Variable in class velosurf.util.Enumerator
The Iterator over which the Enumeration represented by this class actually operates.

J

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

K

keyColObfuscated - Variable in class velosurf.model.Entity
obfuscation status of key columns
keyCols - Variable in class velosurf.model.Entity
key column names in natural order
keys - Variable in class velosurf.cache.Cache.ArrayKey
the wrapped array
keySet() - Method in class velosurf.context.RowIterator
 
keySet() - Method in class velosurf.sql.PooledPreparedStatement
 
keySet() - Method in class velosurf.sql.PooledStatement
 
keySet() - Method in interface velosurf.sql.ReadOnlyMap
 
keySet() - Method in class velosurf.sql.ReadOnlyWrapper
 
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.
keySet() - Method in class velosurf.web.HttpQueryTool
 

L

lastInsertedIDs - Variable in class velosurf.util.UserContext
 
lastInsertIDQuery - Variable in class velosurf.sql.DriverInfo
 
lastReset - Variable in class velosurf.util.TemplateNameFilter
 
leaveBusyState() - Method in class velosurf.sql.ConnectionWrapper
 
Length - Class in velosurf.validation
A string length constraint.
Length(int, int) - Constructor for class velosurf.validation.Length
Constructor.
Length(int, int, String) - Constructor for class velosurf.validation.Length
Constructor.
lines - Static variable in class velosurf.util.Logger
 
LineWriterOutputStream - Class in velosurf.util
 
LineWriterOutputStream(Writer) - Constructor for class velosurf.util.LineWriterOutputStream
Construct a new LineWriterOutputStream, bound to the specified writer.
listFromEnum(Enumeration) - Static method in class velosurf.web.l10n.HTTPLocalizerTool
 
loadConfig(InputStream) - Method in class velosurf.sql.ConfigLoader
 
loadDriver() - Method in class velosurf.sql.Database
loads the appropriate driver
locale - Variable in class velosurf.util.UserContext
 
LOCALE_FIELD_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
LOCALE_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
localeField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
locales - Variable in class velosurf.util.SavedRequest
The set of Locales associated with this Request.
LocalizationFilter - Class in velosurf.web.l10n
Localization filter.
LocalizationFilter() - Constructor for class velosurf.web.l10n.LocalizationFilter
 
localize(String, Object...) - Method in class velosurf.util.UserContext
 
localized - Variable in class velosurf.context.Instance
is there a column to localize ?
LOCALIZED_TABLE_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
LOCALIZED_TABLE_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
localizedColumns - Variable in class velosurf.model.Entity
localized columns
localizedTable - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
localizer - Variable in class velosurf.util.UserContext
 
Localizer - Interface in velosurf.web.l10n
To be implemented by localizers used by the engine to get localized strings from their database id.
log - Static variable in class velosurf.util.Logger
log output printwriter
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
log - Variable in class velosurf.util.ServletLogWriter
the ServletContext object used to log
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
 
LOGIN_PARAMETER_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
LOGIN_PARAMETER_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
loginParameter - Variable in class velosurf.web.auth.SimpleDBAuthenticator
 
logLevel - Static variable in class velosurf.util.Logger
Current log level
LOWERCASE - Static variable in class velosurf.sql.Database
 

M

main(String[]) - Static method in class velosurf.util.DESCryptograph
 
map - Variable in class velosurf.util.HashMultiMap
inner map
maxConnections - Variable in class velosurf.sql.Database
 
maxStatements - Static variable in class velosurf.sql.PreparedStatementPool
max number of statements
maxStatements - Static variable in class velosurf.sql.StatementPool
maximum number of statements
method - Variable in class velosurf.util.SavedRequest
The request method used on this Request.
method - Variable in class velosurf.web.auth.BaseAuthenticator
 
minConnections - Variable in class velosurf.sql.Database
 
MultiMap - Interface in velosurf.util
A MultiMap is a Map allowing multiple occurrences of keys.

N

name - Variable in class velosurf.model.Action
the name of this action
name - Variable in class velosurf.model.Attribute
name
name - Variable in class velosurf.model.Entity
name
name - Variable in class velosurf.sql.DriverInfo
 
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(ReadOnlyMap) - 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.
nextElement() - Method in class velosurf.util.Enumerator
Returns the next element of this enumeration if this enumeration has at least one more element to provide.
NO_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "no cache" mode
noSuchMethod - Static variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
NotEmpty - Class in velosurf.validation
A "not empty" constraint.
NotEmpty() - Constructor for class velosurf.validation.NotEmpty
Default constructor.
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
NotNull - Class in velosurf.validation
A "not null" constraint.
NotNull() - Constructor for class velosurf.validation.NotNull
Default constructor.
NullServlet - Class in velosurf.util
A null servlet, provided here for convenience, that will redirect the user to the forbidden uri (if provided in the init parameter "forbidden-uri") or respond with the FORBIDDEN error code.
NullServlet() - Constructor for class velosurf.util.NullServlet
 

O

obfuscate(Object) - Method in class velosurf.context.DBReference
obfuscate the given value
obfuscate - Variable in class velosurf.model.Entity
whether to obfuscate something
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
obfuscatedColumns - Variable in class velosurf.model.Entity
names of obfuscated columns
OLD_DEFAULT_DATABASE_CONFIG_FILE - Static variable in class velosurf.web.VelosurfTool
old default database config file
oldStderr - Static variable in class velosurf.util.Logger
stderr old value
oldStdout - Static variable in class velosurf.util.Logger
stdout old value
OneOf - Class in velosurf.validation
An enumeration constraint.
OneOf(List) - Constructor for class velosurf.validation.OneOf
Constructor.
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
order - Variable in class velosurf.context.AttributeReference
Specified 'order by' clause specified for this attribute reference.
order - Variable in class velosurf.context.EntityReference
specified order
orderQuery(String, String) - Static method in class velosurf.sql.SqlUtil
 

P

parameters - Variable in class velosurf.util.SavedRequest
The set of request parameters associated with this Request.
paramNames - Variable in class velosurf.model.Action
parameter names of this action
paramNames - Variable in class velosurf.model.Attribute
list of the parameter names
paramNamesList - Variable in class velosurf.model.Transaction
list of lists of parameter names
parseCache - Static variable in class velosurf.util.FastHttpDateFormat
Parser cache.
parseCaching(String) - Static method in class velosurf.sql.ConfigLoader
parse a caching value
parseDate(String, DateFormat[]) - Static method in class velosurf.util.FastHttpDateFormat
Tries to parse the given date as an HTTP date.
password - Variable in class velosurf.sql.Database
database user's password
PASSWORD_FIELD_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
PASSWORD_FIELD_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
passwordField - Variable in class velosurf.web.auth.SimpleDBAuthenticator
 
pathInfo - Variable in class velosurf.util.SavedRequest
The request pathInfo associated with this Request.
perform(ReadOnlyMap) - Method in class velosurf.model.Action
executes this action
perform(ReadOnlyMap) - Method in class velosurf.model.Transaction
performs this action
pingQuery - Variable in class velosurf.sql.DriverInfo
 
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 - Variable in class velosurf.context.RowIterator
the statement
PooledStatement - Class in velosurf.sql
this class encapsulates a jdbc Statement
PooledStatement(ConnectionWrapper, Statement) - Constructor for class velosurf.sql.PooledStatement
builds a new PooledStatement
port - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
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
 
preparedStatement - Variable in class velosurf.sql.PooledPreparedStatement
wrapped prepared statement
preparedStatementPool - Variable in class velosurf.sql.Database
pool of prepared statements
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
Wrapper generic setter: tries first to set the property into the wrapped object, and falls back to the superclass if not found.
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
 
put(Object, Object) - Method in class velosurf.web.HttpQueryTool
 
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.
putAll(Map) - Method in class velosurf.web.HttpQueryTool
 

Q

queries - Variable in class velosurf.model.Transaction
all the queries
query - Variable in class velosurf.model.Action
query of this action
query - Variable in class velosurf.model.Attribute
attribute query
query(ReadOnlyMap) - Method in class velosurf.model.Attribute
query the resultset for this multivalued attribute
query(ReadOnlyMap, 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 - Variable in class velosurf.sql.PooledStatement
SQL query
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
queryString - Variable in class velosurf.util.SavedRequest
The query string associated with this Request.

R

Range - Class in velosurf.validation
A type and range constraint on numbers.
Range() - Constructor for class velosurf.validation.Range
Constructor.
readConfigFile(InputStream, XIncludeResolver) - Method in class velosurf.sql.Database
read configuration from the given input stream
readForeignKeys(DatabaseMetaData, Entity, String) - Method in class velosurf.sql.ReverseEngineer
 
readLocales(ServletContext) - Static method in class velosurf.web.l10n.SimpleDBLocalizer
 
readMetaData() - Method in class velosurf.sql.ReverseEngineer
read the meta data from the database : reverse engeenering
readOnly - Variable in class velosurf.model.Entity
whether this entity is read-only or not
readOnly - Variable in class velosurf.sql.Database
default access mode
readOnlyMap - Variable in class velosurf.context.AttributeReference
The data accessor this attribute reference applies to.
ReadOnlyMap - Interface in velosurf.sql
This interface represents objects having read-only properties
ReadOnlyWrapper - Class in velosurf.sql
This class encapsulates a Map as a DataAccessor
ReadOnlyWrapper(Map) - Constructor for class velosurf.sql.ReadOnlyWrapper
builds a new MapDataAccessor
readStream(InputStream) - Method in class velosurf.util.XIncludeResolver
 
readTableMetaData(DatabaseMetaData, Entity, String) - Method in class velosurf.sql.ReverseEngineer
 
REDIRECT - Static variable in class velosurf.web.l10n.LocalizationFilter
 
Reference - Class in velosurf.validation
A foreign key constraint.
Reference(Database, String, String) - Constructor for class velosurf.validation.Reference
Constructor.
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).
refineCriteria - Variable in class velosurf.context.AttributeReference
Specified refining criteria defined on this attribute reference.
refineCriteria - Variable in class velosurf.context.EntityReference
specified refining criteria
refineQuery(String, List) - Static method in class velosurf.sql.SqlUtil
 
reformat(String, String) - Static method in class velosurf.validation.DateRange
 
Regex - Class in velosurf.validation
A regular expression pattern constraint.
Regex(Pattern) - Constructor for class velosurf.validation.Regex
Constructor.
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.
remove(Object) - Method in class velosurf.web.HttpQueryTool
 
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
requestURI - Variable in class velosurf.util.SavedRequest
The request URI associated with this Request.
RESET_MANUAL - Static variable in class velosurf.util.TemplateNameFilter
 
RESET_NONE - Static variable in class velosurf.util.TemplateNameFilter
 
RESET_PERIODIC - Static variable in class velosurf.util.TemplateNameFilter
 
resetMethod - Variable in class velosurf.util.TemplateNameFilter
 
resetPeriod - Variable in class velosurf.util.TemplateNameFilter
 
resetTagTime() - Method in class velosurf.sql.Pooled
reset the time tag
resetUri - Variable in class velosurf.util.TemplateNameFilter
 
resolve(Document) - Method in class velosurf.util.XIncludeResolver
 
resolveChildren(Element) - Method in class velosurf.util.XIncludeResolver
 
resolveMXDNS(String) - Method in class velosurf.validation.Email
 
resultEntity - Variable in class velosurf.context.RowIterator
the resulting entity
resultEntity - Variable in class velosurf.model.Attribute
for row and rowset attributes, the resulting entity (if specified)
resultSet - Variable in class velosurf.context.RowIterator
the result set
resultSet - Variable in class velosurf.sql.PooledPreparedStatement
the result set
resultSet - Variable in class velosurf.sql.PooledStatement
result set
REVERSE_FULL - Static variable in class velosurf.sql.ReverseEngineer
 
REVERSE_NONE - Static variable in class velosurf.sql.ReverseEngineer
reverse-enginering modes
REVERSE_PARTIAL - Static variable in class velosurf.sql.ReverseEngineer
 
REVERSE_TABLES - Static variable in class velosurf.sql.ReverseEngineer
 
reverseEngineer - Variable in class velosurf.sql.Database
 
ReverseEngineer - Class in velosurf.sql
Class used to reverse engine a database
ReverseEngineer(Database) - Constructor for class velosurf.sql.ReverseEngineer
constructor
reverseEnginered() - Method in class velosurf.model.Entity
Used by the framework to notify this entity that its reverse enginering is over
reverseMode - Variable in class velosurf.sql.ReverseEngineer
 
reverseModeName - Static variable in class velosurf.sql.ReverseEngineer
 
rollback() - Method in class velosurf.sql.ConnectionWrapper
 
rollback(Savepoint) - Method in class velosurf.sql.ConnectionWrapper
 
rootEntity - Variable in class velosurf.sql.Database
root entity that contains all root attributes and actions
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
run() - Method in class velosurf.validation.Email.FastTimeoutConnect
 
running - Variable in class velosurf.sql.PreparedStatementPool
true if running
running - Variable in class velosurf.sql.StatementPool
is the thread running ?

S

SavedRequest - Class in velosurf.util
Object that saves the critical information from a request so that form-based authentication can reproduce it once the user has been authenticated.
SavedRequest() - Constructor for class velosurf.util.SavedRequest
 
savedRequest - Variable in class velosurf.util.SavedRequestWrapper
 
SavedRequestWrapper - Class in velosurf.util
This class provides request parameters, headers, cookies from original requrest or saved request.
SavedRequestWrapper(HttpServletRequest) - Constructor for class velosurf.util.SavedRequestWrapper
 
saveRequest(HttpServletRequest) - Static method in class velosurf.util.SavedRequest
This method provides ability to create SavedRequest from HttpServletRequest
SCALAR - Static variable in class velosurf.model.Attribute
constant meaning the result is a scalar
schema - Variable in class velosurf.sql.Database
schema
schemaQuery - Variable in class velosurf.sql.DriverInfo
 
SECONDS_IN_YEAR - Static variable in class velosurf.web.l10n.LocalizationFilter
 
seed - Variable in class velosurf.sql.Database
random seed used to initialize the cryptograph
servletContext - Variable in class velosurf.util.TemplateNameFilter
 
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
setAfterDate(Date) - Method in class velosurf.validation.DateRange
 
setAutoCommit(boolean) - Method in class velosurf.sql.ConnectionWrapper
 
setBeforeDate(Date) - Method in class velosurf.validation.DateRange
 
setCaching(int) - Method in class velosurf.sql.Database
 
setCachingMethod(int) - Method in class velosurf.model.Entity
Specify the caching method, see Cache for allowed constants.
setCase(int) - Method in class velosurf.sql.Database
 
setCatalog(String) - Method in class velosurf.sql.ConnectionWrapper
 
setConfigFile(String) - Method in class velosurf.Velosurf
 
setDatabaseAttributes(Element) - Method in class velosurf.sql.ConfigLoader
 
setDateFormat(SimpleDateFormat) - Method in class velosurf.validation.DateRange
 
setDisplayTimestamps(boolean) - Static method in class velosurf.util.Logger
whether to display timestamps
setDriver(String) - Method in class velosurf.sql.Database
 
setDriverInfo(DriverInfo) - Method in class velosurf.sql.ReverseEngineer
 
setError(String) - Method in class velosurf.util.UserContext
 
setFKCols(List<String>) - Method in class velosurf.model.ExportedKey
 
setFKCols(List<String>) - Method in class velosurf.model.ImportedKey
 
setForeignKeyColumn(String) - Method in class velosurf.model.Attribute
 
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
setInteger(boolean) - Method in class velosurf.validation.Range
 
setInvalid() - Method in class velosurf.sql.Pooled
definitely mark this statement as meant to be deleted
setLastInsertedID(Entity, long) - Method in class velosurf.util.UserContext
 
setLocale(Locale) - Method in class velosurf.util.UserContext
 
setLocale(Locale) - Method in class velosurf.web.l10n.HTTPLocalizerTool
 
setLocale(Locale) - Method in interface velosurf.web.l10n.Localizer
 
setLocale(Locale) - Method in class velosurf.web.l10n.SimpleDBLocalizer
 
setLocalized(List) - Method in class velosurf.model.Entity
indicates a column as being localized
setLocalizer(Localizer) - Method in class velosurf.util.UserContext
 
setLogLevel(int) - Static method in class velosurf.util.Logger
Sets the log level
setMax(Number) - Method in class velosurf.validation.Range
 
setMaxConnections(int) - Method in class velosurf.sql.Database
 
setMaxLength(int) - Method in class velosurf.validation.Length
 
setMessage(String) - Method in class velosurf.validation.FieldConstraint
 
setMethod(String) - Method in class velosurf.util.SavedRequest
Sets request method
setMin(Number) - Method in class velosurf.validation.Range
 
setMinConnections(int) - Method in class velosurf.sql.Database
 
setMinLength(int) - Method in class velosurf.validation.Length
 
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.
setParamNamesLists(List<List<String>>) - Method in class velosurf.model.Transaction
 
setParams(List) - Method in class velosurf.sql.PooledPreparedStatement
set prepared parameter values
setPassword(String) - Method in class velosurf.sql.Database
 
setPathInfo(String) - Method in class velosurf.util.SavedRequest
Sets path info
setQueries(List<String>) - Method in class velosurf.model.Transaction
 
setQuery(String) - Method in class velosurf.model.Action
 
setQuery(String) - Method in class velosurf.model.Attribute
 
setQueryString(String) - Method in class velosurf.util.SavedRequest
Sets query string
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
 
setReadOnly(boolean) - Method in class velosurf.sql.Database
 
setRequestURI(String) - Method in class velosurf.util.SavedRequest
Sets request URI
setResultEntity(String) - Method in class velosurf.model.Attribute
 
setResultType(int) - Method in class velosurf.model.Attribute
 
setReverseMode(int) - Method in class velosurf.sql.ReverseEngineer
 
setSavepoint() - Method in class velosurf.sql.ConnectionWrapper
 
setSavepoint(String) - Method in class velosurf.sql.ConnectionWrapper
 
setSchema(String) - Method in class velosurf.sql.Database
 
setSeed(String) - Method in class velosurf.sql.Database
 
setTableName(String) - Method in class velosurf.model.Entity
set the name of the table mapped by this entity
setterCache - Variable in class velosurf.context.ExternalObjectWrapper
a cache for the wrapped object setter methods
setterMap - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
setTransactionIsolation(int) - Method in class velosurf.sql.ConnectionWrapper
 
setTypeMap(Map) - Method in class velosurf.sql.ConnectionWrapper
 
setURL(String) - Method in class velosurf.sql.Database
 
setUser(String) - Method in class velosurf.sql.Database
 
setUserContext(UserContext) - Method in class velosurf.context.Instance
set this instance user context (thread local)
setUserContext(UserContext) - Method in class velosurf.context.RowIterator
set the localizer to be used to build instances
setWriter(Object) - Static method in class velosurf.util.Logger
set the output writer
sharedCatalog - Static variable in class velosurf.sql.Database
Shared catalog, to share entities among instances.
SimpleDBAuthenticator - Class in velosurf.web.auth
Authenticator basic implementation.
SimpleDBAuthenticator() - Constructor for class velosurf.web.auth.SimpleDBAuthenticator
 
SimpleDBLocalizer - Class in velosurf.web.l10n
A basic database based Localizer implementation.
SimpleDBLocalizer() - Constructor for class velosurf.web.l10n.SimpleDBLocalizer
 
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.
size() - Method in class velosurf.web.HttpQueryTool
 
sizeAll - Variable in class velosurf.util.HashMultiMap
total number of values
socket - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
SOFT_CACHE - Static variable in class velosurf.cache.Cache
constant used to specify the "soft cache" mode
sortColumns(List<String>, List<String>, List<String>) - Method in class velosurf.sql.ReverseEngineer
 
SqlUtil - Class in velosurf.sql
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
statement - Variable in class velosurf.sql.PooledStatement
wrapped statement
statementPool - Variable in class velosurf.sql.Database
pool of statements
StatementPool - Class in velosurf.sql
This class is a pool of PooledStatements
StatementPool(ConnectionPool) - Constructor for class velosurf.sql.StatementPool
builds a new pool
statements - Variable in class velosurf.sql.StatementPool
statements
statementsMap - Variable in class velosurf.sql.PreparedStatementPool
map queries -> statements
stopCaptureStderr() - Static method in class velosurf.util.Logger
stops redirecting stderr
stopCaptureStdout() - Static method in class velosurf.util.Logger
stop redirecting stdout
STRING_FIELD_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
STRING_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
stringField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
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

table - Variable in class velosurf.model.Entity
table
tagTime - Variable in class velosurf.sql.Pooled
time tag
templateExtension - Variable in class velosurf.util.TemplateNameFilter
 
TemplateNameFilter - Class in velosurf.util
This class is a forwarding filter which allows to hide ".vtl" from resource URLs.
TemplateNameFilter() - Constructor for class velosurf.util.TemplateNameFilter
 
templates - Variable in class velosurf.util.TemplateNameFilter
 
timeout - Static variable in class velosurf.sql.PreparedStatementPool
after this timeout, statements are recycled even if not closed
timeout - Static variable in class velosurf.sql.StatementPool
timeout on which statements are automatically recycled if not used
timeout - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
ToolFinder - Class in velosurf.util
An utility class used to find a tool in the toolbox.
ToolFinder() - Constructor for class velosurf.util.ToolFinder
 
toolsMapKey - Static variable in class velosurf.util.ToolFinder
 
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
toString() - Method in class velosurf.validation.DateRange
 
toString() - Method in class velosurf.validation.Email
 
toString() - Method in class velosurf.validation.Length
 
toString() - Method in class velosurf.validation.NotEmpty
 
toString() - Method in class velosurf.validation.NotNull
 
toString() - Method in class velosurf.validation.OneOf
 
toString() - Method in class velosurf.validation.Range
 
toString() - Method in class velosurf.validation.Reference
 
toString() - Method in class velosurf.validation.Regex
 
trace(String) - Static method in class velosurf.util.Logger
logs a tracing string
TRACE_ID - Static variable in class velosurf.util.Logger
trace messages loglevel
Transaction - Class in velosurf.model
This class is an action that gather several consecutive queries
Transaction(String, Entity) - Constructor for class velosurf.model.Transaction
Builds a new transaction
transactionConnectionPool - Variable in class velosurf.sql.Database
Pool of connections for transactions
transactionPrepare(String) - Method in class velosurf.sql.Database
prepare a query which is part of a transaction
transactionPreparedStatementPool - Variable in class velosurf.sql.Database
pool of prepared statements for transactions
transactionStatementPool - Variable in class velosurf.sql.Database
pool of statements for transactions
transactionUpdate(String) - Method in class velosurf.sql.Database
issue an update query that is part of a transaction
trimmed - Static variable in class velosurf.util.Strings
characters to trim
trimSpacesAndEOF(String) - Static method in class velosurf.util.Strings
trim spaces and EOL characters (TODO : fix the typo - nothing to do with EOF characters)
type - Variable in class velosurf.model.Attribute
attribute type

U

uhe - Variable in class velosurf.validation.Email.FastTimeoutConnect
 
UNDEFINED - Static variable in class velosurf.model.Attribute
constant meaning the return type is undefined
unwrap() - Method in class velosurf.context.ExternalObjectWrapper
Returns the underlying external object
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(ReadOnlyMap) - Method in class velosurf.model.Entity
update a row based on a set of values that must contain kety values
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
update1 - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
update2 - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
 
updateCache(HashMap, Object, Object) - Static method in class velosurf.util.FastHttpDateFormat
Updates cache.
UPPERCASE - Static variable in class velosurf.sql.Database
 
url - Variable in class velosurf.sql.Database
database url
useOver - Variable in class velosurf.sql.Pooled
is the usage of this object over ?
user - Variable in class velosurf.sql.Database
database user
USER_BY_LOGIN_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
USER_BY_LOGIN_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
 
USER_CONTEXT_KEY - Static variable in class velosurf.util.UserContext
key used to store the user context in the http session
userByLogin - Variable in class velosurf.web.auth.SimpleDBAuthenticator
 
userContext - Variable in class velosurf.context.AttributeReference
user context
userContext - Variable in class velosurf.context.DBReference
a reference to the user context
userContext - Variable in class velosurf.context.EntityReference
user context to give to created instances
userContext - Variable in class velosurf.context.Instance
thread-local user context
userContext - Variable in class velosurf.context.RowIterator
user context
UserContext - Class in velosurf.util
Used to store contextual values relatives to the user (in a web context, there is one UserContext per http session)
UserContext() - Constructor for class velosurf.util.UserContext
 

V

valid - Variable in class velosurf.sql.Pooled
valid statement ?
validate(Map) - Method in class velosurf.context.EntityReference
 
validate() - Method in class velosurf.context.Instance
validate this instance against declared contraints
validate(ReadOnlyMap, UserContext) - Method in class velosurf.model.Entity
validate a set of values
validate(Object, Locale) - Method in class velosurf.validation.DateRange
 
validate(Object) - Method in class velosurf.validation.Email
 
validate(Object, Locale) - Method in class velosurf.validation.FieldConstraint
used to validate data against this constraint
validate(Object) - Method in class velosurf.validation.FieldConstraint
 
validate(Object) - Method in class velosurf.validation.Length
 
validate(Object) - Method in class velosurf.validation.NotEmpty
 
validate(Object) - Method in class velosurf.validation.NotNull
 
validate(Object) - Method in class velosurf.validation.OneOf
 
validate(Object) - Method in class velosurf.validation.Range
 
validate(Object) - Method in class velosurf.validation.Reference
 
validate(Object) - Method in class velosurf.validation.Regex
 
validationErrors - Variable in class velosurf.util.UserContext
 
ValidationFilter - Class in velosurf.validation
This class is an optional filter that will validate query data according to the "velosurf.entity" query parameter (may be multivalued).
ValidationFilter() - Constructor for class velosurf.validation.ValidationFilter
 
valueParserSubClass - Static variable in class velosurf.sql.PooledPreparedStatement
 
values() - Method in class velosurf.web.HttpQueryTool
 
velosurf - package velosurf
 
Velosurf - Class in velosurf
this class is the Velosurf main entry class if you do not use the toolbox.xml mechanism.
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.util - package velosurf.util
Gather miscellanous utility classes.
velosurf.validation - package velosurf.validation
 
velosurf.web - package velosurf.web
Contains the velocity-tools version of the Velosurf tool, plus an http query parameter parser tool.
velosurf.web.auth - package velosurf.web.auth
 
velosurf.web.l10n - package velosurf.web.l10n
 
VelosurfTool - Class in velosurf.web
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.web.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
warn messages loglevel
wrapped - Variable in class velosurf.context.ExternalObjectWrapper
the wrapped object
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.

X

XIncludeResolver - Class in velosurf.util
A basic JDOM XInclude resolver that will also work with a document base inside WEB-INF and with war archives
XIncludeResolver(String, ServletContext) - Constructor for class velosurf.util.XIncludeResolver
 
XIncludeResolver(String) - Constructor for class velosurf.util.XIncludeResolver
 

Y

y4 - Static variable in class velosurf.validation.DateRange
 
ymd - Static variable in class velosurf.validation.DateRange
 

_

_after - Variable in class velosurf.validation.DateRange
 
_authenticatedIndexPage - Variable in class velosurf.web.auth.AuthenticationFilter
 
_autocommit - Variable in class velosurf.sql.ConnectionPool
 
_badLoginMessage - Variable in class velosurf.web.auth.AuthenticationFilter
 
_badLoginMsgKey - Variable in class velosurf.web.auth.AuthenticationFilter
 
_before - Variable in class velosurf.validation.DateRange
 
_column - Variable in class velosurf.validation.Reference
 
_config - Variable in class velosurf.web.auth.AuthenticationFilter
 
_config - Variable in class velosurf.web.l10n.LocalizationFilter
 
_config - Variable in class velosurf.web.l10n.SimpleDBLocalizer
 
_connections - Variable in class velosurf.sql.ConnectionPool
 
_currentStrings - Variable in class velosurf.web.l10n.SimpleDBLocalizer
 
_database - Variable in class velosurf.sql.ConfigLoader
 
_db - Variable in class velosurf.validation.Reference
 
_defaultBadLoginMessage - Static variable in class velosurf.web.auth.AuthenticationFilter
 
_defaultDisconnectedMessage - Static variable in class velosurf.web.auth.AuthenticationFilter
 
_defaultInspectUri - Static variable in class velosurf.web.l10n.LocalizationFilter
 
_defaultLocale - Variable in class velosurf.web.l10n.LocalizationFilter
 
_defaultMatchUri - Static variable in class velosurf.web.l10n.LocalizationFilter
 
_defaultRewriteUri - Static variable in class velosurf.web.l10n.LocalizationFilter
 
_disconnectedMessage - Variable in class velosurf.web.auth.AuthenticationFilter
 
_disconnectedMsgKey - Variable in class velosurf.web.auth.AuthenticationFilter
 
_dnsCheck - Variable in class velosurf.validation.Email
 
_driver - Variable in class velosurf.sql.ConnectionPool
 
_forbiddenUri - Variable in class velosurf.util.NullServlet
 
_initialized - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
_inspectUri - Variable in class velosurf.web.l10n.LocalizationFilter
 
_integer - Variable in class velosurf.validation.Range
 
_intPattern - Static variable in class velosurf.validation.Range
 
_l10nMethod - Variable in class velosurf.web.l10n.LocalizationFilter
 
_locale - Variable in class velosurf.web.l10n.HTTPLocalizerTool
 
_localeStrings - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
 
_loginPage - Variable in class velosurf.web.auth.AuthenticationFilter
 
_matchUri - Variable in class velosurf.web.l10n.LocalizationFilter
 
_max - Variable in class velosurf.sql.ConnectionPool
 
_max - Variable in class velosurf.validation.Range
 
_maxInactive - Variable in class velosurf.web.auth.AuthenticationFilter
 
_maxLen - Variable in class velosurf.validation.Length
 
_message - Variable in class velosurf.validation.FieldConstraint
 
_min - Variable in class velosurf.sql.ConnectionPool
 
_min - Variable in class velosurf.validation.Range
 
_minLen - Variable in class velosurf.validation.Length
 
_needObfuscator - Variable in class velosurf.sql.ConfigLoader
 
_password - Variable in class velosurf.sql.ConnectionPool
 
_pattern - Variable in class velosurf.validation.Regex
 
_random - Static variable in class velosurf.web.auth.BaseAuthenticator
 
_resolveLocale - Variable in class velosurf.web.auth.AuthenticationFilter
Whether _indexPage, _loginPage or _authenticatedIndexPage contains a @ to be resolved.
_rewriteUri - Variable in class velosurf.web.l10n.LocalizationFilter
 
_schema - Variable in class velosurf.sql.ConnectionPool
 
_smtpCheck - Variable in class velosurf.validation.Email
 
_supportedLocales - Variable in class velosurf.web.l10n.LocalizationFilter
 
_table - Variable in class velosurf.validation.Reference
 
_url - Variable in class velosurf.sql.ConnectionPool
 
_user - Variable in class velosurf.sql.ConnectionPool
 
_validEmail - Static variable in class velosurf.validation.Email
 
_values - Variable in class velosurf.validation.OneOf
 
_xincludeResolver - Variable in class velosurf.sql.ConfigLoader
 

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

~ooOoo~