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 -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.content.persistence.hibernate.HibernateContentQueryFactory
getQuery, getQuery
-
Constructor Details
-
FindAllByContentIdHibernateQueryFactory
public FindAllByContentIdHibernateQueryFactory()
-
-
Method Details
-
getQuery
public javax.persistence.Query getQuery(javax.persistence.EntityManager entityManager, Object... parameters) Description copied from interface:HibernateContentQueryFactoryGet 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:
getQueryin 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
-