Class ContentQuery<T>

  extended by com.atlassian.confluence.content.ContentQuery<T>

public class ContentQuery<T>
extends java.lang.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(java.lang.String name, java.lang.Object... parameters)
Method Summary
 java.lang.String getName()
 java.lang.Object[] getParameters()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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


public java.lang.String getName()


public java.lang.Object[] getParameters()

Copyright © 2003-2014 Atlassian. All Rights Reserved.