org.priha.query
Class PrihaQueryManager
java.lang.Object
org.priha.query.PrihaQueryManager
public class PrihaQueryManager
- extends java.lang.Object
Manages our Provider modules and provides the QueryManager interface.
- Author:
- Janne Jalkanen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrihaQueryManager
public PrihaQueryManager(SessionImpl session)
getQueryProvider
protected QueryProvider getQueryProvider()
- Get the QueryProvider which will be used to resolve the actual query.
- Returns:
- A QueryProvider instance.
createQuery
public Query createQuery(java.lang.String statement,
java.lang.String language)
throws InvalidQueryException,
RepositoryException
- Throws:
InvalidQueryException
RepositoryException
getQuery
public Query getQuery(Node node)
throws InvalidQueryException,
RepositoryException
- Throws:
InvalidQueryException
RepositoryException
getSupportedQueryLanguages
public java.lang.String[] getSupportedQueryLanguages()
throws RepositoryException
- Throws:
RepositoryException