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