org.apache.jackrabbit.rmi.remote
Interface RemoteQueryResult

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerQueryResult

public interface RemoteQueryResult
extends Remote

Remote version of the JCR QueryResult interface. Used by the ServerQueryResult and ClientQueryResult adapter base classes to provide transparent RMI access to remote items.

RMI errors are signalled with RemoteExceptions.

Author:
Philipp Koch
See Also:
QueryResult, ClientQueryResult, ServerQueryResult

Method Summary
 String[] getColumnNames()
           
 RemoteIterator getNodes()
           
 RemoteIterator getRows()
           
 

Method Detail

getColumnNames

public String[] getColumnNames()
                        throws RepositoryException,
                               RemoteException
Returns:
a PropertyIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getColumnNames()

getRows

public RemoteIterator getRows()
                       throws RepositoryException,
                              RemoteException
Returns:
a RowIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getRows()

getNodes

public RemoteIterator getNodes()
                        throws RepositoryException,
                               RemoteException
Returns:
a remote node iterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getNodes()


Copyright © 2004-2006 . All Rights Reserved.