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 corresponds to custom update, delete and insert queries.
Action(String, Entity) - Constructor for class velosurf.model.Action
Constructor.
actionMap - Variable in class velosurf.model.Entity
Action map.
adaptCase(String) - Method in class velosurf.sql.ConfigLoader
Adapt the case to match chosen database case policy.
adaptCase(String) - Method in class velosurf.sql.Database
Changes to lowercase or uppercase if needed.
adaptCase(String) - Method in class velosurf.sql.ReverseEngineer
adapt case
adaptContextCase(String) - Static method in class velosurf.sql.Database
Adapt a string to the context case.
addAction(Action) - Method in class velosurf.model.Entity
Add an action.
addAlias(String, String) - Method in class velosurf.model.Entity
Add a column alias.
addAttribute(Attribute) - Method in class velosurf.model.Entity
Add a new attribute.
addColumn(String, int) - Method in class velosurf.model.Entity
Add a column at the end of the sequential list of named columns.
addConstraint(String, FieldConstraint) - Method in class velosurf.model.Entity
Add a constraint.
addCookie(Cookie) - Method in class velosurf.util.SavedRequest
Adds cookie to list of cookies.
addDriver(String, String, String[], String, String, String, String, String, String) - Static method in class velosurf.sql.DriverInfo
Add a new driver.
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
Add a new exported key.
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
Add a new imported key.
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
Add a parameter name.
addParamName(String) - Method in class velosurf.model.Attribute
Adds a parameter name.
addPKColumn(String) - Method in class velosurf.model.Entity
Add a key column to the sequential list of the key columns.
addTableMatching(String, Entity) - Method in class velosurf.sql.ReverseEngineer
add a table <-> entity matching.
addValidationError(String) - Method in class velosurf.util.UserContext
Add a validation error.
after - Variable in class velosurf.validation.DateRange
afer date
aliases - Variable in class velosurf.model.Entity
Column by alias map.
allowGuest - Variable in class velosurf.web.auth.AuthenticationFilter
Should we use the referer to login.do?
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
Constructor.
attributeMap - Variable in class velosurf.model.Entity
Attribute map.
AttributeReference - Class in velosurf.context
Context wrapper for attributes.
AttributeReference(Map<String, Object>, Attribute) - Constructor for class velosurf.context.AttributeReference
Constructor.
attributeResultSyntax - Static variable in class velosurf.sql.ConfigLoader
Syntax checker pattern for the result attribute of <attribute> tags.
authenticatedIndexPage - Variable in class velosurf.web.auth.AuthenticationFilter
Index of the authenticated zone.
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
 
autocommit - Variable in class velosurf.sql.ConnectionPool
autocommit flag

B

badLogin(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
badLoginMessage - Variable in class velosurf.web.auth.AuthenticationFilter
Message in case of bad login.
badLoginMsgKey - Variable in class velosurf.web.auth.AuthenticationFilter
Message key in case of bad login.
base - Variable in class velosurf.util.XIncludeResolver
base directory
BaseAuthenticator - Class in velosurf.web.auth
This abstract class implements an authentication mechanism.
BaseAuthenticator() - Constructor for class velosurf.web.auth.BaseAuthenticator
 
before - Variable in class velosurf.validation.DateRange
before date
body - Variable in class velosurf.util.MailNotifier.Notification
 
buffer - Variable in class velosurf.util.LineWriterOutputStream
buffer
buildArrayList(Map<String, Object>) - Method in class velosurf.model.Action
Get the list of values for all parameters.
buildArrayList(Map<String, Object>) - Method in class velosurf.model.Attribute
Builds the list of parameter values.
buildFetchQuery() - Method in class velosurf.model.Entity
Build the SQL query used to fetch one instance of this query.
buildKey(Map<String, Object>) - Method in class velosurf.model.Entity
Build the key for the Cache from a Map.
buildKey(List<Object>) - Method in class velosurf.model.Entity
Build the key for the Cache from a List
buildKey(Number) - Method in class velosurf.model.Entity
Build the key for the Cache from a Number
buildsTemplateNamesList(HttpServletResponse) - Method in class velosurf.util.TemplateNameFilter
Deprecated. Build the cache, which consists of a hash set containing all template names.
busy - Variable in class velosurf.sql.ConnectionWrapper
Busy state.

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.
cache - Variable in class velosurf.model.Entity
The cache.
Cache.ArrayKey - Class in velosurf.cache
ArrayKey is a simple wrapper that provides a field-to-field equal method between encapsulated arrays.
Cache.ArrayKey(Object[]) - Constructor for class velosurf.cache.Cache.ArrayKey
Constructor.
cachedSet - Variable in class velosurf.context.RowIterator
 
caching - Variable in class velosurf.model.Attribute
Caching
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
'sensitive' case-sensitive policy.
CASE_UNKNOWN - Static variable in class velosurf.sql.Database
'unknown' case-sensitive policy.
caseSensivity - Variable in class velosurf.sql.Database
Case-sensivity.
caseSensivity - Variable in class velosurf.sql.DriverInfo
case-sensivity
challenge - Variable in class velosurf.web.auth.BaseAuthenticator
challenge value
CHALLENGE_LENGTH - Static variable in class velosurf.web.auth.BaseAuthenticator
length of challenge
check() - Method in class velosurf.sql.ConnectionWrapper
Check connection.
checkConnections - Variable in class velosurf.sql.Database
Default connections checking
checkConnections - Variable in class velosurf.sql.PreparedStatementPool
do we need to check connections?
checkConnections - Variable in class velosurf.sql.StatementPool
do we need to check connections?
checkDNS(String) - Static method in class velosurf.util.DNSResolver
check DNS.
checkDNS(String, boolean) - Static method in class velosurf.util.DNSResolver
check DNS.
checkInterval - Variable in class velosurf.sql.Database
Default check interval
checkInterval - Variable in class velosurf.sql.PreparedStatementPool
minimal check interval
checkInterval - Variable in class velosurf.sql.StatementPool
minimal check interval
checkLocaleChange() - Method in class velosurf.web.l10n.HTTPLocalizerTool
Check that the locale has not changed in the session.
checkLogin(String, String) - Method in class velosurf.web.auth.BaseAuthenticator
Check received answer.
checkSMTP(String, String) - Method in class velosurf.validation.EmailCheck
Check SMTP server.
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
Wrapped class.
clear() - Method in class velosurf.cache.Cache
Clear the cache.
clear() - Method in class velosurf.sql.ConnectionPool
clear all connections.
clear() - Method in class velosurf.sql.PreparedStatementPool
close all statements.
clear() - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Clear extra parameters.
clearCache() - Method in class velosurf.model.Entity
Clear the cache (not used for now).
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
Clear validation errors.
clearWarnings() - Method in class velosurf.sql.ConnectionWrapper
Clear SQL warnings.
close() - Method in class velosurf.sql.ConnectionWrapper
Close.
close() - Method in class velosurf.sql.Database
Close the connection.
close() - Method in class velosurf.sql.PooledPreparedStatement
close this statement.
close() - Method in class velosurf.sql.PooledSimpleStatement
close this statement.
close() - Method in class velosurf.sql.PooledStatement
close this pooled object.
close() - Method in class velosurf.util.ServletLogWriter
close the writer.
closed - Variable in class velosurf.sql.ConnectionWrapper
Closed state.
column - Variable in class velosurf.validation.Reference
column
columnNames - Variable in class velosurf.sql.PooledPreparedStatement
 
columnNames - Variable in class velosurf.sql.PooledStatement
column names in natural order.
columns - Variable in class velosurf.model.Entity
Column names in natural order.
commit() - Method in class velosurf.sql.ConnectionWrapper
Commit.
compare(String, String) - Method in class velosurf.model.Entity.ColumnOrderComparator
 
compareTo(Entity.ValidationError) - Method in class velosurf.model.Entity.ValidationError
 
config - Variable in class velosurf.validation.ValidationFilter
filter config
config - Variable in class velosurf.web.auth.AuthenticationFilter
Filter config.
config - Variable in class velosurf.web.auth.SimpleDBAuthenticator
configuration.
config - Variable in class velosurf.web.l10n.LocalizationFilter
filter config.
config - Variable in class velosurf.web.l10n.SimpleDBLocalizer
tool configuration.
configFile - Variable in class velosurf.Velosurf
Configuration file.
configFile - Variable in class velosurf.web.VelosurfTool
path to the config file.
ConfigLoader - Class in velosurf.sql
A model configuration loader for the Database object.
ConfigLoader(Database) - Constructor for class velosurf.sql.ConfigLoader
Constructor.
ConfigLoader(Database, XIncludeResolver) - Constructor for class velosurf.sql.ConfigLoader
Constructor.
configure(Map) - Method in class velosurf.web.auth.BaseAuthenticator
configure this tool.
configure(Map) - Method in class velosurf.web.auth.SimpleDBAuthenticator
configure this tool.
configure(Map) - Method in class velosurf.web.l10n.SimpleDBLocalizer
Configure this tool.
configure(Map<String, String>) - Method in class velosurf.web.VelosurfTool
configure.
connect() - Method in class velosurf.sql.Database
Connect the database.
connect() - Method in class velosurf.validation.EmailCheck.FastTimeoutConnect
Connect.
connection - Variable in class velosurf.sql.ConnectionWrapper
Wrapped 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
Constructor.
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.
connections - Variable in class velosurf.sql.ConnectionPool
list of all connections
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
Connection wrapper class.
ConnectionWrapper(DriverInfo, Connection) - Constructor for class velosurf.sql.ConnectionWrapper
Constructor.
constraints - Variable in class velosurf.model.Entity
Constraint by column name map.
containsKey(Object) - Method in class velosurf.context.Instance
Check for a key
containsKey(Object) - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Check for the presence of a parameter.
containsValue(Object) - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Check for the presence of a value.
context - Variable in class velosurf.util.XIncludeResolver
servlet context
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.
createArrayOf(String, Object[]) - Method in class velosurf.sql.ConnectionWrapper
 
createBlob() - Method in class velosurf.sql.ConnectionWrapper
 
createClob() - Method in class velosurf.sql.ConnectionWrapper
 
createConnection() - Method in class velosurf.sql.ConnectionPool
Create a connection.
createNClob() - Method in class velosurf.sql.ConnectionWrapper
 
createSQLXML() - Method in class velosurf.sql.ConnectionWrapper
 
createStatement() - Method in class velosurf.sql.ConnectionWrapper
Create a statement.
createStatement(int, int) - Method in class velosurf.sql.ConnectionWrapper
Create a statement.
createStatement(int, int, int) - Method in class velosurf.sql.ConnectionWrapper
Create a statement.
createStruct(String, Object[]) - 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.
currentStrings - Variable in class velosurf.web.l10n.SimpleDBLocalizer
map (id -> localized) for the current locale.

D

dataAvailable() - Method in class velosurf.context.RowIterator
Check if some data is available.
database - Variable in class velosurf.sql.ConfigLoader
Database.
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, String, String) - Constructor for class velosurf.sql.Database
Builds a new connection.
dataField - Variable in class velosurf.util.DBResourceLoader
 
dateFormat - Variable in class velosurf.validation.DateRange
date format
DateRange - Class in velosurf.validation
A type and range constraint on dates.
DateRange() - Constructor for class velosurf.validation.DateRange
Constructor.
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 database 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
Database.
db - Variable in class velosurf.util.DBResourceLoader
 
db - Variable in class velosurf.validation.Reference
database
db - Variable in class velosurf.web.auth.SimpleDBAuthenticator
database.
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.
DBResourceLoader - Class in velosurf.util
A database resource loader for use with Velosurf.
DBResourceLoader() - Constructor for class velosurf.util.DBResourceLoader
 
dcipher - Variable in class velosurf.util.DESCryptograph
decryption cypher
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.
decrypt(String) - Method in class velosurf.util.DESCryptograph
Decrypt a string.
DEFAULT_CONFIG_FILE - Static variable in class velosurf.web.VelosurfTool
default database config file.
DEFAULT_REVERSE_MODE - Static variable in class velosurf.sql.ReverseEngineer
Default reverse engineering mode.
defaultBadLoginMessage - Static variable in class velosurf.web.auth.AuthenticationFilter
Default bad login message.
defaultDisconnectedMessage - Static variable in class velosurf.web.auth.AuthenticationFilter
Default message in case of disconnection.
defaultInspectUri - Static variable in class velosurf.web.l10n.LocalizationFilter
default inspect uri.
defaultLocale - Static variable in class velosurf.util.SavedRequestWrapper
The default Locale if none are specified.
defaultLocale - Variable in class velosurf.web.l10n.LocalizationFilter
default locale.
defaultMatchUri - Static variable in class velosurf.web.l10n.LocalizationFilter
default match uri.
defaultRewriteUri - Static variable in class velosurf.web.l10n.LocalizationFilter
default rewrite uri.
defineActions(Element, Entity) - Method in class velosurf.sql.ConfigLoader
Define actions.
defineAttributes(Element, Entity) - Method in class velosurf.sql.ConfigLoader
Define Velosurf attributes.
defineConstraints(Element, Entity) - Method in class velosurf.sql.ConfigLoader
Define constraints.
defineEntities(Element) - Method in class velosurf.sql.ConfigLoader
Define entities.
defineForeignKeys(Element, Entity) - Method in class velosurf.sql.ConfigLoader
Define foreign keys.
delete(Map<String, Object>) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table.
delete(String) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table, specifying the value of its unique key column.
delete(Number) - Method in class velosurf.context.EntityReference
Detele a row from this entity's table, specifying the value of its unique key column.
delete - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
Delete method.
delete() - Method in class velosurf.context.ExternalObjectWrapper
Tries to delete the row associated with this Instance using a delete() method in the external object.
delete() - Method in class velosurf.context.Instance
Delete the row associated with this Instance.
delete(Map<String, Object>) - Method in class velosurf.model.Entity
Delete a row based on (key) values.
delete(String) - Method in class velosurf.model.Entity
Delete a row based on the unique key string value.
delete(Number) - Method in class velosurf.model.Entity
Delete a row based on the unique key string value.
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.
DESCryptograph() - Constructor for class velosurf.util.DESCryptograph
Constructor.
destroy() - Method in class velosurf.util.TemplateNameFilter
Deprecated. Destroy the filter.
destroy() - Method in class velosurf.validation.ValidationFilter
Destroy the filter.
destroy() - Method in class velosurf.web.auth.AuthenticationFilter
Destroy the filter.
destroy() - Method in class velosurf.web.l10n.LocalizationFilter
Destroy the filter.
dirtyFlags - Variable in class velosurf.context.Instance
Keep a dirty flag per column
disconnectedMessage - Variable in class velosurf.web.auth.AuthenticationFilter
Message in case of disconnection.
disconnectedMsgKey - Variable in class velosurf.web.auth.AuthenticationFilter
Message key in case of disconnection.
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.
dnsCheck - Variable in class velosurf.validation.EmailCheck
whether to check dns.
DNSResolver - Class in velosurf.util
Utility class to resolve names against DN servers
DNSResolver() - Constructor for class velosurf.util.DNSResolver
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.util.TemplateNameFilter
Deprecated. doFilter method.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.validation.ValidationFilter
Filtering.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
Filtering.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class velosurf.web.l10n.LocalizationFilter
Filtering.
doGet(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
doGet handler.
doLogin(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
doLogout(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
done - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
connection successfull?
doPost(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
doPost handler.
doProcessAuthentified(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
doRedirect(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
doRequest(HttpServletRequest, HttpServletResponse) - Method in class velosurf.util.NullServlet
doRequest handler.
driver - Variable in class velosurf.sql.ConnectionPool
infos on the driver
driver - Variable in class velosurf.sql.ConnectionWrapper
Infos on the driver.
driverByClass - Static variable in class velosurf.sql.DriverInfo
map driver class -> driver infos.
driverByVendor - Static variable in class velosurf.sql.DriverInfo
map jdbctag -> driver infos.
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.
DriverInfo(String, String, String[], String, String, String, String, String, String) - Constructor for class velosurf.sql.DriverInfo
Driver info constructor.
driverInfo - Variable in class velosurf.sql.ReverseEngineer
Driver infos.
driverLoaded - Variable in class velosurf.sql.Database
Whether the JDBC driver has been loaded.
drivers - Variable in class velosurf.sql.DriverInfo
list of driver classes
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
encryption cypher
EmailCheck - Class in velosurf.validation
An 'email' constraint.
EmailCheck() - Constructor for class velosurf.validation.EmailCheck
Default constructor.
EmailCheck(boolean, boolean) - Constructor for class velosurf.validation.EmailCheck
Constructor.
EmailCheck.FastTimeoutConnect - Class in velosurf.validation
A socket with short timeout.
EmailCheck.FastTimeoutConnect(String, int, int) - Constructor for class velosurf.validation.EmailCheck.FastTimeoutConnect
Constructor.
enableNotifications(boolean) - Static method in class velosurf.util.Logger
 
encrypt(String) - Method in interface velosurf.util.Cryptograph
encrypt.
encrypt(String) - Method in class velosurf.util.DESCryptograph
encrypt a string.
enterBusyState() - Method in class velosurf.sql.ConnectionWrapper
Enter busy state.
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 - Variable in class velosurf.util.DBResourceLoader
 
Entity.ColumnOrderComparator - Class in velosurf.model
 
Entity.ColumnOrderComparator() - Constructor for class velosurf.model.Entity.ColumnOrderComparator
 
Entity.ValidationError - Class in velosurf.model
 
Entity.ValidationError(String, String) - Constructor for class velosurf.model.Entity.ValidationError
 
ENTITY_KEY - Static variable in class velosurf.validation.ValidationFilter
key used to identity an entity to be validated in HTTP parameters
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.
entrySet() - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
entrySet() - Method in class velosurf.web.HttpQueryTool
Deprecated.  
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
Test equality of two instances.
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
last error message
ERROR_ID - Static variable in class velosurf.util.Logger
error messages loglevel.
evaluate(Map<String, Object>) - 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
get a scalar result from this statement.
evaluate(String) - Method in class velosurf.sql.PooledSimpleStatement
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
Exported key constructor.
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
This private class gathers informations on the class of wrapped objects.
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(Map<String, Object>, Map<String, Object>, boolean) - Method in class velosurf.model.Entity
Extract column values from an input Map source and store result in target.
extraValues - Variable in class velosurf.web.HttpQueryTool
Deprecated. extra values map.

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<Object>) - 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<String, Object>) - 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(Map<String, Object>) - Method in class velosurf.model.Attribute
Fetch a row.
fetch(List<Object>) - Method in class velosurf.model.Entity
Fetch an instance from key values stored in a List in natural order.
fetch(Map<String, Object>) - Method in class velosurf.model.Entity
Fetch an instance from key values stored in a Map.
fetch(String) - Method in class velosurf.model.Entity
Fetch an instance from its key value as a string.
fetch(Number) - Method in class velosurf.model.Entity
Fetch an instance from its key value specified as a Number.
fetch(List) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id.
fetch(List, Entity) - Method in class velosurf.sql.PooledPreparedStatement
get a unique object by id and specify the Entity this object is an Instance of.
fetch(Map<String, Object>, 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.PooledSimpleStatement
fetch a single row.
fetch(String, Entity) - Method in class velosurf.sql.PooledSimpleStatement
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? True initially, false after one unsuccessful try.
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.
filterIncomingValue(String, Object) - Method in class velosurf.model.Entity
 
filterParam(Object) - Method in class velosurf.sql.Database
Driver specific value filter
filterValue(Object) - Method in class velosurf.sql.DriverInfo
Driver-specofic value filtering
finalize() - Method in class velosurf.sql.PreparedStatementPool
clear statements on exit.
finalize() - Method in class velosurf.sql.StatementPool
close statements on exit.
findConfig() - Method in class velosurf.Velosurf
Tries to find a model configuration file using some default locations.
findConfigFile(ServletContext) - Static method in class velosurf.web.VelosurfTool
Tries to find the configuration file.
findExportedKey(Entity, List<String>) - Method in class velosurf.model.Entity
Check for the existence of an exported key with the same columns.
findImportedKey(Entity, List<String>) - Method in class velosurf.model.Entity
Check for the existence of an imported key with the same columns.
findSessionTool(HttpSession, Class<T>) - Static method in class velosurf.util.ToolFinder
Find a session tool.
findSupportedLocales(FilterConfig) - Method in class velosurf.web.l10n.LocalizationFilter
Find supported locales.
fkCols - Variable in class velosurf.model.ExportedKey
List of foreign keys.
fkCols - Variable in class velosurf.model.ImportedKey
Foreign key columns.
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.
forbiddenUri - Variable in class velosurf.util.NullServlet
page showing the 'forbidden' error message
foreignKey - Variable in class velosurf.model.Attribute
Deprecated.  
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
forward method constant.
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
Generate the correct answer.
genericGetter - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
Generic getter.
genericSetter - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
Generic setter.
get(Object) - Method in class velosurf.cache.Cache
Try to get an instance from the cache.
get(Object) - Method in class velosurf.context.DBReference
Generic getter, used to access entities or root attributes by their name.
get(Object) - Method in class velosurf.context.ExternalObjectWrapper
Wrapper generic getter.
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.PooledSimpleStatement
get specified column as an object.
get(Object) - Method in class velosurf.sql.ReadOnlyMap
Get a value by key.
get(Object) - Method in interface velosurf.sql.RowHandler
get the property named key.
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
Generic getter.
get(Object) - Method in class velosurf.web.HttpQueryTool
Deprecated. Generic getter.
get(String) - Method in class velosurf.web.HttpQueryTool
Deprecated. Generic getter with String argument (necessary to properly overload super getter).
get(Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Get the localized message for this key.
get(Object, Object...) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Get the localized parameterized message for this key.
get(Object) - Method in interface velosurf.web.l10n.Localizer
Message getter.
get(Object, Object...) - Method in interface velosurf.web.l10n.Localizer
Parameterized message getter.
get(Object) - Method in class velosurf.web.l10n.SimpleDBLocalizer
Localized message getter.
getAction(String) - Method in class velosurf.model.Entity
Get an action.
getAction(String) - Method in class velosurf.sql.Database
Get a root action.
getActions() - Method in class velosurf.model.Entity
 
getAttribute(String) - Method in class velosurf.model.Entity
Get a named attribute.
getAttribute(String) - Method in class velosurf.sql.Database
Get a root attribute.
getAttributes() - Method in class velosurf.model.Entity
 
getAuthenticatedIndexPage(HttpSession) - Method in class velosurf.web.auth.AuthenticationFilter
 
getAutoCommit() - Method in class velosurf.sql.ConnectionWrapper
Get autocommit flag.
getBestLocale(List<Locale>) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Get the locale best matching available localized data among a list.
getCaching() - Method in class velosurf.model.Attribute
Gets caching state
getCaseSensivity() - Method in class velosurf.sql.Database
Get database case-sensivity policy.
getCaseSensivity() - Method in class velosurf.sql.DriverInfo
Get case sensivity default policy.
getCatalog() - Method in class velosurf.sql.ConnectionWrapper
Catalog getter.
getChallenge() - Method in class velosurf.web.auth.BaseAuthenticator
This method generates a new challenge each time it is called.
getClientInfo() - Method in class velosurf.sql.ConnectionWrapper
 
getClientInfo(String) - Method in class velosurf.sql.ConnectionWrapper
 
getColumnIndex(String) - Method in class velosurf.model.Entity
 
getColumnNames(ResultSet) - Static method in class velosurf.sql.SqlUtil
get the column nams of a result set
getColumnOrderComparator() - Method in class velosurf.model.Entity
 
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.
getColumnType(String) - Method in class velosurf.model.Entity
Get the SQL type for the specified column
getConnection() - Method in class velosurf.sql.ConnectionPool
Get a connection.
getConnection() - Method in class velosurf.sql.Database
Get a jdbc connection.
getConnection() - Method in class velosurf.sql.PooledPreparedStatement
get statement Connection.
getConnection() - Method in class velosurf.sql.PooledSimpleStatement
get statement's Connection.
getConnection() - Method in class velosurf.sql.PooledStatement
get the connection used by this statement.
getConnection(String) - Static method in class velosurf.web.VelosurfTool
return 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
return the existing Database for the specified config file and servlet context, or null if an error occurs.
getConnectionMethod(String, Class[]) - Static method in class velosurf.sql.ConnectionWrapper
 
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.
getCount() - Method in class velosurf.context.EntityReference
 
getCount() - Method in class velosurf.model.Entity
 
getCount(List) - Method in class velosurf.model.Entity
 
getCurrentDate() - Static method in class velosurf.util.FastHttpDateFormat
Gets the current date in HTTP format.
getDatabase() - Method in class velosurf.Velosurf
Allows to access the underlying velosurf.sql.Database object
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
return 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
return the existing Database for the default config file and servlet context, or null if an error occurs.
getDefaultInstance() - Static method in class velosurf.web.VelosurfTool
return a db reference the existing Database for the default config file, or null if it does not already exist.
getDefaultInstance(ServletContext) - Static method in class velosurf.web.VelosurfTool
return a db reference on the existing Database for the default config file or null if an error occurs.
getDelete() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get a delete() method in the wrapped object.
getDriverInfo() - Method in class velosurf.sql.Database
Get database driver infos.
getDriverInfo(String, String) - Static method in class velosurf.sql.DriverInfo
Get a driver info by url and driver class.
getDrivers() - Method in class velosurf.sql.DriverInfo
Get the list of driver class names.
getEntities() - Method in class velosurf.sql.Database
Entities map getter.
getEntity(String) - Method in class velosurf.context.DBReference
Specific entity getter.
getEntity() - Method in class velosurf.context.Instance
Get this Instance's Entity.
getEntity() - Method in class velosurf.model.Action
Gets the parent entity
getEntity() - Method in class velosurf.model.Attribute
Gets the parent entity
getEntity(String) - Method in class velosurf.sql.Database
Get an existing entity.
getEntityByTable(String, String) - Method in class velosurf.sql.ReverseEngineer
Get an entity by its table name.
getEntityCreate(String) - Method in class velosurf.sql.Database
Get a named entity or creeate it if it doesn't exist
getError() - Method in class velosurf.context.DBReference
Specific getter for last error message in user context
getError() - Method in class velosurf.util.UserContext
Last error getter.
getExportedKeyName(String) - Method in class velosurf.sql.ReverseEngineer
rough plural calculation.
getExternal(Object) - Method in class velosurf.context.ExternalObjectWrapper
External getter.
getExternal(Object) - Method in class velosurf.context.Instance
External getter.
getExtraKeys() - Method in class velosurf.web.HttpQueryTool
Deprecated.  
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
Foreign key columns getter.
getFKCols() - Method in class velosurf.model.ImportedKey
Foreign key columns getter.
getGenericGetter() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get a generic getter in the wrapped object.
getGenericSetter() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get a generic setter in the wrapped object.
getGetter(String) - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Getter getter :-) .
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
Get holdability.
getInitParameter(String) - Method in class velosurf.web.l10n.LocalizationFilter
Helper function.
getInitParameter(String, String) - Method in class velosurf.web.l10n.LocalizationFilter
Helper function.
getInsert() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get an insert() method in the wrapped 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) - Static method in class velosurf.web.VelosurfTool
return a db reference on the existing Database for the specified config file, or null if it isn't already open.
getInstance(String, ServletContext) - Static method in class velosurf.web.VelosurfTool
return a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs.
getInstanceMap() - Method in class velosurf.context.AttributeReference
Get all the rows in a map firstcol->instance FIXME: better in Attribute than in AttributeReference
getInteger(String) - Method in class velosurf.web.HttpQueryTool
Deprecated.  
getInternal(Object) - Method in class velosurf.context.Instance
Internal getter.
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
Get the jdbc tag.
getLastInsertedID(Entity) - Method in class velosurf.util.UserContext
Get the last inserted ID for an entity.
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
Get last inserted ID.
getLastInsertId(Statement) - Method in class velosurf.sql.DriverInfo
Get the last inserted id.
getLastInsertID() - Method in class velosurf.sql.PooledPreparedStatement
get the last insert id.
getLastInsertID() - Method in class velosurf.sql.PooledSimpleStatement
gets the last insert id.
getLastModified(Resource) - Method in class velosurf.util.DBResourceLoader
 
getLastUse() - Method in class velosurf.sql.ConnectionWrapper
Get last use timestamp
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
Locale getter.
getLocale() - Method in class velosurf.web.l10n.HTTPLocalizerTool
Current lcoale getter.
getLocale() - Method in interface velosurf.web.l10n.Localizer
Locale getter.
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.
getLoggedUser() - Method in class velosurf.web.auth.BaseAuthenticator
 
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.
getMap() - Method in class velosurf.context.AttributeReference
Get all the rows in a map firstcol->secondcol.
getMatchedLocale(String) - Method in class velosurf.web.l10n.LocalizationFilter
get matched locale.
getMessage() - Method in class velosurf.validation.FieldConstraint
get the error message
getMessage(Localizer, String, String) - Method in class velosurf.web.auth.AuthenticationFilter
Message getter.
getMetaData() - Method in class velosurf.sql.ConnectionWrapper
Get meta data
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.
getMethod(Object, String, Object[], Info) - Method in class velosurf.util.VelosurfUberspector
 
getMethodName() - Method in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
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 this attribute.
getName() - Method in class velosurf.model.Entity
Getter for the name of this entity.
getNotificationLevel() - Static method in class velosurf.util.Logger
 
getNotifierEnabled() - Static method in class velosurf.util.Logger
 
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
get the password corresponding to a login.
getPassword(String) - Method in class velosurf.web.auth.SimpleDBAuthenticator
get the password for this login.
getPathInfo() - Method in class velosurf.util.SavedRequest
Returns path info.
getPingQuery() - Method in class velosurf.sql.DriverInfo
Get the ping query.
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
Get preferred locale.
getPreparedStatement(String) - Method in class velosurf.sql.PreparedStatementPool
get 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.
getQuery() - Method in class velosurf.model.Attribute
 
getQuery() - Method in class velosurf.model.ExportedKey
Query getter.
getQuery() - Method in class velosurf.model.ImportedKey
Query getter.
getQueryString() - Method in class velosurf.util.SavedRequest
Returns query string.
getQueryString() - Method in class velosurf.web.HttpQueryTool
Deprecated. Debugging method: returns a query string corresponding to query parameters Warning: it also includes POST parameters (so strictly speaking it's not the real query string)
getRequestedLocales(HttpServletRequest) - Method in class velosurf.web.l10n.LocalizationFilter
get the list of requested locales.
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.
getResourceStream(String) - Method in class velosurf.util.DBResourceLoader
 
getResultEntity() - Method in class velosurf.model.Attribute
Gets the result type.
getReturnType() - Method in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
getReverseEngineer() - Method in class velosurf.sql.Database
Get reverse engineer.
getRootEntity() - Method in class velosurf.sql.Database
Get root entity.
getRows() - Method in class velosurf.context.AttributeReference
Gets all the rows in a list of maps.
getRows() - Method in class velosurf.context.EntityReference
Get all the rows in a list of maps.
getRows() - Method in class velosurf.context.RowIterator
Gets all the rows in a list of instances.
getScalars() - Method in class velosurf.context.AttributeReference
Gets a list of scalars
getScalars() - Method in class velosurf.context.RowIterator
 
getSchema() - Method in class velosurf.context.DBReference
Get the schema name.
getSchema() - Method in class velosurf.sql.Database
Get the schema.
getSchema() - Method in class velosurf.Velosurf
Schema name getter.
getSchemaQuery() - Method in class velosurf.sql.DriverInfo
Get the schema setter query.
getSetter(String) - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Setter getter
getStatement() - Method in class velosurf.sql.StatementPool
get a valid statement.
getTableName() - Method in class velosurf.model.Entity
Get the name of the mapped table.
getTagTime() - Method in class velosurf.sql.PooledStatement
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
Getter map.
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
Transaction isolation getter.
getType() - Method in class velosurf.model.Attribute
Get the type of this attribute.
getTypeMap() - Method in class velosurf.sql.ConnectionWrapper
Get type map.
getUpdatableColumnIndex(String) - Method in class velosurf.model.Entity
 
getUpdatableColumns() - Method in class velosurf.model.Entity
 
getUpdate1() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get an update() method in the wrapped object.
getUpdate2() - Method in class velosurf.context.ExternalObjectWrapper.ClassInfo
Tries to get an update(Map) method in the wrapped object.
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
Get the user object corresponding to a login
getUser(String) - Method in class velosurf.web.auth.SimpleDBAuthenticator
get the user object for this login.
getUserContext() - Method in class velosurf.context.DBReference
User context getter
getUserContext() - Method in class velosurf.sql.Database
Get this database user context (thread local)
getValidationErrors() - Method in class velosurf.util.UserContext
Get all validation error messages.
getWarnings() - Method in class velosurf.sql.ConnectionWrapper
Get SQL warnings.
getWithParams(String, Map) - Method in class velosurf.context.DBReference
Default method handler, called by Velocity when it did not find the specified method.
getWithParams(String, Map) - Method in interface velosurf.context.HasParametrizedGetter
Default method handler, called by Velocity when it did not find the specified method
getWithParams(String, Map) - Method in class velosurf.context.Instance
Default method handler, called by Velocity when it did not find the specified method.
getWriter() - Static method in class velosurf.util.Logger
get the output writer.
GMT_ZONE - Static variable in class velosurf.util.SavedRequestWrapper
timezone.
gmtZone - Static variable in class velosurf.util.FastHttpDateFormat
GMT timezone - all HTTP dates are on GMT
goodLogin(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class velosurf.web.auth.AuthenticationFilter
 
guessSupportedLocales(ServletContext, String) - Method in class velosurf.web.l10n.LocalizationFilter
Guess supported locales.

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
build a new HashMultiMap.
hasLocale(Locale) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Check for the presence of a locale.
hasLocale(Locale) - Method in class velosurf.web.l10n.SimpleDBLocalizer
Check for the presence of a locale.
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.
HasParametrizedGetter - Interface in velosurf.context
Implemented by context objects that do provide a default method handler.
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.util.MailNotifier
 
host - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
host.
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
Deprecated. 
HttpQueryTool() - Constructor for class velosurf.web.HttpQueryTool
Deprecated. Constructor.

I

ID_FIELD_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
default id fied name.
ID_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
id field name parameter key.
idField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
id field name.
IDGenerationMethod - Variable in class velosurf.sql.DriverInfo
ID generation method
ignorePattern - Variable in class velosurf.sql.DriverInfo
ignore tables matchoing this pattern
ignoreTable(String) - Method in class velosurf.sql.DriverInfo
Check whether to ignore or not this table.
ImportedKey - Class in velosurf.model
An imported key (aka foreign key) attribute.
ImportedKey(String, Entity, String, List<String>) - Constructor for class velosurf.model.ImportedKey
Imported key constructor.
include(Element) - Method in class velosurf.util.XIncludeResolver
Performs the real include.
index - Variable in class velosurf.model.Entity.ValidationError
 
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(String) - Method in interface velosurf.util.Cryptograph
init.
init(ExtendedProperties) - Method in class velosurf.util.DBResourceLoader
 
init(String) - Method in class velosurf.util.DESCryptograph
initialization.
init(ServletConfig) - Method in class velosurf.util.NullServlet
init.
init(FilterConfig) - Method in class velosurf.util.TemplateNameFilter
Deprecated. init the filter.
init(RuntimeServices) - Method in class velosurf.util.VelosurfLogChute
 
init(FilterConfig) - Method in class velosurf.validation.ValidationFilter
initialization.
init(InputStream) - Method in class velosurf.Velosurf
Lazzy initialization.
init() - Method in class velosurf.Velosurf
Lazzy initialization.
init(FilterConfig) - Method in class velosurf.web.auth.AuthenticationFilter
Initialization.
init(Object) - Method in class velosurf.web.auth.BaseAuthenticator
initialize this tool.
init(Object) - Method in class velosurf.web.auth.SimpleDBAuthenticator
initialize this tool.
init(Object) - Method in class velosurf.web.HttpQueryTool
Deprecated. Initialize this tool.
init(Object) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Initialize this tool.
init(FilterConfig) - Method in class velosurf.web.l10n.LocalizationFilter
initialization.
init(Object) - Method in class velosurf.web.l10n.SimpleDBLocalizer
Initialize this tool.
init(Object) - Method in class velosurf.web.VelosurfTool
Initialize this instance using the given ViewContext.
initCryptograph() - Method in class velosurf.sql.Database
Init cryptograph.
initdb() - Method in class velosurf.util.DBResourceLoader
 
initDB(ServletContext) - Method in class velosurf.web.auth.SimpleDBAuthenticator
 
initialize(Entity) - Method in class velosurf.context.Instance
Initialization.
initialize(ServletContext) - Method in class velosurf.web.VelosurfTool
initialization from a servlet context
initialized - Static variable in class velosurf.util.Logger
Did someone give me an otput writer?
initialized - Variable in class velosurf.Velosurf
Initialization flag.
initialized - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
initialization status.
initLogging() - Method in class velosurf.Velosurf
Initializes the logger.
innerCache - Variable in class velosurf.cache.Cache
the inner map that stores associations.
insert(Map<String, Object>) - 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.
insert() - Method in class velosurf.context.ExternalObjectWrapper
Tries to insert a new row corresponding to this Instance using an insert() method in the external object.
insert() - Method in class velosurf.context.Instance
Insert a new row corresponding to this Instance.
insert(Map<String, Object>) - Method in class velosurf.model.Entity
Insert a new row based on values of a map.
inspectUri - Variable in class velosurf.web.l10n.LocalizationFilter
inspect uri.
Instance - Class in velosurf.context
An Instance provides field values by their name.
Instance() - Constructor for class velosurf.context.Instance
Build an empty instance for the given entity.
Instance(Entity) - Constructor for class velosurf.context.Instance
Build an empty instance for the given entity.
Instance(Map<String, Object>) - Constructor for class velosurf.context.Instance
Builds a generic instance using values.
Instance(Map<String, Object>, Database) - Constructor for class velosurf.context.Instance
Builds a generic instance using values.
instanceClass - Variable in class velosurf.model.Entity
The java class to use to realize this instance.
integer - Variable in class velosurf.validation.Range
integer value expected.
internalParseDate(String, DateFormat[]) - Static method in class velosurf.util.FastHttpDateFormat
Parses date with given formatters.
intPattern - Static variable in class velosurf.validation.Range
integer value pattern matcher.
inUse - Variable in class velosurf.sql.PooledStatement
is this object in use?
invalidate(Object) - Method in class velosurf.cache.Cache
invalidates an entry (used after an insert or an update)
invalidateInstance(Map<String, Object>) - Method in class velosurf.model.Entity
Invalidate an instance in the cache.
invoke(Object, Object[]) - Method in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
ioe - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
thrown I/O exception.
isBusy() - Method in class velosurf.sql.ConnectionWrapper
Check busy state.
isCacheable() - Method in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
isClosed() - Method in class velosurf.sql.ConnectionWrapper
Check the closed state.
isColumn(String) - Method in class velosurf.model.Entity
 
isEmpty() - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Check for the presence of parameters.
isInitialized() - Static method in class velosurf.util.Logger
queries the initialized state.
isInUse() - Method in class velosurf.sql.PooledStatement
check whether this pooled object is in use.
isLevelEnabled(int) - Method in class velosurf.util.VelosurfLogChute
 
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.
isOver - Variable in class velosurf.context.RowIterator
whether we reached the end
isReadOnly() - Method in class velosurf.model.Entity
Is this entity read-only or read-write?
isReadOnly() - Method in class velosurf.sql.ConnectionWrapper
Check the read-only state.
isRootEntity() - Method in class velosurf.model.Entity
 
isSourceModified(Resource) - Method in class velosurf.util.DBResourceLoader
 
isTransaction(Element) - Static method in class velosurf.sql.ConfigLoader
Check whether the action defined by this XML tree is a simple action or a transaction.
isValid(int) - Method in class velosurf.sql.ConnectionWrapper
 
isValid() - Method in class velosurf.sql.PooledStatement
check whether this pooled object is marked as valid or invalid.
isWrapperFor(Class<?>) - Method in class velosurf.sql.ConnectionWrapper
 
isXIncludeElement(Element) - Method in class velosurf.util.XIncludeResolver
Check whether this element is an include element.
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
jdbc tag of the database vendor
join(Collection, String) - Static method in class velosurf.util.StringLists
joins strings using a separator.

K

key - Variable in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
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.
keyList() - Method in class velosurf.context.RowIterator
 
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.PooledSimpleStatement
 
keySet() - Method in class velosurf.sql.ReadOnlyMap
Returns the set of keys.
keySet() - Method in interface velosurf.sql.RowHandler
Get keys set.
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
Deprecated. Get the set of parameter names.

L

l10nMethod - Variable in class velosurf.web.l10n.LocalizationFilter
localization method.
lastInsertedIDs - Variable in class velosurf.util.UserContext
map of last inserted IDs
lastInsertIDQuery - Variable in class velosurf.sql.DriverInfo
query used to retrieve the last inserted id
lastReset - Variable in class velosurf.util.TemplateNameFilter
Deprecated.  
lastUse - Variable in class velosurf.sql.ConnectionWrapper
Last use
leaveBusyState() - Method in class velosurf.sql.ConnectionWrapper
Leave busy state.
Length - Class in velosurf.validation
A string length constraint.
Length(int, int) - 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
Transform an enumeration into a list of locales.
loadConfig(InputStream) - Method in class velosurf.sql.ConfigLoader
Main method of the ConfigLoader.
loadDriver() - Method in class velosurf.sql.Database
oad the appropriate driver.
locale - Variable in class velosurf.util.UserContext
locale
locale - Variable in class velosurf.web.l10n.HTTPLocalizerTool
current locale
LOCALE_FIELD_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
default locale field name.
LOCALE_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
locale field name parameter key.
localeField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
locale field name.
locales - Variable in class velosurf.util.SavedRequest
The set of Locales associated with this Request.
localeStrings - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
map locale -> (id -> localized).
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
Localize a parameterized message.
localized - Variable in class velosurf.context.Instance
Is there a column to localize?
LOCALIZED_TABLE_DEFAULT - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
default localized table name.
LOCALIZED_TABLE_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
localized table name parameter key.
localizedColumns - Variable in class velosurf.model.Entity
Localized columns.
localizedTable - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
localized table name.
localizer - Variable in class velosurf.util.UserContext
localizer
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.
log(int, String) - Method in class velosurf.util.VelosurfLogChute
 
log(int, String, Throwable) - Method in class velosurf.util.VelosurfLogChute
 
log2File(String) - Static method in class velosurf.util.Logger
log to file.
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 - Variable in class velosurf.web.auth.AuthenticationFilter
Session key used to store logged user login
LOGIN_PARAMETER_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
default name for the "login" parameter.
LOGIN_PARAMETER_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
key used in toolbox.xml to indicate the name of the login parameter in the "user by login" attribute.
loginField - Variable in class velosurf.web.auth.AuthenticationFilter
Login field.
loginPage - Variable in class velosurf.web.auth.AuthenticationFilter
Login page.
loginParameter - Variable in class velosurf.web.auth.SimpleDBAuthenticator
login parameter name
logLevel - Static variable in class velosurf.util.Logger
Current log level.
LOWERCASE - Static variable in class velosurf.sql.Database
'lowercase' case-sensitive policy.

M

MailNotifier - Class in velosurf.util
 
MailNotifier(String, String, String) - Constructor for class velosurf.util.MailNotifier
 
MailNotifier.Notification - Class in velosurf.util
 
MailNotifier.Notification(String, String) - Constructor for class velosurf.util.MailNotifier.Notification
 
main(String[]) - Static method in class velosurf.util.DESCryptograph
test method
map - Variable in class velosurf.util.HashMultiMap
inner map.
matchUri - Variable in class velosurf.web.l10n.LocalizationFilter
match uri.
max - Variable in class velosurf.sql.ConnectionPool
Maximum number of connections.
max - Variable in class velosurf.validation.Range
maximum value.
MAX_DATA_DISPLAY_LENGTH - Static variable in class velosurf.model.Entity
Truncate validation error messages to a maximum number of characters.
maxConnections - Variable in class velosurf.sql.Database
Max connections.
maxInactive - Variable in class velosurf.web.auth.AuthenticationFilter
Max inactive interval.
maxLen - Variable in class velosurf.validation.Length
max length.
maxStatements - Static variable in class velosurf.sql.PreparedStatementPool
max number of statements.
maxStatements - Static variable in class velosurf.sql.StatementPool
maximum number of statements.
message - Variable in class velosurf.model.Entity.ValidationError
 
message - Variable in class velosurf.validation.FieldConstraint
the error message
method - Variable in class velosurf.util.SavedRequest
The request method used on this Request.
method - Variable in class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 
method - Variable in class velosurf.web.auth.BaseAuthenticator
encryption method
min - Variable in class velosurf.sql.ConnectionPool
Minimum number of connections.
min - Variable in class velosurf.validation.Range
minimum value.
minConnections - Variable in class velosurf.sql.Database
Min connections.
minLen - Variable in class velosurf.validation.Length
min lmength.
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
name of the database vendor
nativeSQL(String) - Method in class velosurf.sql.ConnectionWrapper
Gets native SQL for a query.
newInstance() - Method in class velosurf.context.EntityReference
Create a new instance for this entity.
newInstance(Map<String, Object>) - Method in class velosurf.context.EntityReference
Build a new instance from a Map object.
newInstance() - Method in class velosurf.model.Entity
Create a new realisation of this entity.
newInstance(Map<String, Object>) - Method in class velosurf.model.Entity
Build a new instance from a Map object.
newInstance(Map<String, Object>, boolean) - Method in class velosurf.model.Entity
Build a new instance from a Map 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.
notifier - Static variable in class velosurf.util.Logger
 
notifLevel - Static variable in class velosurf.util.Logger
 
notify - Static variable in class velosurf.util.Logger
 
notifyInUse() - Method in class velosurf.sql.PooledStatement
notify this object that it is in use.
notifyOver() - Method in class velosurf.sql.PooledSimpleStatement
notify this statement is no more used and can be recycled.
notifyOver() - Method in class velosurf.sql.PooledStatement
notify this object that it is no more in use.
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_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, 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.
order - Variable in class velosurf.model.ExportedKey
Order
orderQuery(String, String) - Static method in class velosurf.sql.SqlUtil
add an ordering clause to a query

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.
params - Variable in class velosurf.context.AttributeReference
The map this attribute reference applies to.
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.ConnectionPool
password
password - Variable in class velosurf.sql.Database
Database user's password.
PASSWORD_FIELD_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
default name of the "password" field.
PASSWORD_FIELD_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
key used in toolbox.xml to indicate the name of the password field in the "user by login" attribute.
passwordField - Variable in class velosurf.web.auth.AuthenticationFilter
Password field.
passwordField - Variable in class velosurf.web.auth.SimpleDBAuthenticator
password field name
pathInfo - Variable in class velosurf.util.SavedRequest
The request pathInfo associated with this Request.
pattern - Variable in class velosurf.validation.Regex
pattern.
perform(Map<String, Object>) - Method in class velosurf.model.Action
Executes this action.
perform(Map<String, Object>) - Method in class velosurf.model.Transaction
Performs this action.
pingQuery - Variable in class velosurf.sql.DriverInfo
ping SQL query
Pool - Interface in velosurf.sql
This interface represents a generic pool of objects - no real need for now.
PooledPreparedStatement - Class in velosurf.sql
this class encapsulates a jdbc PreparedStatement.
PooledPreparedStatement(ConnectionWrapper, PreparedStatement) - Constructor for class velosurf.sql.PooledPreparedStatement
build a new PooledPreparedStatement.
PooledSimpleStatement - Class in velosurf.sql
this class encapsulates a jdbc Statement.
PooledSimpleStatement(ConnectionWrapper, Statement) - Constructor for class velosurf.sql.PooledSimpleStatement
build a new PooledStatement.
pooledStatement - Variable in class velosurf.context.RowIterator
Source statement.
PooledStatement - Class in velosurf.sql
This abstract class represents a pooled object.
PooledStatement() - Constructor for class velosurf.sql.PooledStatement
build a new pooled object.
port - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
port.
prefetch - Variable in class velosurf.context.RowIterator
whether we did prefetch a row
prepare(String) - Method in class velosurf.sql.Database
Prepare a query.
prepareCall(String) - Method in class velosurf.sql.ConnectionWrapper
Prepare a callable statement.
prepareCall(String, int, int) - Method in class velosurf.sql.ConnectionWrapper
Prepare a call.
prepareCall(String, int, int, int) - Method in class velosurf.sql.ConnectionWrapper
Prepare a callable statement.
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, boolean, long) - Constructor for class velosurf.sql.PreparedStatementPool
build a new pool.
prepareStatement(String) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
prepareStatement(String, int, int) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
prepareStatement(String, int, int, int) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
prepareStatement(String, int) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
prepareStatement(String, int[]) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
prepareStatement(String, String[]) - Method in class velosurf.sql.ConnectionWrapper
Prepare a statement.
put(Object, Object) - Method in class velosurf.cache.Cache
Put an instance in the cache.
put(String, Object) - Method in class velosurf.context.DBReference
Generic setter used to set external params for children attributes.
put(String, Object) - Method in class velosurf.context.ExternalObjectWrapper
Wrapper generic setter.
put(String, Object) - Method in class velosurf.context.Instance
Generic setter.
put(String, Object) - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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(String, Object) - Method in class velosurf.Velosurf
Generic setter.
put(String, Object) - Method in class velosurf.web.HttpQueryTool
Deprecated. Generic setter.
putAll(Map<? extends String, ? extends Object>) - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Put all key/values from a map.

Q

queries - Variable in class velosurf.model.Transaction
All the queries.
query - Variable in class velosurf.model.Action
Query.
query - Variable in class velosurf.model.Attribute
Attribute query.
query(Map<String, Object>) - Method in class velosurf.model.Attribute
Query the resultset for this multivalued attribute.
query(Map<String, Object>, 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
get the rowset.
query(List, Entity) - Method in class velosurf.sql.PooledPreparedStatement
get the rowset.
query(String) - Method in class velosurf.sql.PooledSimpleStatement
get the resultset for this statement.
query(String, Entity) - Method in class velosurf.sql.PooledSimpleStatement
get 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.
queue - Variable in class velosurf.util.MailNotifier
 

R

random - Static variable in class velosurf.web.auth.BaseAuthenticator
random number generator
Range - Class in velosurf.validation
A type and range constraint on numbers.
Range() - Constructor for class velosurf.validation.Range
Constructor.
read() - Method in class velosurf.util.ReaderInputStream
 
readConfigFile(InputStream, XIncludeResolver) - Method in class velosurf.sql.Database
Read model configuration from the given input stream.
reader - Variable in class velosurf.util.ReaderInputStream
 
ReaderInputStream - Class in velosurf.util
Simple class to allow casting a reader in an input stream.
ReaderInputStream(Reader) - Constructor for class velosurf.util.ReaderInputStream
 
readForeignKeys(DatabaseMetaData, Entity, String) - Method in class velosurf.sql.ReverseEngineer
Read foreign keys.
readLocales(ServletContext) - Static method in class velosurf.web.l10n.SimpleDBLocalizer
read localized messages into memory.
readMetaData() - Method in class velosurf.sql.ReverseEngineer
read the meta data from the database.
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 - Class in velosurf.sql
A wrapper implementing the Map interface for some objets having only getters.
ReadOnlyMap(RowHandler) - Constructor for class velosurf.sql.ReadOnlyMap
Constructor.
readStream(InputStream) - Method in class velosurf.util.XIncludeResolver
Read a stream in a string.
readTableMetaData(DatabaseMetaData, Entity, String) - Method in class velosurf.sql.ReverseEngineer
Read table meta data.
recipient - Variable in class velosurf.util.MailNotifier
 
REDIRECT - Static variable in class velosurf.web.l10n.LocalizationFilter
redirect method constant.
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.
refine(String) - Method in class velosurf.context.EntityReference
Refines this entity reference querying result.
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
add seach criteria to a query
reformat(String, String) - Static method in class velosurf.validation.DateRange
tries to reformat the date to match pattern conventions
refreshUserInstance(HttpSession) - Method in class velosurf.web.auth.AuthenticationFilter
 
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
Release savepoint.
remove(Object) - Method in class velosurf.context.Instance
Removes an association
remove() - Method in class velosurf.context.RowIterator
not implemented.
remove(Object) - Method in class velosurf.sql.ReadOnlyMap
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
Deprecated. Remove a parameter (from extra values).
replace(String, String, String) - Static method in class velosurf.util.Strings
replace a string by another inside a target string.
REQUEST - Static variable in class velosurf.web.auth.AuthenticationFilter
Session key used to store original pre-login request
requestURI - Variable in class velosurf.util.SavedRequest
The request URI associated with this Request.
RESET_MANUAL - Static variable in class velosurf.util.TemplateNameFilter
Deprecated. MANUAL reset method.
RESET_NONE - Static variable in class velosurf.util.TemplateNameFilter
Deprecated. NONE reset method.
RESET_PERIODIC - Static variable in class velosurf.util.TemplateNameFilter
Deprecated. PERIODIC reset method.
resetMethod - Variable in class velosurf.util.TemplateNameFilter
Deprecated. reset method.
resetPeriod - Variable in class velosurf.util.TemplateNameFilter
Deprecated. reset period.
resetTagTime() - Method in class velosurf.sql.PooledStatement
reset the time tag.
resetUri - Variable in class velosurf.util.TemplateNameFilter
Deprecated. reset uri.
resolve(Document) - Method in class velosurf.util.XIncludeResolver
Resolve includes in the document.
resolveChildren(Element) - Method in class velosurf.util.XIncludeResolver
Resolve children XML elements.
resolveDNS(String, boolean) - Static method in class velosurf.util.DNSResolver
Resolve MX DNS.
resolveLocalizedUri(HttpServletRequest, String) - Method in class velosurf.web.auth.AuthenticationFilter
 
resolveName(String) - Method in class velosurf.context.Instance
 
resolveName(String) - Method in class velosurf.model.Entity
Translates an alias to its column name.
resultEntity - Variable in class velosurf.context.RowIterator
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
Wrapped result set.
resultSet - Variable in class velosurf.sql.PooledStatement
result set.
REVERSE_FULL - Static variable in class velosurf.sql.ReverseEngineer
Full reverse engineering mode.
REVERSE_NONE - Static variable in class velosurf.sql.ReverseEngineer
No reverse engineering mode.
REVERSE_PARTIAL - Static variable in class velosurf.sql.ReverseEngineer
Partial reverse engineering mode.
REVERSE_TABLES - Static variable in class velosurf.sql.ReverseEngineer
Tables reverse engineering mode.
reverseEngineer - Variable in class velosurf.sql.Database
Reverse engineer.
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
Reverse mode.
reverseModeName - Static variable in class velosurf.sql.ReverseEngineer
Reverse engineering mode names.
rewriteUri - Variable in class velosurf.web.l10n.LocalizationFilter
rewrite uri
rollback() - Method in class velosurf.sql.ConnectionWrapper
Rollback.
rollback(Savepoint) - Method in class velosurf.sql.ConnectionWrapper
Rollback.
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.
RowConstraint - Class in velosurf.validation
This class encapsulates a constraint on a column or a set of an entity, used to validate data before an update or an insert.
RowConstraint() - Constructor for class velosurf.validation.RowConstraint
 
RowHandler - Interface in velosurf.sql
This interface represents objects having read-only properties
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(PooledStatement, 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.util.MailNotifier
 
run() - Method in class velosurf.validation.EmailCheck.FastTimeoutConnect
connection process.
running - Variable in class velosurf.sql.PreparedStatementPool
true if running.
running - Variable in class velosurf.sql.StatementPool
is the thread running?
running - Variable in class velosurf.util.MailNotifier
 

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
the saved request.
SavedRequestWrapper - Class in velosurf.util
This class provides request parameters, headers, cookies from original requrest or saved request.
SavedRequestWrapper(HttpServletRequest, SavedRequest) - Constructor for class velosurf.util.SavedRequestWrapper
Constructor
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.ConnectionPool
optional schema
schema - Variable in class velosurf.sql.Database
Schema.
schemaQuery - Variable in class velosurf.sql.DriverInfo
SQL query to set the current schema
SECONDS_IN_YEAR - Static variable in class velosurf.web.l10n.LocalizationFilter
seconds in year (for setting cookies age).
seed - Variable in class velosurf.sql.Database
Random seed used to initialize the cryptograph.
sender - Variable in class velosurf.util.MailNotifier
 
sendNotification(String, String) - Method in class velosurf.util.MailNotifier
 
servletContext - Variable in class velosurf.util.TemplateNameFilter
Deprecated. the servlet context.
ServletLogWriter - Class in velosurf.util
This class implements a writer towards the servlet log.
ServletLogWriter(ServletContext) - Constructor for class velosurf.util.ServletLogWriter
build a new ServletLogWriter.
session - Variable in class velosurf.web.auth.BaseAuthenticator
keep a reference on the session
session - Variable in class velosurf.web.l10n.HTTPLocalizerTool
keep a reference on the session
setAfterDate(Date) - Method in class velosurf.validation.DateRange
After date constraint setter.
setAutoCommit(boolean) - Method in class velosurf.sql.ConnectionWrapper
Set autocommit flag.
setBeforeDate(Date) - Method in class velosurf.validation.DateRange
Before date constraint setter.
setCaching(boolean) - Method in class velosurf.model.Attribute
Sets caching on or off
setCaching(int) - Method in class velosurf.sql.Database
Set the caching method.
setCachingMethod(int) - Method in class velosurf.model.Entity
Specify the caching method.
setCase(int) - Method in class velosurf.sql.Database
Set the case policy.
setCatalog(String) - Method in class velosurf.sql.ConnectionWrapper
Catalog setter.
setCheckConnections(boolean) - Method in class velosurf.sql.Database
Set whether or not connections are to be checked or not
setCheckInterval(long) - Method in class velosurf.sql.Database
Set the minimum check interval (in milliseconds) - connections are only checked when their last use is older than this interval.
setClean() - Method in class velosurf.context.Instance
 
setClientInfo(String, String) - Method in class velosurf.sql.ConnectionWrapper
 
setClientInfo(Properties) - Method in class velosurf.sql.ConnectionWrapper
 
setColumnValues(Map<String, Object>) - Method in class velosurf.context.Instance
Global setter that will only set values the correspond to actual columns (otherwise, use putAll(Map values)).
setConfigFile(String) - Method in class velosurf.Velosurf
Explicitely set the model configuration file.
setDatabaseAttributes(Element) - Method in class velosurf.sql.ConfigLoader
Parses database XML attributes.
setDateFormat(SimpleDateFormat) - Method in class velosurf.validation.DateRange
date format setter.
setDBReference(DBReference) - Method in class velosurf.web.auth.SimpleDBAuthenticator
externally set the db reference
setDisplayTimestamps(boolean) - Static method in class velosurf.util.Logger
whether to display timestamps.
setDriver(String) - Method in class velosurf.sql.Database
Set driver class.
setDriverInfo(DriverInfo) - Method in class velosurf.sql.ReverseEngineer
Driver infos setter.
setError(String) - Method in class velosurf.sql.Database
Set error message.
setError(String) - Method in class velosurf.util.UserContext
Last error setter.
setFKCols(List<String>) - Method in class velosurf.model.ExportedKey
Foreign key columns setter.
setFKCols(List<String>) - Method in class velosurf.model.ImportedKey
Foreign key columns setter.
setForeignKeyColumn(String) - Method in class velosurf.model.Attribute
Deprecated. since Velosurf 2.0. Use a <imported-key> tag instead.
setHoldability(int) - Method in class velosurf.sql.ConnectionWrapper
Set holdability.
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
Whether to expect an integer or not.
setInvalid() - Method in class velosurf.sql.PooledStatement
definitely mark this statement as meant to be deleted.
setLastInsertedID(Entity, long) - Method in class velosurf.util.UserContext
Set the last inserted ID for an entity.
setLocale(Locale) - Method in class velosurf.util.UserContext
Locale setter.
setLocale(Locale) - Method in class velosurf.web.l10n.HTTPLocalizerTool
Current locale setter.
setLocale(Locale) - Method in interface velosurf.web.l10n.Localizer
Locale setter.
setLocale(Locale) - Method in class velosurf.web.l10n.SimpleDBLocalizer
Locale setter.
setLocalized(List) - Method in class velosurf.model.Entity
Indicates a column as being localized.
setLocalizer(Localizer) - Method in class velosurf.util.UserContext
Localizer setter.
setLogLevel(int) - Static method in class velosurf.util.Logger
Sets the log level.
setMax(Number) - Method in class velosurf.validation.Range
Maximum value setter.
setMaxConnections(int) - Method in class velosurf.sql.Database
Set the maximum number of connections.
setMaxLength(int) - Method in class velosurf.validation.Length
Maximum length setter.
setMessage(String) - Method in class velosurf.validation.FieldConstraint
error message setter
setMethod(String) - Method in class velosurf.util.SavedRequest
Sets request method.
setMin(Number) - Method in class velosurf.validation.Range
Minimum value setter.
setMinConnections(int) - Method in class velosurf.sql.Database
Set minimum number of connections.
setMinLength(int) - Method in class velosurf.validation.Length
Min length setter.
setNotificationLevel(int) - Static method in class velosurf.util.Logger
 
setNotificationParams(String, String, String) - Static method in class velosurf.util.Logger
 
setObfuscated(List<String>) - 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.
setOrder(String) - Method in class velosurf.model.ExportedKey
Set order
setParamNamesLists(List<List<String>>) - Method in class velosurf.model.Transaction
Set the list of list of parameters.
setParams(List) - Method in class velosurf.sql.PooledPreparedStatement
set prepared parameter values.
setPassword(String) - Method in class velosurf.sql.Database
Set the database password.
setPathInfo(String) - Method in class velosurf.util.SavedRequest
Sets path info.
setQueries(List<String>) - Method in class velosurf.model.Transaction
Set the list of queries.
setQuery(String) - Method in class velosurf.model.Action
Sets the query.
setQuery(String) - Method in class velosurf.model.Attribute
Sets the query.
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
set read-only flag
setReadOnly(boolean) - Method in class velosurf.sql.Database
Set the read-only state.
setRequestURI(String) - Method in class velosurf.util.SavedRequest
Sets request URI.
setResultEntity(String) - Method in class velosurf.model.Attribute
Sets the result entity.
setResultType(int) - Method in class velosurf.model.Attribute
Sets the result type.
setReverseMode(int) - Method in class velosurf.sql.ReverseEngineer
Set reverse mode.
setSavepoint() - Method in class velosurf.sql.ConnectionWrapper
Savepoint setter.
setSavepoint(String) - Method in class velosurf.sql.ConnectionWrapper
Set named savepoint.
setSchema(String) - Method in class velosurf.sql.Database
Set schema name.
setSeed(String) - Method in class velosurf.sql.Database
Set the encryption seed.
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
Setter map.
setTransactionIsolation(int) - Method in class velosurf.sql.ConnectionWrapper
Transaction isolation setter.
setTypeMap(Map) - Method in class velosurf.sql.ConnectionWrapper
Set type map.
setURL(String) - Method in class velosurf.sql.Database
Set the database URL.
setUser(String) - Method in class velosurf.sql.Database
Set the database user.
setUserContext(UserContext) - Method in class velosurf.context.DBReference
User context setter
setUserContext(UserContext) - Method in class velosurf.sql.Database
Set this database user context (thread local)
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
Constructor.
size() - Method in class velosurf.cache.Cache
Getter for the size of the cache.
size() - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
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
Deprecated. Get the number of parameters.
sizeAll - Variable in class velosurf.util.HashMultiMap
total number of values.
smtpCheck - Variable in class velosurf.validation.EmailCheck
whether to check smtp server.
socket - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
wrapped socket.
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
Sort columns in target the same way unordered would have to be sorted to be like ordered.
source - Variable in class velosurf.sql.ReadOnlyMap
 
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
 
start() - Method in class velosurf.util.MailNotifier
 
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.PooledSimpleStatement
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, boolean, long) - Constructor for class velosurf.sql.StatementPool
build a new pool.
statements - Variable in class velosurf.sql.StatementPool
statements.
statementsMap - Variable in class velosurf.sql.PreparedStatementPool
map queries -> statements.
stop() - Method in class velosurf.util.MailNotifier
 
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
default localized string field name.
STRING_FIELD_KEY - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
localized string field name parameter key.
stringField - Static variable in class velosurf.web.l10n.SimpleDBLocalizer
localized string field name.
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
 
subject - Variable in class velosurf.util.MailNotifier.Notification
 
supportedLocales - Variable in class velosurf.web.l10n.LocalizationFilter
supported locales.

T

table - Variable in class velosurf.model.Entity
Table.
table - Variable in class velosurf.util.DBResourceLoader
 
table - Variable in class velosurf.validation.Reference
table
tagTime - Variable in class velosurf.sql.PooledStatement
time tag.
templateExtension - Variable in class velosurf.util.TemplateNameFilter
Deprecated. targeted template extension.
TemplateNameFilter - Class in velosurf.util
Deprecated. 
TemplateNameFilter() - Constructor for class velosurf.util.TemplateNameFilter
Deprecated.  
templates - Variable in class velosurf.util.TemplateNameFilter
Deprecated.  
timeout - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
timeout.
timestampField - Variable in class velosurf.util.DBResourceLoader
 
TOOLBOX_CONFIG_FILE_KEY - Static variable in class velosurf.web.VelosurfTool
key used in the toolbox (toolbox.xml) to set the name of the config file.
TOOLBOX_CONFIG_FILE_KEY2 - Static variable in class velosurf.web.VelosurfTool
alternate key for the toolbox
ToolFinder - Class in velosurf.util
An utility class used to find a tool in the toolbox.
ToolFinder() - Constructor for class velosurf.util.ToolFinder
 
toolsLibraryVersion - Static variable in class velosurf.util.ToolFinder
 
toolsMapKey - Static variable in class velosurf.util.ToolFinder
 
toString() - Method in class velosurf.context.DBReference
String representation of this db reference.
toString() - Method in class velosurf.context.EntityReference
toString, used for debugging
toString() - Method in class velosurf.context.Instance
Inherit toString to avoid listing cached AttributeReference
toString() - Method in class velosurf.model.Action
For debugging purposes.
toString() - Method in class velosurf.model.Attribute
Debug method.
toString() - Method in class velosurf.model.ExportedKey
Debug method.
toString() - Method in class velosurf.model.ImportedKey
Debug method.
toString() - Method in class velosurf.model.Transaction
Debug method.
toString() - Method in class velosurf.validation.DateRange
return a string representation for this constraint.
toString() - Method in class velosurf.validation.EmailCheck
return a string representation for this constraint.
toString() - Method in class velosurf.validation.Length
return a string representation for this constraint.
toString() - Method in class velosurf.validation.NotEmpty
return a string representation for this constraint.
toString() - Method in class velosurf.validation.NotNull
return a string representation for this constraint.
toString() - Method in class velosurf.validation.OneOf
return a string representation for this constraint.
toString() - Method in class velosurf.validation.Range
return a string representation for this constraint.
toString() - Method in class velosurf.validation.Reference
return a string representation for this constraint.
toString() - Method in class velosurf.validation.Regex
return a string representation for this constraint.
toString() - Method in class velosurf.web.HttpQueryTool
Deprecated.  
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 update/delete/insert 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.
trimSpacesAndEOL(String) - Static method in class velosurf.util.Strings
trim spaces and EOL characters.
type - Variable in class velosurf.model.Attribute
Attribute type.
types - Variable in class velosurf.model.Entity
Column types

U

uhe - Variable in class velosurf.validation.EmailCheck.FastTimeoutConnect
throws unknown host exception.
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
Unwrap the connection.
unwrap(Class<T>) - Method in class velosurf.sql.ConnectionWrapper
 
updatableCols - Variable in class velosurf.model.Entity
Non-key column names in natural order
update(Map<String, Object>) - 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.
update(Map<String, Object>) - Method in class velosurf.context.Instance
Update the row associated with this Instance from actual values.
update(Map<String, Object>) - Method in class velosurf.model.Entity
Update a row based on a set of values that must contain key values.
update(String) - Method in class velosurf.sql.Database
Issue an update query.
update(List) - Method in class velosurf.sql.PooledPreparedStatement
issue the modification query of this prepared statement.
update(String) - Method in class velosurf.sql.PooledSimpleStatement
issue the update contained in the query.
update1 - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
Update method, first form.
update2 - Variable in class velosurf.context.ExternalObjectWrapper.ClassInfo
Update method, second form.
updateCache(HashMap, Object, Object) - Static method in class velosurf.util.FastHttpDateFormat
Updates cache.
UPPERCASE - Static variable in class velosurf.sql.Database
'uppercase' case-sensitive policy.
upsert(Map<String, Object>) - Method in class velosurf.context.EntityReference
Upsert a row in this entity's table.
upsert() - Method in class velosurf.context.Instance
Insert or update, depending on whether or not a value for the id key is present and does exist
upsert(Map<String, Object>) - Method in class velosurf.context.Instance
Insert or update, depending on whether or not a value for the id key is present and does exist
upsert(Map<String, Object>) - Method in class velosurf.model.Entity
Upsert a row based on a set of values (entity's primary key must be one column long - it can be omitted from provided values)
url - Variable in class velosurf.sql.ConnectionPool
database url
url - Variable in class velosurf.sql.Database
Database url.
useLoginReferer - Variable in class velosurf.web.auth.AuthenticationFilter
Should we use the referer to login.do?
user - Variable in class velosurf.sql.ConnectionPool
user
user - Variable in class velosurf.sql.Database
Database user.
USER - Variable in class velosurf.web.auth.AuthenticationFilter
Session key used to store logged user object
USER_BY_LOGIN_DEFAULT - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
default name of the "user by login" root attribute.
USER_BY_LOGIN_KEY - Static variable in class velosurf.web.auth.SimpleDBAuthenticator
key used in toolbox.xml to indicate the "user by login" root attribute.
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
"user by login" root attribute name.
userContext - Variable in class velosurf.sql.Database
Thread-local 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
Constructor.

V

valid - Variable in class velosurf.sql.PooledStatement
valid statement?
validate(Map<String, Object>) - Method in class velosurf.context.EntityReference
Validate values of this instance.
validate() - Method in class velosurf.context.Instance
Validate this instance against declared contraints.
validate(Map<String, Object>) - Method in class velosurf.model.Entity
Validate a set of values.
validate(Object, Locale) - Method in class velosurf.validation.DateRange
Validate data against this constraint.
validate(Object) - Method in class velosurf.validation.EmailCheck
Validate data against this constraint.
validate(Object, Locale) - Method in class velosurf.validation.FieldConstraint
validate data against this constraint.
validate(Object) - Method in class velosurf.validation.FieldConstraint
validate data against this constraint.
validate(Object) - Method in class velosurf.validation.Length
Validate data against this constraint.
validate(Object) - Method in class velosurf.validation.NotEmpty
Validate datea against this constraint.
validate(Object) - Method in class velosurf.validation.NotNull
Validate datea against this constraint.
validate(Object) - Method in class velosurf.validation.OneOf
Validate data against this constraint.
validate(Object) - Method in class velosurf.validation.Range
Validate data against this constraint.
validate(Object) - Method in class velosurf.validation.Reference
Validate data against this constraint.
validate(Object) - Method in class velosurf.validation.Regex
Validate data against this constraint.
validationErrors - Variable in class velosurf.util.UserContext
list of validation error messages
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
 
validEmail - Static variable in class velosurf.validation.EmailCheck
valid email pattern.
valueParserSubClass - Static variable in class velosurf.sql.PooledPreparedStatement
org.apache.velocity.tools.generic.ValueParser$ValueParserSub class, if found in the classpath.
values() - Method in class velosurf.sql.ReadOnlyMap
Not implemented.
values - Variable in class velosurf.validation.OneOf
 
values() - Method in class velosurf.web.HttpQueryTool
Deprecated. Get the collection of values
velosurf - package velosurf
Contains the Velosurf tool.
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
Empty constructor.
Velosurf(String) - Constructor for class velosurf.Velosurf
Constructor taking a File object as model configuration file.
Velosurf(File) - Constructor for class velosurf.Velosurf
Constructor taking a File object as model configuration file.
Velosurf(InputStream) - Constructor for class velosurf.Velosurf
Deprecated. use others constructor
velosurf.cache - package velosurf.cache
Contains all classes that implement caching.
velosurf.context - package velosurf.context
Contains all classes that can be accessed from inside a Velocity template.
velosurf.model - package velosurf.model
Classes linked to the data model : entities, attributes and actions
velosurf.sql - package velosurf.sql
Contains all core classes dealing with the database itself.
velosurf.util - package velosurf.util
This package gathers miscellanous utility classes.
velosurf.validation - package velosurf.validation
Contains all classes related to data validation constraints.
velosurf.web - package velosurf.web
Contains the Velocity View Tools version of the Velosurf tool, plus an http query parameter parser tool.
velosurf.web.auth - package velosurf.web.auth
Contains classes related to authentication.
velosurf.web.l10n - package velosurf.web.l10n
Contains classes related to localization.
VelosurfLogChute - Class in velosurf.util
 
VelosurfLogChute() - Constructor for class velosurf.util.VelosurfLogChute
 
VelosurfTool - Class in velosurf.web
This class is a tool meant to be referenced in toolbox.xml (VelocityTools View 1.4) or tools.xml (VelocityTools View 2.0+)
VelosurfTool() - Constructor for class velosurf.web.VelosurfTool
build a new VelosurfTool.
VelosurfUberspector - Class in velosurf.util
This uberspector allows getting a property while specifying extra external parameters to the property.
VelosurfUberspector() - Constructor for class velosurf.util.VelosurfUberspector
 
VelosurfUberspector.VelParametrizedGetterMethod - Class in velosurf.util
 
VelosurfUberspector.VelParametrizedGetterMethod(String, Method) - Constructor for class velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
 

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.
warnedAboutAttributeTagDeprecation - Variable in class velosurf.sql.ConfigLoader
 
WEBAPP_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.
WEBAPP_CONFIG_FILE_KEY2 - Static variable in class velosurf.web.VelosurfTool
alternate webapp key
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
write 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
writer - Variable in class velosurf.util.WriterOutputStream
wrapped writer.
WriterOutputStream - Class in velosurf.util
 
WriterOutputStream(Writer) - Constructor for class velosurf.util.WriterOutputStream
Construct a new WriterOutputStream, bound to the specified writer.

X

xincludeResolver - Variable in class velosurf.sql.ConfigLoader
<xi:include> tag resolver.
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
Constructor for a webapp resolver.
XIncludeResolver(String) - Constructor for class velosurf.util.XIncludeResolver
Constructor outside a webapp.

Y

y4 - Static variable in class velosurf.validation.DateRange
'YYYY' date format.
ymd - Static variable in class velosurf.validation.DateRange
yyyyMMdd date format.

_

_createArrayOf - Static variable in class velosurf.sql.ConnectionWrapper
 
_createBlob - Static variable in class velosurf.sql.ConnectionWrapper
 
_createClob - Static variable in class velosurf.sql.ConnectionWrapper
 
_createNClob - Static variable in class velosurf.sql.ConnectionWrapper
 
_createSQLXML - Static variable in class velosurf.sql.ConnectionWrapper
 
_createStruct - Static variable in class velosurf.sql.ConnectionWrapper
 
_getClientInfo - Static variable in class velosurf.sql.ConnectionWrapper
 
_getClientInfo2 - Static variable in class velosurf.sql.ConnectionWrapper
 
_isValid - Static variable in class velosurf.sql.ConnectionWrapper
 
_isWrapperFor - Static variable in class velosurf.sql.ConnectionWrapper
 
_setClientInfo - Static variable in class velosurf.sql.ConnectionWrapper
 
_setClientInfo2 - Static variable in class velosurf.sql.ConnectionWrapper
 

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~