public class FakeCriteria
extends java.lang.Object
implements org.hibernate.Criteria
Constructor and Description |
---|
FakeCriteria() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Criteria |
add(org.hibernate.criterion.Criterion criterion) |
org.hibernate.Criteria |
addOrder(org.hibernate.criterion.Order order) |
org.hibernate.Criteria |
createAlias(java.lang.String associationPath,
java.lang.String alias) |
org.hibernate.Criteria |
createAlias(java.lang.String associationPath,
java.lang.String alias,
int joinType) |
org.hibernate.Criteria |
createCriteria(java.lang.String associationPath) |
org.hibernate.Criteria |
createCriteria(java.lang.String associationPath,
int joinType) |
org.hibernate.Criteria |
createCriteria(java.lang.String associationPath,
java.lang.String alias) |
org.hibernate.Criteria |
createCriteria(java.lang.String associationPath,
java.lang.String alias,
int joinType) |
java.lang.String |
getAlias() |
java.util.List |
list() |
org.hibernate.ScrollableResults |
scroll() |
org.hibernate.ScrollableResults |
scroll(org.hibernate.ScrollMode scrollMode) |
org.hibernate.Criteria |
setCacheable(boolean cacheable) |
org.hibernate.Criteria |
setCacheMode(org.hibernate.CacheMode cacheMode) |
org.hibernate.Criteria |
setCacheRegion(java.lang.String cacheRegion) |
org.hibernate.Criteria |
setComment(java.lang.String comment) |
org.hibernate.Criteria |
setFetchMode(java.lang.String associationPath,
org.hibernate.FetchMode mode) |
org.hibernate.Criteria |
setFetchSize(int fetchSize) |
org.hibernate.Criteria |
setFirstResult(int firstResult) |
org.hibernate.Criteria |
setFlushMode(org.hibernate.FlushMode flushMode) |
org.hibernate.Criteria |
setLockMode(org.hibernate.LockMode lockMode) |
org.hibernate.Criteria |
setLockMode(java.lang.String alias,
org.hibernate.LockMode lockMode) |
org.hibernate.Criteria |
setMaxResults(int maxResults) |
org.hibernate.Criteria |
setProjection(org.hibernate.criterion.Projection projection) |
org.hibernate.Criteria |
setResultTransformer(org.hibernate.transform.ResultTransformer resultTransformer) |
org.hibernate.Criteria |
setTimeout(int timeout) |
java.lang.Object |
uniqueResult() |
public java.lang.String getAlias()
getAlias
in interface org.hibernate.Criteria
public org.hibernate.Criteria setProjection(org.hibernate.criterion.Projection projection)
setProjection
in interface org.hibernate.Criteria
public org.hibernate.Criteria add(org.hibernate.criterion.Criterion criterion)
add
in interface org.hibernate.Criteria
public org.hibernate.Criteria addOrder(org.hibernate.criterion.Order order)
addOrder
in interface org.hibernate.Criteria
public org.hibernate.Criteria setFetchMode(java.lang.String associationPath, org.hibernate.FetchMode mode) throws org.hibernate.HibernateException
setFetchMode
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria setLockMode(org.hibernate.LockMode lockMode)
setLockMode
in interface org.hibernate.Criteria
public org.hibernate.Criteria setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
setLockMode
in interface org.hibernate.Criteria
public org.hibernate.Criteria createAlias(java.lang.String associationPath, java.lang.String alias) throws org.hibernate.HibernateException
createAlias
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria createAlias(java.lang.String associationPath, java.lang.String alias, int joinType) throws org.hibernate.HibernateException
createAlias
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria createCriteria(java.lang.String associationPath) throws org.hibernate.HibernateException
createCriteria
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, int joinType) throws org.hibernate.HibernateException
createCriteria
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, java.lang.String alias) throws org.hibernate.HibernateException
createCriteria
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, java.lang.String alias, int joinType) throws org.hibernate.HibernateException
createCriteria
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.Criteria setResultTransformer(org.hibernate.transform.ResultTransformer resultTransformer)
setResultTransformer
in interface org.hibernate.Criteria
public org.hibernate.Criteria setMaxResults(int maxResults)
setMaxResults
in interface org.hibernate.Criteria
public org.hibernate.Criteria setFirstResult(int firstResult)
setFirstResult
in interface org.hibernate.Criteria
public org.hibernate.Criteria setFetchSize(int fetchSize)
setFetchSize
in interface org.hibernate.Criteria
public org.hibernate.Criteria setTimeout(int timeout)
setTimeout
in interface org.hibernate.Criteria
public org.hibernate.Criteria setCacheable(boolean cacheable)
setCacheable
in interface org.hibernate.Criteria
public org.hibernate.Criteria setCacheRegion(java.lang.String cacheRegion)
setCacheRegion
in interface org.hibernate.Criteria
public org.hibernate.Criteria setComment(java.lang.String comment)
setComment
in interface org.hibernate.Criteria
public org.hibernate.Criteria setFlushMode(org.hibernate.FlushMode flushMode)
setFlushMode
in interface org.hibernate.Criteria
public org.hibernate.Criteria setCacheMode(org.hibernate.CacheMode cacheMode)
setCacheMode
in interface org.hibernate.Criteria
public java.util.List list() throws org.hibernate.HibernateException
list
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.ScrollableResults scroll() throws org.hibernate.HibernateException
scroll
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public org.hibernate.ScrollableResults scroll(org.hibernate.ScrollMode scrollMode) throws org.hibernate.HibernateException
scroll
in interface org.hibernate.Criteria
org.hibernate.HibernateException
public java.lang.Object uniqueResult() throws org.hibernate.HibernateException
uniqueResult
in interface org.hibernate.Criteria
org.hibernate.HibernateException
Copyright © 2001-2010 Jalios SA. All Rights Reserved.