Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database
Class DbQueryManager

java.lang.Object
  extended by com.jivesoftware.forum.database.DbQueryManager
All Implemented Interfaces:
QueryManager

public class DbQueryManager
extends java.lang.Object
implements QueryManager

Since:
4.0

Field Summary
protected static Cache filterCache
          Cache to hold Lucene search filters.
 
Method Summary
 Query createQuery()
          Creates a query object to search through all forums.
 Query createQuery(Forum[] forums)
          Creates a query object to search through the specified array of forums.
static DbQueryManager getInstance()
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filterCache

protected static Cache filterCache
Cache to hold Lucene search filters.

Method Detail

getInstance

public static DbQueryManager getInstance()

initialize

public void initialize()

createQuery

public Query createQuery()
Description copied from interface: QueryManager
Creates a query object to search through all forums. Note: only forums that the user calling this method has read access for will be included in the search.

Specified by:
createQuery in interface QueryManager
Returns:
a Query object that can be used to search all visible and searchable forums.

createQuery

public Query createQuery(Forum[] forums)
Description copied from interface: QueryManager
Creates a query object to search through the specified array of forums. Note: only the forums that the user calling this method has read access for will be included in the search.

Specified by:
createQuery in interface QueryManager
Parameters:
forums - the forums to search.
Returns:
a Query object that can be used to search the specified forums.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.