org.exoplatform.services.jcr.rmi.api.client
Class ClientQueryResult
java.lang.Object
org.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientQueryResult
- All Implemented Interfaces:
- javax.jcr.query.QueryResult
public class ClientQueryResult
- extends ClientObject
- implements javax.jcr.query.QueryResult
Local adapter for the JCR-RMI RemoteQueryResult inteface. This class
makes a remote query result locally available using the JCR QueryResult
interface.
- See Also:
QueryResult,
RemoteQueryResult
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientQueryResult
public ClientQueryResult(javax.jcr.Session session,
RemoteQueryResult remote,
LocalAdapterFactory factory)
- Creates a client adapter for the given remote query result.
- Parameters:
session - current sessionremote - remote query resultfactory - adapter factory
getColumnNames
public java.lang.String[] getColumnNames()
throws javax.jcr.RepositoryException
-
- Specified by:
getColumnNames in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
getRows
public javax.jcr.query.RowIterator getRows()
throws javax.jcr.RepositoryException
-
- Specified by:
getRows in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
getNodes
public javax.jcr.NodeIterator getNodes()
throws javax.jcr.RepositoryException
-
- Specified by:
getNodes in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.