org.alfresco.repo.domain.query
Interface CannedQueryDAO.ResultHandler

Enclosing interface:
CannedQueryDAO

public static interface CannedQueryDAO.ResultHandler

A simple, typed results handler.

Since:
4.0

Method Summary
 boolean handleResult(java.lang.Object result)
          Allow implementations to process a result.
 

Method Detail

handleResult

boolean handleResult(java.lang.Object result)
Allow implementations to process a result. Note that the interface contract will be met, but internally the querying mechanism might not be able to optimise out all result fetching.

Returns:
true if more results are required or false to terminate result fetching.


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