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:
WorkflowScheduler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ItemCollection>
find(int pageSize, int pageIndex)
Returns a selection of workitems.
-
-
-
Method Detail
-
find
List<ItemCollection> find(int pageSize, int pageIndex) throws QueryException
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
-
-