Interface CannedQueryDAO.ResultHandler<R>

Type Parameters:
R - the type of the result
All Known Implementing Classes:
GetChildrenCannedQuery.FilterSortResultHandler, GetPeopleCannedQuery.PersonResultHandler
Enclosing interface:
CannedQueryDAO

public static interface CannedQueryDAO.ResultHandler<R>
A simple, typed results handler.
Since:
4.0
Author:
Derek Hulley
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handleResult(R result)
    Allow implementations to process a result.
  • Method Details

    • handleResult

      boolean handleResult(R 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.