/** * Static builder to create a DetachedCriteria for the given entity. * * @param entityName The name of the entity to create a DetachedCriteria for * @param alias The alias to apply to the entity * * @return The DetachedCriteria */ @SuppressWarnings("UnusedDeclaration") public static DetachedCriteria forEntityName(String entityName, String alias) { return new DetachedCriteria( entityName, alias ); }
/** * Static builder to create a DetachedCriteria for the given entity. * * @param entityName The name of the entity to create a DetachedCriteria for * * @return The DetachedCriteria */ @SuppressWarnings("UnusedDeclaration") public static DetachedCriteria forEntityName(String entityName) { return new DetachedCriteria( entityName ); }
/** * Static builder to create a DetachedCriteria for the given entity, by its Class. * * @param clazz The entity class * * @return The DetachedCriteria */ public static DetachedCriteria forClass(Class clazz) { return new DetachedCriteria( clazz.getName() ); }
/** * Static builder to create a DetachedCriteria for the given entity, by its Class. * * @param clazz The entity class * @param alias The alias to apply to the entity * * @return The DetachedCriteria */ public static DetachedCriteria forClass(Class clazz, String alias) { return new DetachedCriteria( clazz.getName() , alias ); }
/** * Creates a nested DetachedCriteria representing the association path, specifying the type of join to use. * * @param associationPath The association path * @param joinType The type of join to use * * @return the newly created, nested DetachedCriteria */ public DetachedCriteria createCriteria(String associationPath, JoinType joinType) { return new DetachedCriteria( impl, criteria.createCriteria( associationPath, joinType ) ); }
/** * Creates a nested DetachedCriteria representing the association path. * * @param associationPath The association path * @param alias The alias to apply to that association path * * @return the newly created, nested DetachedCriteria */ public DetachedCriteria createCriteria(String associationPath, String alias) { return new DetachedCriteria( impl, criteria.createCriteria( associationPath, alias ) ); }
/** * Creates a nested DetachedCriteria representing the association path, specifying the type of join to use and * an additional join restriction. * * @param associationPath The association path * @param alias The alias to associate with this "join". * @param joinType The type of join to use * @param withClause The additional join restriction * * @return the newly created, nested DetachedCriteria */ public DetachedCriteria createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause) { return new DetachedCriteria(impl, criteria.createCriteria( associationPath, alias, joinType, withClause ) ); }
/** * Creates a nested DetachedCriteria representing the association path. * * @param associationPath The association path * * @return the newly created, nested DetachedCriteria */ public DetachedCriteria createCriteria(String associationPath) { return new DetachedCriteria( impl, criteria.createCriteria( associationPath ) ); }
/** * Creates a nested DetachedCriteria representing the association path, specifying the type of join to use. * * @param associationPath The association path * @param alias The alias to associate with this "join". * @param joinType The type of join to use * * @return the newly created, nested DetachedCriteria */ public DetachedCriteria createCriteria(String associationPath, String alias, JoinType joinType) { return new DetachedCriteria( impl, criteria.createCriteria( associationPath, alias, joinType ) ); }
public static DetachedCriteria forEntityName(String entityName) { return new DetachedCriteria(entityName); }
public static DetachedCriteria forClass(Class clazz, String alias) { return new DetachedCriteria( clazz.getName() , alias ); }
public static DetachedCriteria forClass(Class clazz, String alias) { return new DetachedCriteria( clazz.getName() , alias ); }
public static DetachedCriteria forClass(Class clazz) { return new DetachedCriteria( clazz.getName() ); }
public DetachedCriteria createCriteria(String associationPath, String alias) throws HibernateException { return new DetachedCriteria( impl, criteria.createCriteria(associationPath) ); }
public DetachedCriteria createCriteria(String associationPath) throws HibernateException { return new DetachedCriteria( impl, criteria.createCriteria(associationPath) ); }
public DetachedCriteria createCriteria(String associationPath, JoinType joinType) throws HibernateException { return new DetachedCriteria(impl, criteria.createCriteria(associationPath, joinType)); }
public DetachedCriteria createCriteria(String associationPath, String alias, JoinType joinType) throws HibernateException { return new DetachedCriteria(impl, criteria.createCriteria(associationPath, alias, joinType)); }
public DetachedCriteria createCriteria(String associationPath, String alias) throws HibernateException { return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) ); }
public DetachedCriteria createCriteria(String associationPath) throws HibernateException { return new DetachedCriteria( impl, criteria.createCriteria(associationPath) ); }
public DetachedCriteria createCriteria(String associationPath, String alias) throws HibernateException { return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) ); }