Class FindAllByContentIdHibernateQueryFactory
- java.lang.Object
-
- com.atlassian.confluence.plugins.contentproperty.hibernate2.FindAllByContentIdHibernateQueryFactory
-
- All Implemented Interfaces:
HibernateContentQueryFactory
public class FindAllByContentIdHibernateQueryFactory extends Object implements HibernateContentQueryFactory
Hibernate 2 version of a query to find all content properties by owner id- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description FindAllByContentIdHibernateQueryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.persistence.Query
getQuery(javax.persistence.EntityManager entityManager, Object... parameters)
Get the JPA implementation of the query this factory wishes to generate.
-
-
-
Method Detail
-
getQuery
public javax.persistence.Query getQuery(javax.persistence.EntityManager entityManager, Object... parameters)
Description copied from interface:HibernateContentQueryFactory
Get the JPA implementation of the query this factory wishes to generate. Any parameters for the query should be set, as should whether the query is cacheable or not. Limits (offset/max results) will be set by the DAO.- Specified by:
getQuery
in interfaceHibernateContentQueryFactory
- Parameters:
entityManager
- the JPA entityManager in which to create the queryparameters
- the parameters to be set on the query- Returns:
- the JPA implementation of the query
-
-