|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OrmUjo | |
|---|---|
| org.ujoframework.core | The core classes. |
| org.ujoframework.implementation.orm | |
| org.ujoframework.orm | The ORM support. |
| org.ujoframework.orm.ao | |
| org.ujoframework.orm.metaModel | |
| org.ujoframework.orm.sample | |
| Uses of OrmUjo in org.ujoframework.core |
|---|
| Methods in org.ujoframework.core with type parameters of type OrmUjo | ||
|---|---|---|
static
|
UjoIterator.getInstance(Query<T> query)
|
|
| Uses of OrmUjo in org.ujoframework.implementation.orm |
|---|
| Classes in org.ujoframework.implementation.orm that implement OrmUjo | |
|---|---|
class |
OrmTable<UJO_IMPL extends Ujo>
A simple implementation of an ORM solution. |
| Uses of OrmUjo in org.ujoframework.orm |
|---|
| Classes in org.ujoframework.orm with type parameters of type OrmUjo | |
|---|---|
class |
Query<UJO extends OrmUjo>
ORM query. |
| Methods in org.ujoframework.orm with type parameters of type OrmUjo | ||
|---|---|---|
|
Session.createQuery(java.lang.Class<UJO> aClass)
For all rows. |
|
|
Session.createQuery(java.lang.Class<UJO> aClass,
Criterion<UJO> criterion)
|
|
|
Session.createQuery(Criterion<UJO> criterion)
The table class is derived from the first criterion column. |
|
|
Session.delete(java.lang.Class<UJO> tableClass,
Criterion<UJO> criterion)
Delete all object object by the criterion from parameter. |
|
|
Session.delete(Criterion<UJO> criterion)
Delete all object object by the criterion from parameter. |
|
protected
|
Session.delete(MetaTable tableModel,
Criterion<UJO> criterion)
Delete all objects object form parameter Warning: method does not remove deleted object from internal cache, however you can call method clearCache() to release all objects from the cache. |
|
|
Session.getDatabase(java.lang.Class<DB> dbType)
Returns a Database instance |
|
|
Session.getRowCount(Query<UJO> query)
Returns a count of rows |
|
|
Session.iterateInternal(RelationToMany property,
OrmUjo value)
Iterate property of values |
|
|
Session.load(java.lang.Class<UJO> tableType,
java.lang.Object id)
Load UJO by a unique id. |
|
|
OrmHandler.loadDatabase(java.lang.Class<UJO>... databaseModels)
Load a meta-data and create database tables |
|
|
OrmHandler.loadDatabase(java.lang.Class<UJO> databaseModel)
Load a meta-data and create database tables |
|
|
Session.loadInternal(UjoProperty relatedProperty,
java.lang.Object id,
boolean mandatory)
Load UJO by a unique id. |
|
| Methods in org.ujoframework.orm that return OrmUjo | |
|---|---|
OrmUjo |
Session.findCache(java.lang.Class type,
java.lang.Object... pkeys)
Find object from internal cache |
OrmUjo |
Session.findCache(java.lang.Class type,
java.lang.Object pkey)
Find object from internal cache |
| Methods in org.ujoframework.orm with parameters of type OrmUjo | ||
|---|---|---|
void |
JdbcStatement.assignValue(MetaColumn column,
java.lang.Object value,
OrmUjo bo)
Add a next value to a SQL prepared statement. |
|
void |
JdbcStatement.assignValue(OrmUjo table,
MetaColumn column)
Add a next value to a SQL prepared statement. |
|
void |
JdbcStatement.assignValues(OrmUjo bo)
Assign values into the prepared statement |
|
void |
JdbcStatement.assignValues(OrmUjo table,
java.util.List<MetaColumn> columns)
Assign values into the prepared statement |
|
protected Criterion |
Session.createPkCriterion(OrmUjo bo)
Returns an criterion by a PrimaryKey |
|
boolean |
Session.delete(OrmUjo bo)
Delete one object from the parameters. |
|
|
Session.iterateInternal(RelationToMany property,
OrmUjo value)
Iterate property of values |
|
protected void |
JdbcStatement.logValue(OrmUjo bo,
UjoProperty property)
Log a value value into a text format. |
|
java.lang.Appendable |
SqlDialect.printInsert(OrmUjo bo,
java.lang.Appendable out)
Print an SQL INSERT statement. |
|
void |
Session.save(OrmUjo bo)
INSERT object into table. |
|
int |
Session.update(OrmUjo bo)
UPDATE object into table. |
|
| Method parameters in org.ujoframework.orm with type arguments of type OrmUjo | |
|---|---|
MetaTable |
OrmHandler.findTableModel(java.lang.Class<? extends OrmUjo> dbClass)
Find a table model by the dbClass. |
| Uses of OrmUjo in org.ujoframework.orm.ao |
|---|
| Methods in org.ujoframework.orm.ao with parameters of type OrmUjo | |
|---|---|
static CacheKey |
CacheKey.newInstance(OrmUjo bo,
MetaPKey pkey)
Constructor for the OrmUjo |
| Uses of OrmUjo in org.ujoframework.orm.metaModel |
|---|
| Fields in org.ujoframework.orm.metaModel with type parameters of type OrmUjo | |
|---|---|
static Property<MetaDatabase,OrmUjo> |
MetaDatabase.ROOT
DB class root instance |
| Methods in org.ujoframework.orm.metaModel that return OrmUjo | |
|---|---|
OrmUjo |
MetaTable.createBO()
Returns a new instance or the BO. |
| Methods in org.ujoframework.orm.metaModel with parameters of type OrmUjo | |
|---|---|
void |
MetaTable.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework |
boolean |
MetaPKey.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework in case the PK generator is type of MEMO_SEQUENCE. |
java.lang.Object |
MetaColumn.getValue(OrmUjo bo)
Returns a property value from a table |
void |
MetaColumn.setValue(OrmUjo bo,
java.lang.Object value)
Returns a property value from a table |
| Constructors in org.ujoframework.orm.metaModel with parameters of type OrmUjo | |
|---|---|
MetaDatabase(OrmHandler ormHandler,
OrmUjo database,
MetaDatabase param)
|
|
| Uses of OrmUjo in org.ujoframework.orm.sample |
|---|
| Classes in org.ujoframework.orm.sample that implement OrmUjo | |
|---|---|
class |
Database
An table mapping to a database (a sample of usage). |
class |
Item
The column mapping to DB table ITEM (a sample of usage). |
class |
Order
The column mapping to DB table ORDER (a sample of usage). |
class |
ViewOrder
The column mapping to FROM view. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||