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 signalled with RemoteExceptions.
- Author:
- Philipp Koch
- See Also:
QueryManager
,
ClientQueryManager
,
ServerQueryManager
createQuery
public 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
public 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
public 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-2006 . All Rights Reserved.