Package org.imixs.workflow
Interface QuerySelector
public interface QuerySelector
The Interface QuerySelector can be implemented as a CDI Bean to provide a
custom selection of workitems. One example usage for the QuerySelector
interface is the WorkflowScheduler which supports this interface to quey a
custom selection of scheduled workitems.
- Version:
- 1.0
- Author:
- Ralph Soika
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfind
(int pageSize, int pageIndex) Returns a selection of workitems.
-
Method Details
-
find
Returns a selection of workitems. The method may throw a QueryExeption.- Parameters:
pageSize
- - total docs per pagepageIndex
- - number of page to start (default = 0)- Returns:
- workitem selection, can be null
- Throws:
QueryException
-