org.apache.jackrabbit.rmi.client
Class ClientQueryManager
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientQueryManager
- All Implemented Interfaces:
- QueryManager
public class ClientQueryManager
- extends ClientObject
- implements QueryManager
Local adapter for the JCR-RMI RemoteQueryManager
interface. This class makes a remote query manager locally available using
the JCR QueryManager
interface.
- See Also:
QueryManager
,
RemoteQueryManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientQueryManager
public ClientQueryManager(Session session,
RemoteQueryManager remote,
LocalAdapterFactory factory)
- Creates a client adapter for the given remote query manager.
- Parameters:
session
- current sessionremote
- remote query managerfactory
- adapter factory
createQuery
public Query createQuery(String statement,
String language)
throws RepositoryException
-
- Specified by:
createQuery
in interface QueryManager
- Throws:
RepositoryException
getQuery
public Query getQuery(Node node)
throws RepositoryException
-
- Specified by:
getQuery
in interface QueryManager
- Throws:
RepositoryException
getSupportedQueryLanguages
public String[] getSupportedQueryLanguages()
throws RepositoryException
-
- Specified by:
getSupportedQueryLanguages
in interface QueryManager
- Throws:
RepositoryException
getQOMFactory
public QueryObjectModelFactory getQOMFactory()
- Specified by:
getQOMFactory
in interface QueryManager
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.