Uses of Class
org.ujoframework.criterion.Criterion

Packages that use Criterion
org.ujoframework.criterion The package of the UJO criterion support. 
org.ujoframework.orm The ORM support. 
 

Uses of Criterion in org.ujoframework.criterion
 

Subclasses of Criterion in org.ujoframework.criterion
 class BinaryCriterion<UJO extends Ujo>
          The BinaryCriterion implementation allows to join two another Criterions into the binary tree.
 class ValueCriterion<UJO extends Ujo>
          The value criterion implementation.
 

Fields in org.ujoframework.criterion declared as Criterion
static Criterion<Ujo> ValueCriterion.FALSE
          False constant criterion
static Criterion<Ujo> ValueCriterion.TRUE
          True constant criterion
 

Methods in org.ujoframework.criterion that return Criterion
 Criterion<UJO> Criterion.and(Criterion<UJO> criterion)
           
 Criterion<UJO> BinaryCriterion.getLeftNode()
          Returns the left node of the parrent
 Criterion<UJO> BinaryCriterion.getRightNode()
          Returns the right node of the parrent
 Criterion<UJO> Criterion.join(BinaryOperator operator, Criterion<UJO> criterion)
           
<UJO extends Ujo>
Criterion<UJO>
BinaryOperator.join(Criterion<UJO> a, Criterion<UJO> b)
          Join two criterions.
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.newInstance(boolean value)
          This is an constane criterion independed on an entity.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property)
          New equals instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, Operator operator, TYPE value)
          New criterion instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, Operator operator, UjoProperty<?,TYPE> value)
          New criterion instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, TYPE value)
          New equals instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, UjoProperty<?,TYPE> value)
          New equals instance
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.newInstanceFalse(UjoProperty<UJO,?> property)
          This is a constant criterion independed on the property and the ujo entity.
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.newInstanceTrue(UjoProperty<UJO,?> property)
          This is a constant criterion independed on the property and the ujo entity.
 Criterion<UJO> Criterion.not()
           
 Criterion<UJO> Criterion.or(Criterion<UJO> criterion)
           
 

Methods in org.ujoframework.criterion with parameters of type Criterion
 Criterion<UJO> Criterion.and(Criterion<UJO> criterion)
           
 UJO CriteriaTool.findFirst(java.util.List<UJO> list, Criterion<UJO> criterion)
          Find the first UJO by an criterion or return NULL if any object was not found.
 Criterion<UJO> Criterion.join(BinaryOperator operator, Criterion<UJO> criterion)
           
<UJO extends Ujo>
Criterion<UJO>
BinaryOperator.join(Criterion<UJO> a, Criterion<UJO> b)
          Join two criterions.
<UJO extends Ujo>
Criterion<UJO>
BinaryOperator.join(Criterion<UJO> a, Criterion<UJO> b)
          Join two criterions.
 Criterion<UJO> Criterion.or(Criterion<UJO> criterion)
           
 java.util.List<UJO> CriteriaTool.select(java.util.List<UJO> list, Criterion<UJO> criterion)
          Create a sublist of a list by an Ujo criterion.
 java.util.List<UJO> CriteriaTool.select(java.util.List<UJO> list, Criterion<UJO> criterion, UjoComparator sorting)
          Create a sublist of a list by an Ujo criterion.
 

Constructors in org.ujoframework.criterion with parameters of type Criterion
BinaryCriterion(Criterion<UJO> criterion1, BinaryOperator operator, Criterion<UJO> criterion2)
           
BinaryCriterion(Criterion<UJO> criterion1, BinaryOperator operator, Criterion<UJO> criterion2)
           
 

Uses of Criterion in org.ujoframework.orm
 

Methods in org.ujoframework.orm that return Criterion
protected  Criterion Session.createPkCriterion(OrmUjo bo)
          Returns an criterion by a PrimaryKey
 Criterion<UJO> Query.getCriterion()
          Criterion
 Criterion CriterionDecoder.getCriterion()
          Returns the criterion from costructor.
 

Methods in org.ujoframework.orm with parameters of type Criterion
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(java.lang.Class<UJO> aClass, Criterion<UJO> criterion)
           
<UJO extends OrmUjo>
Query<UJO>
Session.createQuery(Criterion<UJO> criterion)
          The table class is derived from the first criterion column.
<UJO extends OrmUjo>
int
Session.delete(java.lang.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.
 MetaRelation2Many Session.getBasicColumn(Criterion criterion)
          Returns the first "basic" column of criterion.
protected  void CriterionDecoder.unpack(Criterion c)
          Unpack criterion.
 

Constructors in org.ujoframework.orm with parameters of type Criterion
CriterionDecoder(Criterion criterion, MetaDatabase database)
           
CriterionDecoder(Criterion e, MetaTable ormTable)
           
Query(java.lang.Class<UJO> tableClass, Criterion<UJO> criterion, Session session)
          Create new ORM query.
Query(MetaTable table, Criterion<UJO> criterion, Session session)
          Create new ORM query.
 



Copyright © 2009. All Rights Reserved.