org.apache.jackrabbit.jcr2spi.query
Class QueryManagerImpl

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.query.QueryManagerImpl
All Implemented Interfaces:
QueryManager

public class QueryManagerImpl
extends Object
implements QueryManager

This class implements the QueryManager interface.


Constructor Summary
QueryManagerImpl(Session session, ManagerProvider mgrProvider, ItemManager itemMgr, WorkspaceManager wspManager)
          Creates a new QueryManagerImpl for the passed Session.
 
Method Summary
 Query createQuery(String statement, String language)
           
 Query getQuery(Node node)
           
 String[] getSupportedQueryLanguages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryManagerImpl

public QueryManagerImpl(Session session,
                        ManagerProvider mgrProvider,
                        ItemManager itemMgr,
                        WorkspaceManager wspManager)
Creates a new QueryManagerImpl for the passed Session.

Parameters:
session - the current session.
mgrProvider - the manager provider.
itemMgr - the item manager of the current session.
wspManager - the workspace manager.
Method Detail

createQuery

public Query createQuery(String statement,
                         String language)
                  throws InvalidQueryException,
                         RepositoryException
Specified by:
createQuery in interface QueryManager
Throws:
InvalidQueryException
RepositoryException
See Also:
QueryManager.createQuery(String, String)

getQuery

public Query getQuery(Node node)
               throws InvalidQueryException,
                      RepositoryException
Specified by:
getQuery in interface QueryManager
Throws:
InvalidQueryException
RepositoryException
See Also:
QueryManager.getQuery(Node)

getSupportedQueryLanguages

public String[] getSupportedQueryLanguages()
                                    throws RepositoryException
Specified by:
getSupportedQueryLanguages in interface QueryManager
Throws:
RepositoryException
See Also:
QueryManager.getSupportedQueryLanguages()


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.