org.apache.jackrabbit.rmi.remote
Interface RemoteQueryResult

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ServerQueryResult

public interface RemoteQueryResult
extends java.rmi.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 signaled with RemoteExceptions.

See Also:
QueryResult, ClientQueryResult, ServerQueryResult

Method Summary
 java.lang.String[] getColumnNames()
           
 RemoteIterator getNodes()
           
 RemoteIterator getRows()
           
 

Method Detail

getColumnNames

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

getRows

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

getNodes

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


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.