org.exoplatform.services.jcr.rmi.api.client
Class ClientQueryManager
java.lang.Object
org.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientQueryManager
- All Implemented Interfaces:
- javax.jcr.query.QueryManager
public class ClientQueryManager
- extends ClientObject
- implements javax.jcr.query.QueryManager
Local adapter for the JCR-RMI RemoteQueryManager inteface. 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(javax.jcr.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 javax.jcr.query.Query createQuery(java.lang.String statement,
java.lang.String language)
throws javax.jcr.RepositoryException
-
- Specified by:
createQuery in interface javax.jcr.query.QueryManager
- Throws:
javax.jcr.RepositoryException
getQuery
public javax.jcr.query.Query getQuery(javax.jcr.Node node)
throws javax.jcr.RepositoryException
-
- Specified by:
getQuery in interface javax.jcr.query.QueryManager
- Throws:
javax.jcr.RepositoryException
getSupportedQueryLanguages
public java.lang.String[] getSupportedQueryLanguages()
throws javax.jcr.RepositoryException
-
- Specified by:
getSupportedQueryLanguages in interface javax.jcr.query.QueryManager
- Throws:
javax.jcr.RepositoryException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.