Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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 alis.
addAttribute(Attribute)
- Method in class velosurf.model.
Entity
Add a new attribute.
addColumn(String)
- Method in class velosurf.model.
Entity
Add a column at the end of the sequential list of named columns.
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
aliasByColumn
- Variable in class velosurf.model.
Entity
Alias by column map.
aliasToColumn(String)
- Method in class velosurf.model.
Entity
Translates an alias to its column name.
aliasToColumn(List<String>)
- Method in class velosurf.model.
Entity
Translate a list of aliases to a list of column names.
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
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
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.
buildsTemplateNamesList(HttpServletResponse)
- Method in class velosurf.util.
TemplateNameFilter
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.
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.
checkDelay
- Static variable in class velosurf.sql.
PreparedStatementPool
check delay.
checkDelay
- Static variable in class velosurf.sql.
StatementPool
delay between checks.
checkDNS(String)
- Method in class velosurf.validation.
Email
check DNS.
checkLogin(String, String)
- Method in class velosurf.web.auth.
BaseAuthenticator
Check received answer.
checkSMTP(String, String)
- Method in class velosurf.validation.
Email
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
Clear extra parameters.
clearCache()
- Method in class velosurf.model.
Entity
Clear the cache.
clearRefinement()
- Method in class velosurf.context.
AttributeReference
Clears any refinement made on this attribute.
clearRefinement()
- Method in class velosurf.context.
EntityReference
Clears any refinement made on this entity.
clearValidationErrors()
- Method in class velosurf.util.
UserContext
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.model.
Entity.FieldConstraintInfo
column.
column
- Variable in class velosurf.validation.
Reference
column
columnByAlias
- Variable in class velosurf.model.
Entity
Column by alias map.
columnNames
- Variable in class velosurf.sql.
PooledPreparedStatement
column names.
columnNames
- Variable in class velosurf.sql.
PooledSimpleStatement
column names in natural order.
columns
- Variable in class velosurf.model.
Entity
Column names in natural order.
columnToAlias(String)
- Method in class velosurf.model.
Entity
Translate a column name to an alias.
commit()
- Method in class velosurf.sql.
ConnectionWrapper
Commit.
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 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.
Email.FastTimeoutConnect
Connect.
connection
- Variable in class velosurf.sql.
ConnectionWrapper
Wrapped connection.
connection
- Variable in class velosurf.sql.
PooledPreparedStatement
the connection.
connection
- Variable in class velosurf.sql.
PooledSimpleStatement
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.
constraint
- Variable in class velosurf.model.
Entity.FieldConstraintInfo
constraint.
constraints
- Variable in class velosurf.model.
Entity
Constraint by column name map.
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
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
Check for the presence of a value.
context
- Variable in class velosurf.util.
XIncludeResolver
servlet context
context
- Variable in class velosurf.web.
HttpQueryTool
view 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.
createConnection()
- Method in class velosurf.sql.
ConnectionPool
Create a connection.
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.
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.
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.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.
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
- 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)
- Method in class velosurf.model.
Entity
Delete a row based on (key) values.
deobfuscate(Object)
- Method in class velosurf.context.
DBReference
De-obfuscate the given value.
deobfuscate(Object)
- Method in class velosurf.model.
Entity
De-obfuscate given value.
deobfuscate(Object)
- Method in class velosurf.sql.
Database
De-obfuscate the given value.
deobfuscate(Object)
- Method in class velosurf.
Velosurf
De-obfuscate the given value.
DESCryptograph
- Class in
velosurf.util
Implemenation of the cryptograph for the DES algorithm.
DESCryptograph()
- Constructor for class velosurf.util.
DESCryptograph
Constructor.
destroy()
- Method in class velosurf.util.
TemplateNameFilter
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.
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.
Email
whether to check dns.
doFilter(ServletRequest, ServletResponse, FilterChain)
- Method in class velosurf.util.
TemplateNameFilter
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.
done
- Variable in class velosurf.validation.
Email.FastTimeoutConnect
connection successfull?
doPost(HttpServletRequest, HttpServletResponse)
- Method in class velosurf.util.
NullServlet
doPost handler.
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
Email
- Class in
velosurf.validation
An 'email' constraint.
Email()
- Constructor for class velosurf.validation.
Email
Default constructor.
Email(boolean, boolean)
- Constructor for class velosurf.validation.
Email
Constructor.
Email.FastTimeoutConnect
- Class in
velosurf.validation
A socket with short timeout.
Email.FastTimeoutConnect(String, int, int)
- Constructor for class velosurf.validation.
Email.FastTimeoutConnect
Constructor.
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.FieldConstraintInfo
- Class in
velosurf.model
constraints.
Entity.FieldConstraintInfo(String, FieldConstraint)
- Constructor for class velosurf.model.
Entity.FieldConstraintInfo
Field constraint info constructor.
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
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>)
- 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
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)
- 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?
fetchQuery
- Variable in class velosurf.model.
Entity
the SQL query used to fetch one instance of this entity.
FieldConstraint
- Class in
velosurf.validation
This class encapsulates a constraint on a column of an entity, used to validate data before an update or an insert.
FieldConstraint()
- Constructor for class velosurf.validation.
FieldConstraint
filterID(Long)
- Method in class velosurf.model.
Entity
Obfuscate this id value if needed.
finalize()
- Method in class velosurf.sql.
PreparedStatementPool
clear statements on exit.
finalize()
- Method in class velosurf.sql.
StatementPool
close statements on exit.
findConfig()
- Static method in class velosurf.
Velosurf
Tries to find a 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(int)
- Method in class velosurf.context.
AttributeReference
Dummy method.
get(Object)
- Method in class velosurf.context.
DBReference
Generic getter, used to access entities or root attributes by their name.
get(int)
- Method in class velosurf.context.
EntityReference
Dummy method.
get(Object)
- Method in class velosurf.context.
ExternalObjectWrapper
Wrapper generic getter.
get(String)
- 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
Generic 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.
getAttribute(String)
- Method in class velosurf.model.
Entity
Get a named attribute.
getAttribute(String)
- Method in class velosurf.sql.
Database
Get a root attribute.
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.
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.
getColumnNames(ResultSet)
- Static method in class velosurf.sql.
SqlUtil
get the column nams of a result set
getColumns()
- Method in class velosurf.context.
EntityReference
Getter for the list of column names.
getColumns()
- Method in class velosurf.model.
Entity
Getter for the list of column names.
getConnection()
- Method in class velosurf.sql.
ConnectionPool
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.
getCookies()
- Method in class velosurf.util.
SavedRequest
Returns list of cookies.
getCookies()
- Method in class velosurf.util.
SavedRequestWrapper
The default behavior of this method is to return getCookies() on the wrapped request object.
getCurrentDate()
- Static method in class velosurf.util.
FastHttpDateFormat
Gets the current date in HTTP format.
getDateHeader(String)
- Method in class velosurf.util.
SavedRequestWrapper
The default behavior of this method is to return getDateHeader(String name) on the wrapped request object.
getDB()
- Method in class velosurf.model.
Action
Get the database connection.
getDB()
- Method in class velosurf.model.
Attribute
Gets the database connection.
getDB()
- Method in class velosurf.model.
Entity
Get the database connection.
getDefaultConnection()
- Static method in class velosurf.web.
VelosurfTool
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(UserContext)
- 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()
- 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, UserContext)
- Static method in class velosurf.web.
VelosurfTool
return a db reference on the existing Database for the default config file and servlet context, or null if an error occurs.
getDefaultInstance(ServletContext)
- Static method in class velosurf.web.
VelosurfTool
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()
- Method in class velosurf.context.
Instance
Get this Instance's Entity.
getEntity(String)
- Method in class velosurf.sql.
Database
Get an existing entity.
getEntityByTable(String, String)
- Method in class velosurf.sql.
ReverseEngineer
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.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.
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(Map<String, Object>)
- Method in class velosurf.model.
Entity
Get an instance from its values contained in a Map object.
getInstance(String, String, String)
- Static method in class velosurf.sql.
Database
Get a unique Database from connection params.
getInstance(String, String, String, String)
- Static method in class velosurf.sql.
Database
Get a unique Database from connection params.
getInstance(String, String, String, String, String)
- Static method in class velosurf.sql.
Database
Get a unique Database from connection params.
getInstance(String)
- Static method in class velosurf.sql.
Database
Get a unique Database from config filename.
getInstance(InputStream)
- Static method in class velosurf.sql.
Database
Get a new connection.
getInstance(InputStream, XIncludeResolver)
- Static method in class velosurf.sql.
Database
Get a new connection.
getInstance(String, UserContext)
- Static method in class velosurf.web.
VelosurfTool
return a db reference on the existing Database for the specified config file, or null if it isn't already open.
getInstance(String)
- Static method in class velosurf.web.
VelosurfTool
return a db reference on the existing Database for the specified config file, or null if it isn't already open.
getInstance(String, ServletContext, UserContext)
- Static method in class velosurf.web.
VelosurfTool
return a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs.
getInstance(String, ServletContext)
- Static method in class velosurf.web.
VelosurfTool
return a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs.
getInternal(Object)
- Method in class velosurf.context.
Instance
Internal getter.
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.
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.
getLogLevel()
- Static method in class velosurf.util.
Logger
Gets the current log level.
getMagicNumber(String)
- Method in class velosurf.sql.
Database
Get the integer key used to share schema entities among instances.
getMatchedLocale(String)
- Method in class velosurf.web.l10n.
LocalizationFilter
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.
SavedRequest