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()
           
 RemoteNode[] getNodes()
           
 RemoteRow[] 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 RemoteRow[] getRows()
                    throws RepositoryException,
                           RemoteException
Returns:
a RowIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getRows()

getNodes

public RemoteNode[] getNodes()
                      throws RepositoryException,
                             RemoteException
Returns:
a NodeIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getNodes()


Copyright © 2004-2005 . All Rights Reserved.