org.alfresco.jcr.query
Class NodeRefListQueryResultImpl

java.lang.Object
  extended by org.alfresco.jcr.query.NodeRefListQueryResultImpl
All Implemented Interfaces:
javax.jcr.query.QueryResult

public class NodeRefListQueryResultImpl
extends java.lang.Object
implements javax.jcr.query.QueryResult

Query Result based a NodeRef List


Constructor Summary
NodeRefListQueryResultImpl(SessionImpl session, java.util.List nodeRefs)
          Construct
 
Method Summary
 java.lang.String[] getColumnNames()
           
 javax.jcr.NodeIterator getNodes()
           
 javax.jcr.query.QueryResult getProxy()
          Get proxied JCR Query Result
 javax.jcr.query.RowIterator getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRefListQueryResultImpl

public NodeRefListQueryResultImpl(SessionImpl session,
                                  java.util.List nodeRefs)
Construct

Parameters:
nodeRefs - list of node references
Method Detail

getProxy

public javax.jcr.query.QueryResult getProxy()
Get proxied JCR Query Result

Returns:
proxy

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 © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.