Package org.alfresco.repo.domain.node
Interface NodeDAO.ChildAssocRefQueryCallback
- Enclosing interface:
- NodeDAO
public static interface NodeDAO.ChildAssocRefQueryCallback
Interface used to iterate over results from child association queries
- Since:
- 3.4
- Author:
- Derek Hulley
-
Method Details
-
handle
boolean handle(Pair<Long, ChildAssociationRef> childAssocPair, Pair<Long, NodeRef> parentNodePair, Pair<Long, NodeRef> childNodePair) - Returns:
- Return false to terminate the query i.e. stop receiving results
-
preLoadNodes
boolean preLoadNodes()- Returns:
- Return true if caching of the results is required
-
orderResults
boolean orderResults()- Returns:
- Return true if child associations must be ordered by index and ID
-
done
void done()Called once the iteration of results has concluded
-