org.apache.jackrabbit.jcr2spi.query
Class QueryManagerImpl
java.lang.Object
org.apache.jackrabbit.jcr2spi.query.QueryManagerImpl
- All Implemented Interfaces:
- QueryManager
public class QueryManagerImpl
- extends Object
- implements QueryManager
This class implements the QueryManager
interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryManagerImpl
public QueryManagerImpl(Session session,
ManagerProvider mgrProvider,
ItemManager itemMgr,
WorkspaceManager wspManager)
throws RepositoryException
- 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.
- Throws:
RepositoryException
- if an error occurs while initializing this
query manager.
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()
getQOMFactory
public QueryObjectModelFactory getQOMFactory()
- Specified by:
getQOMFactory
in interface QueryManager
- See Also:
QueryManager.getQOMFactory()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.