org.alfresco.repo.node.db
Interface NodeDaoService.ChildAssocRefQueryCallbackFilter

All Superinterfaces:
NodeDaoService.ChildAssocRefQueryCallback
Enclosing interface:
NodeDaoService

public static interface NodeDaoService.ChildAssocRefQueryCallbackFilter
extends NodeDaoService.ChildAssocRefQueryCallback

Interface used to iterate over results from child association queries


Method Summary
 boolean isDesiredRow(org.alfresco.util.Pair childAssocPair, org.alfresco.util.Pair parentNodePair, org.alfresco.util.Pair childNodePair, java.lang.String assocChildNodeName, java.lang.Long assocChildNodeNameCrc)
          Method to handle raw query results and decide if the result should be filtered out or not.
 
Methods inherited from interface org.alfresco.repo.node.db.NodeDaoService.ChildAssocRefQueryCallback
handle, preLoadNodes
 

Method Detail

isDesiredRow

boolean isDesiredRow(org.alfresco.util.Pair childAssocPair,
                     org.alfresco.util.Pair parentNodePair,
                     org.alfresco.util.Pair childNodePair,
                     java.lang.String assocChildNodeName,
                     java.lang.Long assocChildNodeNameCrc)
Method to handle raw query results and decide if the result should be filtered out or not. If true is returned, the standard handler method will be called. If false is returned, then the query result will be skipped.

This provides a quick way to filter out results without having to pull in full entities.

Returns:
Return true if the standard handler method should be called, or false to filter the result out.


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