Uses of Interface
org.ujorm.orm.OrmUjo

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
<T extends OrmUjo>
UjoIterator<T>
UjoIterator.getInstance(Query<T> query)
          Deprecated. Use the method {@link #of(org.ujorm.orm.Query) rather
static
<T extends OrmUjo>
UjoIterator<T>
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
<UJO extends U>
ForeignKey
OrmTable.readFK(Key<UJO,? extends OrmUjo> key)
          Read the foreign key.
<UJO extends UJO_IMPL>
ForeignKey
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 ExtendedOrmUjo<UJO_IMPL extends Ujo>
          Extended ORM Ujo.
 

Methods in org.ujorm.orm with type parameters of type OrmUjo
<UJO extends OrmUjo>
AliasTable<UJO>
OrmHandler.alias(Class<UJO> entity, String alias)
          Deprecated. 
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(Class<UJO> aClass)
          Create query for all table rows.
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(Class<UJO> aClass, Criterion<UJO> criterion)
          Deprecated. Use the method createQuery(Criterion, Class) rather.
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(Criterion<UJO> criterion)
          The table class is derived from the first criterion column.
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(Criterion<UJO> criterion, Class<UJO> aClass)
          Create query.
<UJO extends OrmUjo>
int
Session.delete(Class<UJO> tableClass, Criterion<UJO> criterion)
          Delete all object object by the criterion from parameter.
<UJO extends OrmUjo>
int
Session.delete(Criterion<UJO> criterion)
          Delete all object object by the criterion from parameter.
protected
<UJO extends OrmUjo>
int
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.
<UJO extends OrmUjo>
boolean
Session.exists(Class<UJO> entity)
          Returns true if exists any database row for the required entity.
<UJO extends OrmUjo>
boolean
Session.exists(Criterion<UJO> criterion)
          Returns true if exists any database row with the required condition.
protected
<UJO extends OrmUjo>
boolean
Session.exists(MetaTable table, Criterion<UJO> criterion, Key pk)
          Returns true if exists any database row for the required criterion.
<DB extends OrmUjo>
DB
Session.getDatabase(Class<DB> dbType)
          Returns a Database instance.
<DB extends OrmUjo>
DB
Session.getFirstDatabase()
          Returns the first Database instance.
<UJO extends OrmUjo>
long
Session.getRowCount(Query<UJO> query)
          Returns a count of rows
<UJO extends OrmUjo>
UjoIterator<UJO>
Session.iterateInternal(RelationToMany key, OrmUjo value)
          Iterate key of values
<UJO extends OrmUjo>
UJO
Session.load(Class<UJO> tableType, Object id)
          Load UJO by a unique id.
<UJO extends OrmUjo>
UJO
Session.loadBy(UJO ujo)
          Load UJO by a unique id.
<UJO extends OrmUjo>
void
OrmHandler.loadDatabase(Class<UJO>... databaseModel)
          Load a meta-data, lock it and create database tables.
<UJO extends OrmUjo>
void
OrmHandler.loadDatabase(Class<UJO> databaseModel)
          Load a meta-data, lock it and create database tables.
<UJO extends OrmUjo>
UJO
Session.loadInternal(Key relatedProperty, Object id, boolean mandatory)
          Load UJO by a unique id.
<UJO extends OrmUjo>
AliasTable<UJO>
OrmHandler.tableOf(Class<UJO> entity)
          Create a new instance of the class AliasTable
<UJO extends OrmUjo>
AliasTable<UJO>
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.
<UJO extends OrmUjo>
UjoIterator<UJO>
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.
<UJO extends UJO_IMPL>
ForeignKey
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 OracleDialect.printInsert(List<? extends OrmUjo> bo, int idxFrom, int idxTo, Appendable out)
           
 Appendable MSSqlDialect.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 class for building any SQL statement using Ujorm Keys.
 

Methods in org.ujorm.orm.template with type parameters of type OrmUjo
static
<UJO extends OrmUjo>
AliasTable<UJO>
AliasTable.of(Class<UJO> table, OrmHandler handler)
          Create new Alias with default name
static
<UJO extends OrmUjo>
AliasTable<UJO>
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
<UJO extends OrmUjo>
List<UJO>
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
<UJO extends ExtendedOrmUjo>
List<UJO>
OrmTools.loadLazyValuesAsBatch(Iterable<UJO> ujos, Key<UJO,? extends OrmUjo> key)
          Load lazy value for all items and required keys by the one SQL statement.
 



Copyright 2013, Pavel Ponec