|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Entity | |
|---|---|
| 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.util | Gather miscellanous utility classes. |
| Uses of Entity in velosurf.context |
|---|
| Fields in velosurf.context declared as Entity | |
|---|---|
protected Entity |
Instance.entity
this Instance's Entity |
protected Entity |
EntityReference.entity
the wrapped entity |
protected Entity |
RowIterator.resultEntity
the resulting entity |
| Methods in velosurf.context with parameters of type Entity | |
|---|---|
void |
Instance.initialize(Entity entity)
Meant to be overloaded if needed |
| Constructors in velosurf.context with parameters of type Entity | |
|---|---|
EntityReference(Entity entity)
Builds a new EntityReference. |
|
EntityReference(Entity entity,
UserContext userContext)
Builds a new EntityReference. |
|
ExternalObjectWrapper(Entity entity,
java.lang.Object object)
Builds a new PlaiObjectWrapper |
|
Instance(Entity entity)
Build an empty instance for the given entity |
|
RowIterator(Pooled pooledStatement,
java.sql.ResultSet resultSet,
Entity resultEntity)
Build a new RowIterator |
|
| Uses of Entity in velosurf.model |
|---|
| Fields in velosurf.model declared as Entity | |
|---|---|
protected Entity |
Action.entity
the entity this action belongs to |
protected Entity |
Attribute.entity
parent entity |
| Methods in velosurf.model with parameters of type Entity | |
|---|---|
ExportedKey |
Entity.findExportedKey(Entity fkEntity,
java.util.List<java.lang.String> fkCols)
|
ImportedKey |
Entity.findImportedKey(Entity pkEntity,
java.util.List<java.lang.String> fkCols)
|
| Constructors in velosurf.model with parameters of type Entity | |
|---|---|
Action(java.lang.String name,
Entity entity)
Constructor |
|
Attribute(java.lang.String name,
Entity entity)
|
|
ExportedKey(java.lang.String name,
Entity entity,
java.lang.String pkEntity,
java.util.List<java.lang.String> fkCols)
|
|
ImportedKey(java.lang.String name,
Entity entity,
java.lang.String pkEntity,
java.util.List<java.lang.String> fkCols)
|
|
Transaction(java.lang.String name,
Entity entity)
Builds a new transaction |
|
| Uses of Entity in velosurf.sql |
|---|
| Fields in velosurf.sql declared as Entity | |
|---|---|
protected Entity |
PooledPreparedStatement.entity
the resulting entity |
protected Entity |
Database.rootEntity
root entity that contains all root attributes and actions |
| Fields in velosurf.sql with type parameters of type Entity | |
|---|---|
protected java.util.Map<java.lang.String,Entity> |
Database.entities
map name->entity |
| Methods in velosurf.sql that return Entity | |
|---|---|
Entity |
Database.getEntity(java.lang.String name)
get an existing entity |
Entity |
Database.getEntityCreate(java.lang.String name)
get a named entity or creeate it if it doesn't exist |
Entity |
Database.getRootEntity()
|
| Methods in velosurf.sql that return types with arguments of type Entity | |
|---|---|
java.util.Map<java.lang.String,Entity> |
Database.getEntities()
|
| Methods in velosurf.sql with parameters of type Entity | |
|---|---|
protected void |
ReverseEngineer.addCorrespondance(java.lang.String tableName,
Entity entity)
|
void |
Database.addEntity(Entity entity)
add a new entity |
private void |
ReverseEngineer.addExportedKey(Entity entity,
java.lang.String fkSchema,
java.lang.String fkTable,
java.util.List<java.lang.String> fkCols,
java.util.List<java.lang.String> pkCols)
|
private void |
ReverseEngineer.addImportedKey(Entity entity,
java.lang.String pkSchema,
java.lang.String pkTable,
java.util.List<java.lang.String> pkCols,
java.util.List<java.lang.String> fkCols)
|
private void |
ConfigLoader.defineActions(org.jdom.Element parent,
Entity entity)
|
private void |
ConfigLoader.defineAttributes(org.jdom.Element parent,
Entity entity)
|
private void |
ConfigLoader.defineConstraints(org.jdom.Element element,
Entity entity)
|
private void |
ConfigLoader.defineForeignKeys(org.jdom.Element parent,
Entity entity)
|
java.lang.Object |
PooledPreparedStatement.fetch(java.util.List params,
Entity resultEntity)
get a unique object by id and specify the Entity this object is an Instance of |
java.lang.Object |
PooledPreparedStatement.fetch(ReadOnlyMap params,
Entity resultEntity)
get a unique object by id and specify the Entity this object is an Instance of |
java.lang.Object |
PooledStatement.fetch(java.lang.String query,
Entity resultEntity)
fetch a single row, specyfing the entity it belongs to |
RowIterator |
PooledPreparedStatement.query(java.util.List params,
Entity resultEntity)
gets the rowset |
RowIterator |
PooledStatement.query(java.lang.String query,
Entity resultEntity)
gets the resultset for this statement, specifying the entity the results belong to |
RowIterator |
Database.query(java.lang.String query,
Entity entity)
issue a query, knowing the resulting entity |
private void |
ReverseEngineer.readForeignKeys(java.sql.DatabaseMetaData meta,
Entity entity,
java.lang.String tableName)
|
private void |
ReverseEngineer.readTableMetaData(java.sql.DatabaseMetaData meta,
Entity entity,
java.lang.String tableName)
|
| Uses of Entity in velosurf.util |
|---|
| Fields in velosurf.util with type parameters of type Entity | |
|---|---|
private java.util.Map<Entity,java.lang.Long> |
UserContext.lastInsertedIDs
|
| Methods in velosurf.util with parameters of type Entity | |
|---|---|
long |
UserContext.getLastInsertedID(Entity entity)
|
void |
UserContext.setLastInsertedID(Entity entity,
long id)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||