Package com.jalios.jcms.db
Class FakeCriteria
- java.lang.Object
-
- com.jalios.jcms.db.FakeCriteria
-
- All Implemented Interfaces:
org.hibernate.Criteria
,org.hibernate.criterion.CriteriaSpecification
public class FakeCriteria extends java.lang.Object implements org.hibernate.Criteria
-
-
Constructor Summary
Constructors Constructor Description FakeCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(java.lang.String alias, org.hibernate.LockMode lockMode)
org.hibernate.Criteria
setLockMode(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()
-
-
-
Method Detail
-
getAlias
public java.lang.String getAlias()
- Specified by:
getAlias
in interfaceorg.hibernate.Criteria
-
setProjection
public org.hibernate.Criteria setProjection(org.hibernate.criterion.Projection projection)
- Specified by:
setProjection
in interfaceorg.hibernate.Criteria
-
add
public org.hibernate.Criteria add(org.hibernate.criterion.Criterion criterion)
- Specified by:
add
in interfaceorg.hibernate.Criteria
-
addOrder
public org.hibernate.Criteria addOrder(org.hibernate.criterion.Order order)
- Specified by:
addOrder
in interfaceorg.hibernate.Criteria
-
setFetchMode
public org.hibernate.Criteria setFetchMode(java.lang.String associationPath, org.hibernate.FetchMode mode) throws org.hibernate.HibernateException
- Specified by:
setFetchMode
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
setLockMode
public org.hibernate.Criteria setLockMode(org.hibernate.LockMode lockMode)
- Specified by:
setLockMode
in interfaceorg.hibernate.Criteria
-
setLockMode
public org.hibernate.Criteria setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
- Specified by:
setLockMode
in interfaceorg.hibernate.Criteria
-
createAlias
public org.hibernate.Criteria createAlias(java.lang.String associationPath, java.lang.String alias) throws org.hibernate.HibernateException
- Specified by:
createAlias
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
createAlias
public org.hibernate.Criteria createAlias(java.lang.String associationPath, java.lang.String alias, int joinType) throws org.hibernate.HibernateException
- Specified by:
createAlias
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
createCriteria
public org.hibernate.Criteria createCriteria(java.lang.String associationPath) throws org.hibernate.HibernateException
- Specified by:
createCriteria
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
createCriteria
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, int joinType) throws org.hibernate.HibernateException
- Specified by:
createCriteria
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
createCriteria
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, java.lang.String alias) throws org.hibernate.HibernateException
- Specified by:
createCriteria
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
createCriteria
public org.hibernate.Criteria createCriteria(java.lang.String associationPath, java.lang.String alias, int joinType) throws org.hibernate.HibernateException
- Specified by:
createCriteria
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
setResultTransformer
public org.hibernate.Criteria setResultTransformer(org.hibernate.transform.ResultTransformer resultTransformer)
- Specified by:
setResultTransformer
in interfaceorg.hibernate.Criteria
-
setMaxResults
public org.hibernate.Criteria setMaxResults(int maxResults)
- Specified by:
setMaxResults
in interfaceorg.hibernate.Criteria
-
setFirstResult
public org.hibernate.Criteria setFirstResult(int firstResult)
- Specified by:
setFirstResult
in interfaceorg.hibernate.Criteria
-
setFetchSize
public org.hibernate.Criteria setFetchSize(int fetchSize)
- Specified by:
setFetchSize
in interfaceorg.hibernate.Criteria
-
setTimeout
public org.hibernate.Criteria setTimeout(int timeout)
- Specified by:
setTimeout
in interfaceorg.hibernate.Criteria
-
setCacheable
public org.hibernate.Criteria setCacheable(boolean cacheable)
- Specified by:
setCacheable
in interfaceorg.hibernate.Criteria
-
setCacheRegion
public org.hibernate.Criteria setCacheRegion(java.lang.String cacheRegion)
- Specified by:
setCacheRegion
in interfaceorg.hibernate.Criteria
-
setComment
public org.hibernate.Criteria setComment(java.lang.String comment)
- Specified by:
setComment
in interfaceorg.hibernate.Criteria
-
setFlushMode
public org.hibernate.Criteria setFlushMode(org.hibernate.FlushMode flushMode)
- Specified by:
setFlushMode
in interfaceorg.hibernate.Criteria
-
setCacheMode
public org.hibernate.Criteria setCacheMode(org.hibernate.CacheMode cacheMode)
- Specified by:
setCacheMode
in interfaceorg.hibernate.Criteria
-
list
public java.util.List list() throws org.hibernate.HibernateException
- Specified by:
list
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
scroll
public org.hibernate.ScrollableResults scroll() throws org.hibernate.HibernateException
- Specified by:
scroll
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
scroll
public org.hibernate.ScrollableResults scroll(org.hibernate.ScrollMode scrollMode) throws org.hibernate.HibernateException
- Specified by:
scroll
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
uniqueResult
public java.lang.Object uniqueResult() throws org.hibernate.HibernateException
- Specified by:
uniqueResult
in interfaceorg.hibernate.Criteria
- Throws:
org.hibernate.HibernateException
-
-