public class HstQueryManagerImpl extends Object implements HstQueryManager
Constructor and Description |
---|
HstQueryManagerImpl(javax.jcr.Session session,
ObjectConverter objectConverter)
Deprecated.
since 2.24.13 / 2.16.01. Use
HstQueryManagerImpl(Session, ObjectConverter, DateTools.Resolution)
instead |
HstQueryManagerImpl(javax.jcr.Session session,
ObjectConverter objectConverter,
org.hippoecm.repository.util.DateTools.Resolution resolution) |
Modifier and Type | Method and Description |
---|---|
HstQuery |
createQuery(HippoBean scope)
Creates a empty query, with the scope HippoBean
|
HstQuery |
createQuery(HippoBean scope,
Class<? extends HippoBean>... filterBeans)
Creates a query, with a scope and with a Filter that filters to only return HippoBeans of the types that are
added as variable arguments.
|
HstQuery |
createQuery(HippoBean scope,
Class<? extends HippoBean> filterBean,
boolean includeSubTypes)
Creates a query, with scope HippoBean and Filter for types of filterBean.
|
HstQuery |
createQuery(HippoBean scope,
String... primaryNodeTypes)
Creates a query, with a scope and with a Filter that filters to only return HippoBeans of the types that are
added as variable arguments.
|
HstQuery |
createQuery(javax.jcr.Node scope)
Creates a empty query, with scope
|
HstQuery |
createQuery(javax.jcr.Node scope,
Class<? extends HippoBean>... filterBeans)
Creates a query, with the scope HippoBean and with a Filter that filters to only return HippoBeans of the types that are
added as variable arguments.
|
HstQuery |
createQuery(javax.jcr.Node scope,
Class<? extends HippoBean> filterBean,
boolean includeSubTypes)
Creates a query, with scope and Filter for types of filterBean.
|
HstQuery |
createQuery(javax.jcr.Node scope,
String... primaryNodeTypes)
Creates a query, with the scope HippoBean and with a Filter that filters to only return HippoBeans of the types that are
added as variable arguments.
|
HstQuery |
createQuery(javax.jcr.Node scope,
String nodeType,
boolean includeSubTypes)
Creates a query, with scope and Filter for node types.
|
@Deprecated public HstQueryManagerImpl(javax.jcr.Session session, ObjectConverter objectConverter)
HstQueryManagerImpl(Session, ObjectConverter, DateTools.Resolution)
insteadpublic HstQueryManagerImpl(javax.jcr.Session session, ObjectConverter objectConverter, org.hippoecm.repository.util.DateTools.Resolution resolution)
public HstQuery createQuery(javax.jcr.Node scope) throws QueryException
HstQueryManager
createQuery
in interface HstQueryManager
HstQuery
with scope scope
QueryException
public HstQuery createQuery(javax.jcr.Node scope, Class<? extends HippoBean> filterBean, boolean includeSubTypes) throws QueryException
true
,
the result may also contain HippoBean's whose primarytype is a subtype of the filterBean type.createQuery
in interface HstQueryManager
HstQuery
with scope & filterQueryException
public HstQuery createQuery(HippoBean scope) throws QueryException
createQuery
in interface HstQueryManager
HstQuery
with scope scope
QueryException
public HstQuery createQuery(HippoBean scope, Class<? extends HippoBean> filterBean, boolean includeSubTypes) throws QueryException
true
,
the result may also contain HippoBean's whose primarytype is a subtype of the filterBean type.createQuery
in interface HstQueryManager
HstQuery
with scope & filterQueryException
public HstQuery createQuery(HippoBean scope, Class<? extends HippoBean>... filterBeans) throws QueryException
HstQueryManager
#createQuery(HstRequestContext, Node, Class, boolean)
instead.createQuery
in interface HstQueryManager
HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(javax.jcr.Node scope, Class<? extends HippoBean>... filterBeans) throws QueryException
createQuery
in interface HstQueryManager
HstQuery
with scope & filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(javax.jcr.Node scope, String nodeType, boolean includeSubTypes) throws QueryException
HstQueryManager
true
,
the result may also contain node types whose primary type is a subtype of the filter node type.createQuery
in interface HstQueryManager
HstQuery
with scope & filterQueryException
public HstQuery createQuery(HippoBean scope, String... primaryNodeTypes) throws QueryException
HstQueryManager
#createQuery(HstRequestContext, Node, Class, boolean)
instead.createQuery
in interface HstQueryManager
HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(javax.jcr.Node scope, String... primaryNodeTypes) throws QueryException
HstQueryManager
#createQuery(HstRequestContext, HippoBean, Class, boolean)
instead.createQuery
in interface HstQueryManager
HstQuery
with scope & filter on jcr primary nodetype of the filterBeanQueryException
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.