public interface HstQueryManager
Modifier and Type | Method and Description |
---|---|
HstQuery |
createQuery(HippoBean scope)
Creates a empty query, with scope
|
HstQuery |
createQuery(HippoBean scope,
boolean includeSubTypes,
Class<? extends HippoBean>... filterBean) |
HstQuery |
createQuery(HippoBean scope,
boolean includeSubTypes,
String... primaryNodeTypes) |
HstQuery |
createQuery(HippoBean scope,
Class<? extends HippoBean>... filterBean)
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,
boolean includeSubTypes,
Class<? extends HippoBean>... filterBeans) |
HstQuery |
createQuery(javax.jcr.Node scope,
boolean includeSubTypes,
String... primaryNodeTypes) |
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.
|
DateTools.Resolution |
getDefaultResolution() |
ObjectConverter |
getObjectConverter() |
javax.jcr.Session |
getSession() |
javax.jcr.Session getSession()
Session
which was used to create this HstQueryManager
withDateTools.Resolution getDefaultResolution()
{@link DateTools.Resolution}
for this HstQueryManager
instanceObjectConverter getObjectConverter()
ObjectConverter
that was used to create this HstQueryManager
instanceHstQuery createQuery(javax.jcr.Node scope) throws QueryException
scope
- HstQuery
with scope scope
QueryException
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.scope
- filterBean
- includeSubTypes
- HstQuery
with scope & filterQueryException
HstQuery createQuery(javax.jcr.Node scope, String nodeType, boolean includeSubTypes) throws QueryException
true
,
the result may also contain node types whose primary type is a subtype of the filter node type.scope
- nodeType
- includeSubTypes
- HstQuery
with scope & filterQueryException
HstQuery createQuery(HippoBean scope) throws QueryException
scope
- HstQuery
with scope scope
QueryException
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.scope
- filterBean
- includeSubTypes
- HstQuery
with scope & filterQueryException
HstQuery createQuery(javax.jcr.Node scope, Class<? extends HippoBean>... filterBeans) throws QueryException
scope
- filterBeans
- HstQuery
with scope & filter on jcr primary nodetype of the filterBeanQueryException
HstQuery createQuery(javax.jcr.Node scope, boolean includeSubTypes, Class<? extends HippoBean>... filterBeans) throws QueryException
HstQuery createQuery(javax.jcr.Node scope, String... primaryNodeTypes) throws QueryException
scope
- primaryNodeTypes
- HstQuery
with scope & filter on jcr primary nodetype of the filterBeanQueryException
HstQuery createQuery(javax.jcr.Node scope, boolean includeSubTypes, String... primaryNodeTypes) throws QueryException
HstQuery createQuery(HippoBean scope, Class<? extends HippoBean>... filterBean) throws QueryException
scope
- filterBean
- HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
HstQuery createQuery(HippoBean scope, boolean includeSubTypes, Class<? extends HippoBean>... filterBean) throws QueryException
HstQuery createQuery(HippoBean scope, String... primaryNodeTypes) throws QueryException
scope
- primaryNodeTypes
- HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
HstQuery createQuery(HippoBean scope, boolean includeSubTypes, String... primaryNodeTypes) throws QueryException
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.