Uses of Class
org.ujoframework.criterion.Criterion

Packages that use Criterion
org.ujoframework.criterion Package for the UJO Criterion. 
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)
           
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.constant(UjoProperty<UJO,?> property, boolean constant)
          This is a special constant criterion independed on the property or the ujo entity.
 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)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, Operator operator, TYPE value)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, Operator operator, UjoProperty<?,TYPE> value)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, TYPE value)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.newInstance(UjoProperty<UJO,TYPE> property, UjoProperty<UJO,TYPE> value)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.newInstanceFalse(UjoProperty<UJO,?> property)
          Deprecated. See the where(...) method.
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.newInstanceTrue(UjoProperty<UJO,?> property)
          Deprecated. See the where(...) method.
 Criterion<UJO> Criterion.not()
           
 Criterion<UJO> Criterion.or(Criterion<UJO> criterion)
           
static
<UJO extends Ujo>
Criterion<UJO>
Criterion.where(boolean value)
          This is an constane criterion independed on an entity.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.where(UjoProperty<UJO,TYPE> property, Operator operator, TYPE value)
          New criterion instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.where(UjoProperty<UJO,TYPE> property, Operator operator, UjoProperty<?,TYPE> value)
          New criterion instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.where(UjoProperty<UJO,TYPE> property, TYPE value)
          New equals instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.where(UjoProperty<UJO,TYPE> property, UjoProperty<UJO,TYPE> value)
          New equals instance
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereIn(UjoProperty<UJO,TYPE> property, java.util.Collection<TYPE> list)
          Create new Criterion for operator IN to compare value to a list of constants.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereIn(UjoProperty<UJO,TYPE> property, TYPE... list)
          Create new Criterion for operator IN to compare value to a list of constants
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereNotIn(UjoProperty<UJO,TYPE> property, java.util.Collection<TYPE> list)
          Create new Criterion for operator IN to compare value to a list of constants.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereNotIn(UjoProperty<UJO,TYPE> property, TYPE... list)
          Create new Criterion for operator IN to compare value to a list of constants.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereNotNull(UjoProperty<UJO,TYPE> property)
          Criterion where property not equals to NULL.
static
<UJO extends Ujo,TYPE>
Criterion<UJO>
Criterion.whereNull(UjoProperty<UJO,TYPE> property)
          Criterion where property equals to NULL.
 

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
 void Query.addCriterion(Criterion<UJO> criterion)
          Add a new 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.
 Query<UJO> Query.setCriterion(Criterion<UJO> criterion)
          Set a new Criterion
protected  void CriterionDecoder.unpack(Criterion c)
          Unpack criterion.
 

Constructors in org.ujoframework.orm with parameters of type Criterion
CriterionDecoder(Criterion criterion, MetaDatabase database, java.util.List<UjoProperty> orderByItems)
           
CriterionDecoder(Criterion e, MetaTable ormTable)
           
Query(MetaTable table, Criterion<UJO> criterion)
          Create new ORM query without a session.
Query(MetaTable table, Criterion<UJO> criterion, Session session)
          Create new ORM query.
 



Copyright © 2010. All Rights Reserved.