public class QueryManagerImpl extends Object implements QueryManager
QueryManager
interface.Constructor and Description |
---|
QueryManagerImpl(Session session,
ManagerProvider mgrProvider,
ItemManager itemMgr,
WorkspaceManager wspManager)
Creates a new
QueryManagerImpl for the passed
Session . |
Modifier and Type | Method and Description |
---|---|
Query |
createQuery(String statement,
String language) |
QueryObjectModelFactory |
getQOMFactory() |
Query |
getQuery(Node node) |
String[] |
getSupportedQueryLanguages() |
public QueryManagerImpl(Session session, ManagerProvider mgrProvider, ItemManager itemMgr, WorkspaceManager wspManager) throws RepositoryException
QueryManagerImpl
for the passed
Session
.session
- the current session.mgrProvider
- the manager provider.itemMgr
- the item manager of the current session.wspManager
- the workspace manager.RepositoryException
- if an error occurs while initializing this
query manager.public Query createQuery(String statement, String language) throws InvalidQueryException, RepositoryException
createQuery
in interface QueryManager
InvalidQueryException
RepositoryException
QueryManager.createQuery(String, String)
public Query getQuery(Node node) throws InvalidQueryException, RepositoryException
getQuery
in interface QueryManager
InvalidQueryException
RepositoryException
QueryManager.getQuery(Node)
public String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages
in interface QueryManager
RepositoryException
QueryManager.getSupportedQueryLanguages()
public QueryObjectModelFactory getQOMFactory()
getQOMFactory
in interface QueryManager
QueryManager.getQOMFactory()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.