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,
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,
boolean includeSubTypes,
Class<? extends HippoBean>... filterBeans) |
HstQuery |
createQuery(HippoBean scope,
boolean includeSubTypes,
String... primaryNodeTypes) |
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,
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() |
@Deprecated public HstQueryManagerImpl(javax.jcr.Session session, ObjectConverter objectConverter)
HstQueryManagerImpl(Session, ObjectConverter, DateTools.Resolution)
insteadpublic HstQueryManagerImpl(javax.jcr.Session session, ObjectConverter objectConverter, DateTools.Resolution resolution)
public javax.jcr.Session getSession()
getSession
in interface HstQueryManager
Session
which was used to create this HstQueryManager
withpublic DateTools.Resolution getDefaultResolution()
getDefaultResolution
in interface HstQueryManager
{@link DateTools.Resolution}
for this HstQueryManager
instancepublic ObjectConverter getObjectConverter()
getObjectConverter
in interface HstQueryManager
ObjectConverter
that was used to create this HstQueryManager
instancepublic 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
in interface HstQueryManager
HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(HippoBean scope, boolean includeSubTypes, Class<? extends HippoBean>... filterBeans) throws QueryException
createQuery
in interface HstQueryManager
QueryException
createQuery(HippoBean scope, Class extends HippoBean>... filterBean) only now also subtypes of
filterBeans
are included if includeSubTypes = true
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, boolean includeSubTypes, Class<? extends HippoBean>... filterBeans) throws QueryException
createQuery
in interface HstQueryManager
QueryException
createQuery(Node scope, Class extends HippoBean>... filterBeans) only now also subtypes of
filterBeans
are included if includeSubTypes = true
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
in interface HstQueryManager
HstQuery
with scope and filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(HippoBean scope, boolean includeSubTypes, String... primaryNodeTypes) throws QueryException
createQuery
in interface HstQueryManager
QueryException
createQuery(HippoBean scope, String ... primaryNodeTypes) only now also subtypes of
filterBeans
are included if includeSubTypes = true
public HstQuery createQuery(javax.jcr.Node scope, String... primaryNodeTypes) throws QueryException
HstQueryManager
createQuery
in interface HstQueryManager
HstQuery
with scope & filter on jcr primary nodetype of the filterBeanQueryException
public HstQuery createQuery(javax.jcr.Node scope, boolean includeSubTypes, String... primaryNodeTypes) throws QueryException
createQuery
in interface HstQueryManager
QueryException
createQuery(Node scope, String ... primaryNodeTypes) only now also subtypes of
filterBeans
are included if includeSubTypes = true
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.