org.alfresco.repo.search.results
Class ChildAssocRefResultSet

java.lang.Object
  extended by org.alfresco.repo.search.AbstractResultSet
      extended by org.alfresco.repo.search.results.ChildAssocRefResultSet
All Implemented Interfaces:
java.lang.Iterable, ResultSet

public class ChildAssocRefResultSet
extends AbstractResultSet


Constructor Summary
ChildAssocRefResultSet(NodeService nodeService, java.util.List cars, Path[] propertyPaths)
           
ChildAssocRefResultSet(NodeService nodeService, java.util.List nodeRefs, Path[] propertyPaths, boolean resolveAllParents)
           
 
Method Summary
 ChildAssociationRef getChildAssocRef(int n)
          Get the child assoc ref for a particular row.
 NodeRef getNodeRef(int n)
          Get the id of the node at the given index
 NodeService getNodeService()
           
 ResultSetMetaData getResultSetMetaData()
          Get the meta data for the results set.
 ResultSetRow getRow(int i)
          Get a row from the result set by row index, starting at 0.
 java.util.Iterator iterator()
           
 int length()
          Get the size of the result set
 
Methods inherited from class org.alfresco.repo.search.AbstractResultSet
close, getChildAssocRefs, getNodeRefs, getPropertyPaths, getScore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildAssocRefResultSet

public ChildAssocRefResultSet(NodeService nodeService,
                              java.util.List cars,
                              Path[] propertyPaths)

ChildAssocRefResultSet

public ChildAssocRefResultSet(NodeService nodeService,
                              java.util.List nodeRefs,
                              Path[] propertyPaths,
                              boolean resolveAllParents)
Method Detail

length

public int length()
Description copied from interface: ResultSet
Get the size of the result set


getNodeRef

public NodeRef getNodeRef(int n)
Description copied from interface: ResultSet
Get the id of the node at the given index

Parameters:
n - zero-based index

getChildAssocRef

public ChildAssociationRef getChildAssocRef(int n)
Description copied from interface: ResultSet
Get the child assoc ref for a particular row.

Parameters:
n - zero-based index

getRow

public ResultSetRow getRow(int i)
Description copied from interface: ResultSet
Get a row from the result set by row index, starting at 0.

Parameters:
i - zero-based index

iterator

public java.util.Iterator iterator()

getNodeService

public NodeService getNodeService()

getResultSetMetaData

public ResultSetMetaData getResultSetMetaData()
Description copied from interface: ResultSet
Get the meta data for the results set.



Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.