|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OrmUjo | |
|---|---|
| org.ujorm.core | |
| org.ujorm.implementation.orm | |
| org.ujorm.orm | The ORM support. |
| org.ujorm.orm.ao | |
| org.ujorm.orm.dialect | |
| org.ujorm.orm.metaModel | |
| org.ujorm.orm.template | |
| org.ujorm.orm.utility | |
| Uses of OrmUjo in org.ujorm.core |
|---|
| Methods in org.ujorm.core with type parameters of type OrmUjo | ||
|---|---|---|
static
|
UjoIterator.getInstance(Query<T> query)
Deprecated. Use the method {@link #of(org.ujorm.orm.Query) rather |
|
static
|
UjoIterator.of(Query<T> query)
Create an instance |
|
| Uses of OrmUjo in org.ujorm.implementation.orm |
|---|
| Classes in org.ujorm.implementation.orm with type parameters of type OrmUjo | |
|---|---|
class |
OrmProperty<U extends OrmUjo,VALUE>
The special Key pro LazyLoadiing |
| Classes in org.ujorm.implementation.orm that implement OrmUjo | |
|---|---|
class |
OrmTable<U extends OrmTable>
This abstract implementation of the OrmUjo interface is situable for implementation the persistent entities. |
class |
OrmTableLockable<U extends OrmTableLockable>
An abstract implementation of the OrmUjo with an object locking support. |
class |
OrmTableSynchronized<UJO_IMPL extends Ujo>
It is an thread safe implementation of the OrmUjo for the multi-thread use. |
| Method parameters in org.ujorm.implementation.orm with type arguments of type OrmUjo | ||
|---|---|---|
|
OrmTable.readFK(Key<UJO,? extends OrmUjo> key)
Read the foreign key. |
|
|
OrmTableSynchronized.readFK(Key<UJO,? extends OrmUjo> key)
Read the foreign key. |
|
| Uses of OrmUjo in org.ujorm.orm |
|---|
| Classes in org.ujorm.orm with type parameters of type OrmUjo | |
|---|---|
class |
OrmKeyFactory<UJO extends OrmUjo>
OrmFactory |
class |
Query<UJO extends OrmUjo>
ORM query. |
| Subinterfaces of OrmUjo in org.ujorm.orm | |
|---|---|
interface |
ColumnSet
Deprecated. The interface implementations are not finished yet. |
interface |
ExtendedOrmUjo<UJO_IMPL extends Ujo>
Extended ORM Ujo. |
| Methods in org.ujorm.orm with type parameters of type OrmUjo | ||
|---|---|---|
|
OrmHandler.alias(Class<UJO> entity,
String alias)
Deprecated. |
|
|
Session.createQuery(Class<UJO> aClass)
Create query for all table rows. |
|
|
Session.createQuery(Class<UJO> aClass,
Criterion<UJO> criterion)
Deprecated. Use the method createQuery(Criterion, Class) rather. |
|
|
Session.createQuery(Criterion<UJO> criterion)
The table class is derived from the first criterion column. |
|
|
Session.createQuery(Criterion<UJO> criterion,
Class<UJO> aClass)
Create query. |
|
|
Session.delete(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. |
|
|
Session.delete(List<T> bos)
Delete all objects of the same type from database. |
|
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.exists(Class<UJO> entity)
Returns true if exists any database row for the required entity. |
|
|
Session.exists(Criterion<UJO> criterion)
Returns true if exists any database row with the required condition. |
|
protected
|
Session.exists(MetaTable table,
Criterion<UJO> criterion,
Key pk)
Returns true if exists any database row for the required criterion. |
|
|
Session.getDatabase(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 key,
OrmUjo value)
Iterate key of values |
|
|
Session.load(Class<UJO> tableType,
Object id)
Load UJO by a unique id. |
|
|
Session.loadBy(UJO ujo)
Load UJO by a unique id. |
|
|
OrmHandler.loadDatabase(Class<UJO>... databaseModel)
Load a meta-data, lock it and create database tables. |
|
|
OrmHandler.loadDatabase(Class<UJO> databaseModel)
Load a meta-data, lock it and create database tables. |
|
|
Session.loadInternal(Key relatedProperty,
Object id,
boolean mandatory)
Load UJO by a unique id. |
|
|
OrmHandler.tableOf(Class<UJO> entity)
Create a new instance of the class AliasTable |
|
|
OrmHandler.tableOf(Class<UJO> entity,
String alias)
Create a new instance of the class AliasTable |
|
| Methods in org.ujorm.orm that return OrmUjo | |
|---|---|
OrmUjo |
Session.findCache(Class type,
Object... pkeys)
Find object from internal cache |
OrmUjo |
Session.findCache(Class type,
Object pkey)
Find object from internal cache |
| Methods in org.ujorm.orm with parameters of type OrmUjo | ||
|---|---|---|
void |
JdbcStatement.assignValue(MetaColumn column,
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,
List<MetaColumn> columns)
Assign values into the prepared statement |
|
protected void |
Session.checkNotNull(OrmUjo ujo,
String action)
Check the Ujo object to not null. |
|
protected Criterion |
Session.createPkCriterion(OrmUjo bo)
Returns an criterion by a PrimaryKey |
|
int |
Session.delete(OrmUjo bo)
Delete an optional object from the parameters. |
|
|
Session.iterateInternal(RelationToMany key,
OrmUjo value)
Iterate key of values |
|
Appendable |
SqlDialect.printInsert(OrmUjo bo,
Appendable out)
Print an SQL INSERT statement. |
|
ForeignKey |
Session.readFK(OrmUjo ujo,
Key<?,? extends OrmUjo> key)
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)
Make a statement INSERT or UPDATE into a database table according to attribute Session. |
|
int |
Session.update(OrmUjo bo)
Database UPDATE of the modified columns for the selected object. |
|
int |
Session.update(OrmUjo bo,
Criterion criterion)
Database Batch UPDATE of the modified columns along a criterion. |
|
| Method parameters in org.ujorm.orm with type arguments of type OrmUjo | ||
|---|---|---|
void |
JdbcStatement.assignValues(List<? extends OrmUjo> bos,
int idxFrom,
int idxTo)
Assign values into the prepared statement |
|
MetaTable |
OrmHandler.findTableModel(Class<? extends OrmUjo> dbClass)
Find a tableOf model by the dbClass. |
|
SqlDialect |
Session.getDialect(Class<? extends OrmUjo> ormType)
Check dialecttype |
|
boolean |
Session.hasDialect(Class<? extends OrmUjo> ormType,
Class<? extends SqlDialect>... dialects)
Returns true, if Corm type have got any from listed dialects |
|
Appendable |
SqlDialect.printInsert(List<? extends OrmUjo> bos,
int idxFrom,
int idxTo,
Appendable out)
Print an SQL INSERT statement. |
|
Appendable |
SqlDialect.printInsertBySelect(List<? extends OrmUjo> bos,
int idxFrom,
int idxTo,
String fromPhrase,
Appendable out)
Print an batch SQL INSERT statement using SELECT UNION statement. |
|
|
ExtendedOrmUjo.readFK(Key<UJO,? extends OrmUjo> key)
Read the foreign key. |
|
ForeignKey |
Session.readFK(OrmUjo ujo,
Key<?,? extends OrmUjo> key)
Build new Forign key. |
|
void |
Session.save(List<? extends OrmUjo> bos)
INSERT object into table using the Multirow inserts. |
|
void |
Session.save(List<? extends OrmUjo> bos,
int multiLimit)
INSERT object into table using the Multirow inserts. |
|
| Uses of OrmUjo in org.ujorm.orm.ao |
|---|
| Methods in org.ujorm.orm.ao with parameters of type OrmUjo | |
|---|---|
static CacheKey |
CacheKey.newInstance(OrmUjo bo,
MetaPKey pkey)
Constructor for the OrmUjo |
| Uses of OrmUjo in org.ujorm.orm.dialect |
|---|
| Method parameters in org.ujorm.orm.dialect with type arguments of type OrmUjo | |
|---|---|
Appendable |
MSSqlDialect.printInsert(List<? extends OrmUjo> bo,
int idxFrom,
int idxTo,
Appendable out)
|
Appendable |
OracleDialect.printInsert(List<? extends OrmUjo> bo,
int idxFrom,
int idxTo,
Appendable out)
|
Appendable |
FirebirdDialect.printInsert(List<? extends OrmUjo> bo,
int idxFrom,
int idxTo,
Appendable out)
Implementation is not working |
| Uses of OrmUjo in org.ujorm.orm.metaModel |
|---|
| Fields in org.ujorm.orm.metaModel with type parameters of type OrmUjo | |
|---|---|
static Key<MetaDatabase,OrmUjo> |
MetaDatabase.ROOT
An instance of the DB class. |
| Methods in org.ujorm.orm.metaModel that return OrmUjo | |
|---|---|
OrmUjo |
MetaTable.createBO()
Returns a new instance or the BO. |
OrmUjo |
MetaTable.getParent(OrmUjo bo)
Returns a parent of the parameter or the null if no parent was not found. The method provides a parent in case of emulated inheritance. |
| Methods in org.ujorm.orm.metaModel that return types with arguments of type OrmUjo | |
|---|---|
Class<OrmUjo> |
MetaRelation2Many.getTableClass()
Returns a class of column table. |
Class<OrmUjo> |
MetaProcedure.getType()
Returns a base table class. |
Class<OrmUjo> |
MetaTable.getType()
Returns a base table class. |
| Methods in org.ujorm.orm.metaModel with parameters of type OrmUjo | |
|---|---|
boolean |
MetaPKey.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework in case the PK generator is type of MEMO_SEQUENCE. |
void |
MetaTable.assignPrimaryKey(OrmUjo bo,
Session session)
Assign a PK from framework |
OrmUjo |
MetaTable.getParent(OrmUjo bo)
Returns a parent of the parameter or the null if no parent was not found. The method provides a parent in case of emulated inheritance. |
Object |
MetaColumn.getValue(OrmUjo bo)
Returns a key value from a table |
| Constructors in org.ujorm.orm.metaModel with parameters of type OrmUjo | |
|---|---|
MetaDatabase(OrmHandler ormHandler,
OrmUjo database,
MetaDatabase param,
Integer order)
Create a new Database. |
|
| Uses of OrmUjo in org.ujorm.orm.template |
|---|
| Classes in org.ujorm.orm.template with type parameters of type OrmUjo | |
|---|---|
class |
AliasTable<UJO extends OrmUjo>
The experimental class for building any SQL statement using Ujorm Keys. |
| Methods in org.ujorm.orm.template with type parameters of type OrmUjo | ||
|---|---|---|
static
|
AliasTable.of(Class<UJO> table,
OrmHandler handler)
Create new Alias with default name |
|
static
|
AliasTable.of(Class<UJO> table,
String alias,
OrmHandler handler)
Create new Alias with required name |
|
| Uses of OrmUjo in org.ujorm.orm.utility |
|---|
| Methods in org.ujorm.orm.utility with type parameters of type OrmUjo | ||
|---|---|---|
static
|
OrmTools.loadLazyValues(Iterable<UJO> ujos,
int depth)
Load all lazy values for the current parameter recursively until optional depth. |
|
| Methods in org.ujorm.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.ujorm.orm.utility with type arguments of type OrmUjo | ||
|---|---|---|
static
|
OrmTools.loadLazyValuesAsBatch(Iterable<UJO> ujos,
Key<UJO,? extends OrmUjo> key)
Load lazy value for all items and required keys by the one SQL statement. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||