Package org.apache.jackrabbit.rmi.remote
Interface RemoteQueryManager
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerQueryManager
@Deprecated(forRemoval=true) public interface RemoteQueryManager extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
QueryManager
interface. Used by theServerQueryManager
andClientQueryManager
adapter base classes to provide transparent RMI access to remote items.RMI errors are signaled with RemoteExceptions.
- See Also:
QueryManager
,ClientQueryManager
,ServerQueryManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteQuery
createQuery(String statement, String language)
Deprecated, for removal: This API element is subject to removal in a future version.RemoteQuery
getQuery(String absPath)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getSupportedQueryLanguages()
Deprecated, for removal: This API element is subject to removal in a future version.SeeQuery
.
-
-
-
Method Detail
-
createQuery
RemoteQuery createQuery(String statement, String language) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
statement
- query statementlanguage
- query language- Returns:
- query
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryManager.createQuery(java.lang.String, java.lang.String)
-
getQuery
RemoteQuery getQuery(String absPath) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
absPath
- node path of a persisted query (that is, a node of typent:query
).- Returns:
- a
Query
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryManager.getQuery(javax.jcr.Node)
-
getSupportedQueryLanguages
String[] getSupportedQueryLanguages() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.SeeQuery
.- Returns:
- An string array.
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryManager.getSupportedQueryLanguages()
-
-