com.atlassian.confluence.plugins.contentproperty.hibernate2
Class FindAllByContentIdHibernateQueryFactory

java.lang.Object
  extended by 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
FindAllByContentIdHibernateQueryFactory()
           
 
Method Summary
 net.sf.hibernate.Query getQuery(net.sf.hibernate.Session session, Object... parameters)
          Get the hibernate implementation of the query this factory wishes to generate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindAllByContentIdHibernateQueryFactory

public FindAllByContentIdHibernateQueryFactory()
Method Detail

getQuery

public net.sf.hibernate.Query getQuery(net.sf.hibernate.Session session,
                                       Object... parameters)
                                throws net.sf.hibernate.HibernateException
Description copied from interface: HibernateContentQueryFactory
Get the hibernate 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 interface HibernateContentQueryFactory
Parameters:
session - the hibernate session in which to create the query
parameters - the parameters to be set on the query
Returns:
the hibernate implementation of the query
Throws:
net.sf.hibernate.HibernateException


Copyright © 2003–2015 Atlassian. All rights reserved.