org.exoplatform.services.jcr.rmi.api.remote
Interface RemoteQueryManager
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- ServerQueryManager
public interface RemoteQueryManager
- extends java.rmi.Remote
Remote version of the JCR QueryManager interface. Used by
the ServerQueryManager
and ClientQueryManager
adapter base classes to provide transparent RMI access to remote items.
RMI errors are signalled with RemoteExceptions.
- See Also:
QueryManager,
ClientQueryManager,
ServerQueryManager
createQuery
RemoteQuery createQuery(java.lang.String statement,
java.lang.String language)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Parameters:
statement - query statementlanguage - query language
- Returns:
- query
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
QueryManager.createQuery(java.lang.String, java.lang.String)
getQuery
RemoteQuery getQuery(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Parameters:
absPath - node path of a persisted query (that is, a node of type nt:query).
- Returns:
- a
Query object.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
QueryManager.getQuery(javax.jcr.Node)
getSupportedQueryLanguages
java.lang.String[] getSupportedQueryLanguages()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Returns:
- An string array.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
See {@link Query}.
Copyright © 2010 eXo Platform SAS. All Rights Reserved.