Methods Summary |
---|
public org.hibernate.criterion.DetachedCriteria | add(Criterion criterion)
criteria.add(criterion);
return this;
|
public org.hibernate.criterion.DetachedCriteria | addOrder(Order order)
criteria.addOrder(order);
return this;
|
public org.hibernate.criterion.DetachedCriteria | createAlias(java.lang.String associationPath, java.lang.String alias)
criteria.createAlias(associationPath, alias);
return this;
|
public org.hibernate.criterion.DetachedCriteria | createCriteria(java.lang.String associationPath, java.lang.String alias)
return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
|
public org.hibernate.criterion.DetachedCriteria | createCriteria(java.lang.String associationPath)
return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
|
public static org.hibernate.criterion.DetachedCriteria | forClass(java.lang.Class clazz)
return new DetachedCriteria( clazz.getName() );
|
public static org.hibernate.criterion.DetachedCriteria | forClass(java.lang.Class clazz, java.lang.String alias)
return new DetachedCriteria( clazz.getName() , alias );
|
public static org.hibernate.criterion.DetachedCriteria | forEntityName(java.lang.String entityName)
return new DetachedCriteria(entityName);
|
public static org.hibernate.criterion.DetachedCriteria | forEntityName(java.lang.String entityName, java.lang.String alias)
return new DetachedCriteria(entityName, alias);
|
public java.lang.String | getAlias()
return criteria.getAlias();
|
org.hibernate.impl.CriteriaImpl | getCriteriaImpl()
return impl;
|
public org.hibernate.Criteria | getExecutableCriteria(org.hibernate.Session session)Get an executable instance of Criteria,
to actually run the query.
impl.setSession( ( SessionImplementor ) session );
return impl;
|
public org.hibernate.criterion.DetachedCriteria | setFetchMode(java.lang.String associationPath, org.hibernate.FetchMode mode)
criteria.setFetchMode(associationPath, mode);
return this;
|
public org.hibernate.criterion.DetachedCriteria | setProjection(Projection projection)
criteria.setProjection(projection);
return this;
|
public org.hibernate.criterion.DetachedCriteria | setResultTransformer(org.hibernate.transform.ResultTransformer resultTransformer)
criteria.setResultTransformer(resultTransformer);
return this;
|
public java.lang.String | toString()
return "DetachableCriteria(" + criteria.toString() + ')";
|