public class ClientQueryManager extends ClientObject implements QueryManager
RemoteQueryManager
interface. This class makes a remote query manager locally available using
the JCR QueryManager
interface.QueryManager
,
RemoteQueryManager
Constructor and Description |
---|
ClientQueryManager(Session session,
RemoteQueryManager remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote query manager.
|
Modifier and Type | Method and Description |
---|---|
Query |
createQuery(String statement,
String language) |
QueryObjectModelFactory |
getQOMFactory() |
Query |
getQuery(Node node) |
String[] |
getSupportedQueryLanguages() |
getFactory, getItem, getNode, getNodeTypeArray
public ClientQueryManager(Session session, RemoteQueryManager remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote query managerfactory
- adapter factorypublic Query createQuery(String statement, String language) throws RepositoryException
createQuery
in interface QueryManager
RepositoryException
public Query getQuery(Node node) throws RepositoryException
getQuery
in interface QueryManager
RepositoryException
public String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages
in interface QueryManager
RepositoryException
public QueryObjectModelFactory getQOMFactory()
getQOMFactory
in interface QueryManager
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.