com.xpn.xwiki.plugin.query
Class DefaultQuery
java.lang.Object
com.xpn.xwiki.plugin.query.DefaultQuery
- All Implemented Interfaces:
- IQuery
- Direct Known Subclasses:
- HibernateQuery
public class DefaultQuery
- extends java.lang.Object
- implements IQuery
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_queryFactory
protected IQueryFactory _queryFactory
_querytree
protected org.apache.jackrabbit.core.query.QueryRootNode _querytree
_fetchSize
protected int _fetchSize
_firstResult
protected int _firstResult
_isdistinct
protected boolean _isdistinct
DefaultQuery
public DefaultQuery(org.apache.jackrabbit.core.query.QueryRootNode tree,
IQueryFactory qf)
list
public java.util.List list()
throws XWikiException
- Specified by:
list
in interface IQuery
- Throws:
XWikiException
setMaxResults
public IQuery setMaxResults(int fs)
- Specified by:
setMaxResults
in interface IQuery
setFirstResult
public IQuery setFirstResult(int fr)
- Specified by:
setFirstResult
in interface IQuery
setDistinct
public IQuery setDistinct(boolean d)
- Specified by:
setDistinct
in interface IQuery
getCache
protected XWikiCache getCache()
getContext
protected XWikiContext getContext()
getStore
protected XWikiStoreInterface getStore()
getQueryTree
protected org.apache.jackrabbit.core.query.QueryRootNode getQueryTree()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2003 Ludovic Dubost