|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Database | |
|---|---|
| velosurf.context | Contains all classes that can be accessed from inside a Velocity template. |
| velosurf.model | Classes linked to the data model : entities, attributes and actions Package Specification |
| velosurf.sql | Contains all core classes dealing with the database itself. |
| velosurf.validation | |
| velosurf.web | Contains the velocity-tools version of the Velosurf tool, plus an http query parameter parser tool. |
| Uses of Database in velosurf.context |
|---|
| Fields in velosurf.context declared as Database | |
|---|---|
protected Database |
Instance.db
the main database connection |
protected Database |
DBReference.db
the wrapped database connection |
| Methods in velosurf.context with parameters of type Database | |
|---|---|
protected void |
DBReference.init(Database db)
protected initialization method |
protected void |
DBReference.init(Database db,
UserContext userContext)
protected initialization method |
| Constructors in velosurf.context with parameters of type Database | |
|---|---|
DBReference(Database db)
Constructs a new database reference |
|
DBReference(Database db,
UserContext userContext)
Constructs a new database reference |
|
| Uses of Database in velosurf.model |
|---|
| Fields in velosurf.model declared as Database | |
|---|---|
protected Database |
Action.db
the satabase connection |
protected Database |
Entity.db
the database connection |
protected Database |
Attribute.db
database connection |
| Methods in velosurf.model that return Database | |
|---|---|
Database |
Action.getDB()
get the database connection |
Database |
Entity.getDB()
get the database connection |
Database |
Attribute.getDB()
gets the database connection |
| Constructors in velosurf.model with parameters of type Database | |
|---|---|
Entity(Database db,
java.lang.String name,
boolean readOnly,
int cachingMethod)
Constructor reserved for the framework |
|
| Uses of Database in velosurf.sql |
|---|
| Fields in velosurf.sql declared as Database | |
|---|---|
private Database |
ConfigLoader._database
|
private Database |
ReverseEngineer.db
|
| Methods in velosurf.sql that return Database | |
|---|---|
static Database |
Database.getInstance(java.io.InputStream config)
get a new connection |
static Database |
Database.getInstance(java.io.InputStream config,
XIncludeResolver xincludeResolver)
get a new connection |
static Database |
Database.getInstance(java.lang.String configFilename)
get a unique Database from config filename |
static Database |
Database.getInstance(java.lang.String user,
java.lang.String password,
java.lang.String url)
get a unique Database from connection params |
static Database |
Database.getInstance(java.lang.String user,
java.lang.String password,
java.lang.String url,
java.lang.String driver)
get a unique Database from connection params |
static Database |
Database.getInstance(java.lang.String user,
java.lang.String password,
java.lang.String url,
java.lang.String driver,
java.lang.String schema)
get a unique Database from connection params |
| Constructors in velosurf.sql with parameters of type Database | |
|---|---|
ConfigLoader(Database db)
|
|
ConfigLoader(Database db,
XIncludeResolver xincludeResolver)
|
|
ReverseEngineer(Database database)
constructor |
|
| Uses of Database in velosurf.validation |
|---|
| Fields in velosurf.validation declared as Database | |
|---|---|
protected Database |
Reference._db
|
| Constructors in velosurf.validation with parameters of type Database | |
|---|---|
Reference(Database db,
java.lang.String table,
java.lang.String column)
Constructor. |
|
| Uses of Database in velosurf.web |
|---|
| Fields in velosurf.web with type parameters of type Database | |
|---|---|
protected static java.util.Map<java.lang.String,Database> |
VelosurfTool.dbMap
database connections |
| Methods in velosurf.web that return Database | |
|---|---|
protected static Database |
VelosurfTool.getConnection(java.lang.String configFile)
returns the existing Database for the specified config file, or null if it isn't already open. |
protected static Database |
VelosurfTool.getConnection(java.lang.String configFile,
javax.servlet.ServletContext servletContext)
returns the existing Database for the specified config file and servlet context, or null if an error occurs. |
protected static Database |
VelosurfTool.getDefaultConnection()
returns the existing Database for the default config file, or null if it does not already exist. |
protected static Database |
VelosurfTool.getDefaultConnection(javax.servlet.ServletContext servletContext)
returns the existing Database for the default config file and servlet context, or null if an error occurs. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||