|
||||||||||
| 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.utility | |
| 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 with type parameters of type OrmUjo | |
|---|---|
class |
RelationToOne<UJO extends OrmUjo,VALUE>
Foreign key property |
| Classes in org.ujoframework.implementation.orm that implement OrmUjo | |
|---|---|
class |
OrmTable<UJO_IMPL extends Ujo>
This abstract implementation of the OrmUjo interface is situable for implementation the persistent entities. |
| Methods in org.ujoframework.implementation.orm with type parameters of type OrmUjo | ||
|---|---|---|
static
|
RelationToOne.newInstance(java.lang.Class<VALUE> type,
UjoProperty<VALUE,?> relatedKey)
A Property Factory |
|
static
|
RelationToOne.newInstance(java.lang.Class<VALUE> type,
UjoProperty<VALUE,?> relatedKey)
A Property Factory |
|
| Method parameters in org.ujoframework.implementation.orm with type arguments of type OrmUjo | ||
|---|---|---|
|
OrmTable.readFK(UjoProperty<UJO,? extends OrmUjo> property)
Read the foreign key. |
|
| 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. |
| Subinterfaces of OrmUjo in org.ujoframework.orm | |
|---|---|
interface |
ExtendedOrmUjo<UJO_IMPL extends Ujo>
Extended ORM Ujo. |
| 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.getFirstDatabase()
Returns the first 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>... databaseModel)
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 |
|
java.lang.Appendable |
SqlDialect.printInsert(OrmUjo bo,
java.lang.Appendable out)
Print an SQL INSERT statement. |
|
ForeignKey |
Session.readFK(OrmUjo ujo,
UjoProperty<?,? extends OrmUjo> property)
Build new Forign key. |
|
boolean |
Session.reload(OrmUjo ujo)
Reload values of the persistent object. |
|
void |
Session.save(OrmUjo bo)
INSERT object into table. |
|
void |
Session.saveOrUpdate(OrmUjo bo)
INSERT or UPDATE 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. |
|
ForeignKey |
Session.readFK(OrmUjo ujo,
UjoProperty<?,? extends OrmUjo> property)
Build new Forign key. |
|
|
ExtendedOrmUjo.readFK(UjoProperty<UJO,? extends OrmUjo> property)
Read the foreign key. |
|
| 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
An instance of the DB class. |
| 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 that return types with arguments of type OrmUjo | |
|---|---|
java.lang.Class<OrmUjo> |
MetaRelation2Many.getTableClass()
Returns a class of column table. |
java.lang.Class<OrmUjo> |
MetaTable.getType()
Returns a base table class. |
java.lang.Class<OrmUjo> |
MetaProcedure.getType()
Returns a base table class. |
| 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 |
| Constructors in org.ujoframework.orm.metaModel with parameters of type OrmUjo | |
|---|---|
MetaDatabase(OrmHandler ormHandler,
OrmUjo database,
MetaDatabase param)
Create a new Database. |
|
| Uses of OrmUjo in org.ujoframework.orm.utility |
|---|
| Methods in org.ujoframework.orm.utility with type parameters of type OrmUjo | ||
|---|---|---|
static
|
OrmTools.loadLazyValues(java.lang.Iterable<UJO> ujos,
int depth)
Load all lazy values for the current parameter recursively until optional depth. |
|
| Methods in org.ujoframework.orm.utility with parameters of type OrmUjo | |
|---|---|
static void |
OrmTools.loadLazyValues(OrmUjo ujo)
Load all lazy values for the current parameter. |
static void |
OrmTools.loadLazyValues(OrmUjo ujo,
int depth)
Load all lazy values for the current parameter recursively until optional depth. |
boolean |
OrmTools.reload(OrmUjo ujo,
Session session)
Reload values of the persistent object. |
| Method parameters in org.ujoframework.orm.utility with type arguments of type OrmUjo | ||
|---|---|---|
static
|
OrmTools.loadLazyValuesAsBatch(java.lang.Iterable<UJO> ujos,
UjoProperty<UJO,? extends OrmUjo> property)
Load lazy value for all items and required property by the one SQL statement. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||