public interface RemoteQueryManager extends Remote
QueryManager
interface.
Used by the ServerQueryManager
and ClientQueryManager
adapter base classes to provide transparent RMI access to remote items.
RMI errors are signaled with RemoteExceptions.
QueryManager
,
ClientQueryManager
,
ServerQueryManager
Modifier and Type | Method and Description |
---|---|
RemoteQuery |
createQuery(String statement,
String language) |
RemoteQuery |
getQuery(String absPath) |
String[] |
getSupportedQueryLanguages()
See
Query . |
RemoteQuery createQuery(String statement, String language) throws RepositoryException, RemoteException
statement
- query statementlanguage
- query languageRepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryManager.createQuery(java.lang.String, java.lang.String)
RemoteQuery getQuery(String absPath) throws RepositoryException, RemoteException
absPath
- node path of a persisted query (that is, a node of type nt:query
).Query
object.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryManager.getQuery(javax.jcr.Node)
String[] getSupportedQueryLanguages() throws RepositoryException, RemoteException
Query
.RepositoryException
- on repository errorsRemoteException
- on RMI errorsQueryManager.getSupportedQueryLanguages()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.