Package org.alfresco.repo.domain.query
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandleResult(R result)Allow implementations to process a result.
-
-
-
Method Detail
-
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.
-
-