org.apache.jackrabbit.rmi.remote
Interface RemoteQuery
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- ServerQuery
- public interface RemoteQuery
- extends Remote
Remote version of the JCR Query
interface.
Used by the ServerQuery
and ClientQuery
adapter base classes to provide transparent RMI access to remote items.
RMI errors are signalled with RemoteExceptions.
- Author:
- Philipp Koch
- See Also:
Query
,
ClientQuery
,
ServerQuery
execute
public RemoteQueryResult execute()
throws RepositoryException,
RemoteException
- Returns:
- a
QueryResult
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
Query.execute()
getStatement
public String getStatement()
throws RemoteException
- Returns:
- the query statement.
- Throws:
RemoteException
- on RMI errors- See Also:
Query.getStatement()
getLanguage
public String getLanguage()
throws RemoteException
- Returns:
- the query language.
- Throws:
RemoteException
- on RMI errors- See Also:
Query.getLanguage()
getStoredQueryPath
public String getStoredQueryPath()
throws RepositoryException,
RemoteException
- Returns:
- path of the node representing this query.
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
Query.getStoredQueryPath()
storeAsNode
public RemoteNode storeAsNode(String absPath)
throws RepositoryException,
RemoteException
- Parameters:
absPath
- path at which to persist this query.
- Returns:
- stored node
- Throws:
RepositoryException
- on repository errors
RemoteException
- on RMI errors- See Also:
Query.storeAsNode(String)
Copyright © 2004-2006 . All Rights Reserved.