com.xpn.xwiki.plugin.query
Class SecHibernateQuery
java.lang.Object
com.xpn.xwiki.plugin.query.DefaultQuery
com.xpn.xwiki.plugin.query.HibernateQuery
com.xpn.xwiki.plugin.query.SecHibernateQuery
- All Implemented Interfaces:
- IQuery
public class SecHibernateQuery
- extends HibernateQuery
Security version of HibernateQuery
Fields inherited from class com.xpn.xwiki.plugin.query.HibernateQuery |
_from, _hqlparams, _order, _select, _userwhere, _where, abr_xwiki_classes, hbn_xwiki_classes, jcl_xwiki_classes, qn_flexproperty, qn_property, qn_xwiki_attachment, qn_xwiki_document, qn_xwiki_object, translator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
security
private boolean security
_allowdocs
private java.util.List _allowdocs
isReturnClasses
java.util.Set isReturnClasses
isQueryRight
boolean isQueryRight
isViewRight
boolean isViewRight
isAllow
boolean isAllow
SecHibernateQuery
public SecHibernateQuery(org.apache.jackrabbit.core.query.QueryRootNode tree,
IQueryFactory qf)
constructWhere
public boolean constructWhere(java.lang.StringBuffer sb)
- Overrides:
constructWhere
in class HibernateQuery
- Returns:
- true, if something added
_addSelect
protected void _addSelect(HibernateQuery.XWikiHibernateQueryTranslator.ObjProperty p)
- Overrides:
_addSelect
in class HibernateQuery
_addPropClass
protected void _addPropClass(java.lang.Class class1)
- Overrides:
_addPropClass
in class HibernateQuery
list
public java.util.List list()
throws XWikiException
- Specified by:
list
in interface IQuery
- Overrides:
list
in class HibernateQuery
- Throws:
XWikiException
getNeededRight
public java.util.List getNeededRight()
isAllowed
public boolean isAllowed()
Copyright 2003 Ludovic Dubost