com.liferay.portal.dao.orm.hibernate
Class DynamicQueryImpl
java.lang.Object
com.liferay.portal.dao.orm.hibernate.DynamicQueryImpl
- All Implemented Interfaces:
- DynamicQuery
public class DynamicQueryImpl
- extends Object
- implements DynamicQuery
Constructor Summary |
DynamicQueryImpl(org.hibernate.criterion.DetachedCriteria detachedCriteria)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicQueryImpl
public DynamicQueryImpl(org.hibernate.criterion.DetachedCriteria detachedCriteria)
add
public DynamicQuery add(Criterion criterion)
- Specified by:
add
in interface DynamicQuery
addOrder
public DynamicQuery addOrder(Order order)
- Specified by:
addOrder
in interface DynamicQuery
compile
public void compile(Session session)
- Specified by:
compile
in interface DynamicQuery
getDetachedCriteria
public org.hibernate.criterion.DetachedCriteria getDetachedCriteria()
list
public List list()
- Specified by:
list
in interface DynamicQuery
list
public List list(boolean unmodifiable)
- Specified by:
list
in interface DynamicQuery
setLimit
public void setLimit(int start,
int end)
- Specified by:
setLimit
in interface DynamicQuery
setProjection
public DynamicQuery setProjection(Projection projection)
- Specified by:
setProjection
in interface DynamicQuery
setProjection
public DynamicQuery setProjection(Projection projection,
boolean useColumnAlias)
- Specified by:
setProjection
in interface DynamicQuery