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

Method Summary
 void done()
          Called once the iteration of results has concluded
 boolean handle(org.alfresco.util.Pair childAssocPair, org.alfresco.util.Pair parentNodePair, org.alfresco.util.Pair childNodePair)
           
 boolean orderResults()
           
 boolean preLoadNodes()
           
 

Method Detail

handle

boolean handle(org.alfresco.util.Pair childAssocPair,
               org.alfresco.util.Pair parentNodePair,
               org.alfresco.util.Pair 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



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