Package org.alfresco.repo.search.results
Class ChildAssocRefResultSet
- java.lang.Object
-
- org.alfresco.repo.search.AbstractResultSet
-
- org.alfresco.repo.search.results.ChildAssocRefResultSet
-
- All Implemented Interfaces:
Iterable<ResultSetRow>,ResultSet,ResultSetSPI<ResultSetRow,ResultSetMetaData>
public class ChildAssocRefResultSet extends AbstractResultSet
Child assoc result set- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description ChildAssocRefResultSet(NodeService nodeService, List<ChildAssociationRef> cars)Normal constructorChildAssocRefResultSet(NodeService nodeService, List<NodeRef> nodeRefs, boolean resolveAllParents)Constructor that may expand all child assoc parents provided
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildAssociationRefgetChildAssocRef(int n)NodeRefgetNodeRef(int n)longgetNumberFound()ResultSetMetaDatagetResultSetMetaData()ResultSetRowgetRow(int i)intgetStart()booleanhasMore()Iterator<ResultSetRow>iterator()intlength()-
Methods inherited from class org.alfresco.repo.search.AbstractResultSet
close, getBulkFetch, getBulkFetchSize, getChildAssocRefs, getFacetQueries, getFieldFacet, getHighlighting, getNodeRefs, getScore, getSpellCheckResult, setBulkFetch, setBulkFetchSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ChildAssocRefResultSet
public ChildAssocRefResultSet(NodeService nodeService, List<ChildAssociationRef> cars)
Normal constructor- Parameters:
nodeService- NodeService
-
ChildAssocRefResultSet
public ChildAssocRefResultSet(NodeService nodeService, List<NodeRef> nodeRefs, boolean resolveAllParents)
Constructor that may expand all child assoc parents provided- Parameters:
nodeService- NodeServiceresolveAllParents- boolean
-
-
Method Detail
-
length
public int length()
-
getNodeRef
public NodeRef getNodeRef(int n)
-
getChildAssocRef
public ChildAssociationRef getChildAssocRef(int n)
-
getRow
public ResultSetRow getRow(int i)
-
iterator
public Iterator<ResultSetRow> iterator()
-
getResultSetMetaData
public ResultSetMetaData getResultSetMetaData()
-
getStart
public int getStart()
-
hasMore
public boolean hasMore()
-
getNumberFound
public long getNumberFound()
-
-