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 Type
    Method
    Description
    find(int pageSize, int pageIndex)
    Returns a selection of workitems.
  • Method Details

    • 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 page
      pageIndex - - number of page to start (default = 0)
      Returns:
      workitem selection, can be null
      Throws:
      QueryException