com.atlassian.confluence.content
Class ContentQuery<T>

java.lang.Object
  extended by com.atlassian.confluence.content.ContentQuery<T>

public class ContentQuery<T>
extends Object

A query to be performed against the underlying database to retrieve some content. This class provides an abstraction layer between the queries that we might want to perform on content and the persistence-layer-specific code that performs the query.

In the back-end, the query will be matched with a HibernateContentQuery plugin module that will perform the query itself.

The type parameter is a convenience to allow you to specify the return type of the query.


Constructor Summary
ContentQuery(String name, Object... parameters)
           
 
Method Summary
 String getName()
           
 Object[] getParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentQuery

public ContentQuery(String name,
                    Object... parameters)
Method Detail

getName

public String getName()

getParameters

public Object[] getParameters()


Copyright © 2003-2013 Atlassian. All Rights Reserved.