java.lang.Object
org.roller.business.persistence.BaseQuery
- All Implemented Interfaces:
- Query
- public abstract class BaseQuery
- extends java.lang.Object
- implements Query
Experimental: Hibernate implementation of query.
| Fields inherited from interface org.roller.business.persistence.Query |
AND, ASC, DESC, EQ, GE, GT, IS_NULL, LE, LIKE, LT, NE, NOT_NULL, OR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
protected java.lang.String className
where
protected Condition where
sortByOperator
protected SortByOperator sortByOperator
sortByExpression
protected java.lang.String sortByExpression
limit
protected int limit
BaseQuery
protected BaseQuery(java.lang.String className)
- Contruct query (only to be used by factory).
execute
protected abstract java.util.List execute(java.lang.String query,
java.lang.Object[] values,
java.lang.Object[] types)
throws org.roller.RollerException
newConditionVisitor
public abstract ConditionVisitor newConditionVisitor()
execute
public java.util.List execute()
throws org.roller.RollerException
- Specified by:
execute in interface Query
setWhere
public void setWhere(Condition cond)
- Specified by:
setWhere in interface Query
setSortBy
public void setSortBy(SortByOperator operator,
java.lang.String string)
- Specified by:
setSortBy in interface Query
setLimit
public void setLimit(int limit)
- Specified by:
setLimit in interface Query