org.apache.jackrabbit.rmi.remote
Interface RemoteQueryManager
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- ServerQueryManager
public interface RemoteQueryManager
- extends 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 signaled with RemoteExceptions.
- See Also:
QueryManager
,
ClientQueryManager
,
ServerQueryManager
createQuery
RemoteQuery createQuery(String statement,
String language)
throws RepositoryException,
RemoteException
- Parameters:
statement
- query statementlanguage
- query language
- Returns:
- query
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
QueryManager.createQuery(java.lang.String, java.lang.String)
getQuery
RemoteQuery getQuery(String absPath)
throws RepositoryException,
RemoteException
- Parameters:
absPath
- node path of a persisted query (that is, a node of type nt:query
).
- Returns:
- a
Query
object.
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
QueryManager.getQuery(javax.jcr.Node)
getSupportedQueryLanguages
String[] getSupportedQueryLanguages()
throws RepositoryException,
RemoteException
- Returns:
- An string array.
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
See {@link Query}.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.