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 QueryManagerInvalidQueryExceptionRepositoryExceptionQueryManager.createQuery(String, String)public Query getQuery(Node node) throws InvalidQueryException, RepositoryException
getQuery in interface QueryManagerInvalidQueryExceptionRepositoryExceptionQueryManager.getQuery(Node)public String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages in interface QueryManagerRepositoryExceptionQueryManager.getSupportedQueryLanguages()public QueryObjectModelFactory getQOMFactory()
getQOMFactory in interface QueryManagerQueryManager.getQOMFactory()Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.