Package org.alfresco.repo.domain.node
Interface NodeDAO.ChildAssocRefQueryCallback
-
- Enclosing interface:
- NodeDAO
public static interface NodeDAO.ChildAssocRefQueryCallbackInterface used to iterate over results from child association queries- Since:
- 3.4
- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddone()Called once the iteration of results has concludedbooleanhandle(Pair<Long,ChildAssociationRef> childAssocPair, Pair<Long,NodeRef> parentNodePair, Pair<Long,NodeRef> childNodePair)booleanorderResults()booleanpreLoadNodes()
-
-
-
Method Detail
-
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
-
-