Interface TaskAssigningRuntimeClient

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.kie.server.api.model.taskassigning.PlanningExecutionResult executePlanning​(org.kie.server.api.model.taskassigning.PlanningItemList planningItemList, String userId)  
      org.kie.server.api.model.taskassigning.TaskDataList findTasks​(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize)
      Executes a parametrized query over the jBPM tasks.
      org.kie.server.api.model.taskassigning.TaskDataList findTasks​(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, org.kie.server.api.model.taskassigning.TaskInputVariablesReadMode taskInputVariablesReadMode)
      Executes a parametrized query over the jBPM tasks.
    • Method Detail

      • executePlanning

        org.kie.server.api.model.taskassigning.PlanningExecutionResult executePlanning​(org.kie.server.api.model.taskassigning.PlanningItemList planningItemList,
                                                                                       String userId)
      • findTasks

        org.kie.server.api.model.taskassigning.TaskDataList findTasks​(Long fromTaskId,
                                                                      List<String> status,
                                                                      LocalDateTime fromLastModificationDate,
                                                                      Integer page,
                                                                      Integer pageSize,
                                                                      org.kie.server.api.model.taskassigning.TaskInputVariablesReadMode taskInputVariablesReadMode)
        Executes a parametrized query over the jBPM tasks. This method is intended for the tasks assigning integration implementation internal use. Third parties interested in consuming the information type returned by this method should use the simplified variant of this of this method findTasks(Long, List, LocalDateTime, Integer, Integer) or any other of the jBPM runtime client/queries methods, etc.

        Parameters:
        fromTaskId - filters the tasks with taskId >= fromTaskId. If null no filtering is applied.
        status - filters the tasks that are in one of the following status. If null or the empty list no filtering is applied.
        fromLastModificationDate - filters the tasks with lastModificationDate >= fromLastModificationDate. If null no filtering is applied.
        page - sets the starting page for the paged reading.
        pageSize - sets the pageSize for the paged reading.
        taskInputVariablesReadMode - establishes the tasks input variables reading mode.
        Returns:
        a list of TaskData with the jBPM tasks that met the filtering conditions. The potential owners of the task are always loaded but there's no warranty that the potential owners of the last consumed task fits the page/pageSize configuration. The task inputs data is loaded accordingly with the selected taskInputVariablesReadMode.
        See Also:
        TaskInputVariablesReadMode
      • findTasks

        org.kie.server.api.model.taskassigning.TaskDataList findTasks​(Long fromTaskId,
                                                                      List<String> status,
                                                                      LocalDateTime fromLastModificationDate,
                                                                      Integer page,
                                                                      Integer pageSize)
        Executes a parametrized query over the jBPM tasks. This method is intended for the tasks assigning integration implementation. Third parties that might use this method must be aware that no task inputs data is loaded. If this information is needed the standard jBPM runtime client/queries must be used instead.

        Parameters:
        fromTaskId - filters the tasks with taskId >= fromTaskId. If null no filtering is applied.
        status - filters the tasks that are in one of the following status. If null or the empty list no filtering is applied.
        fromLastModificationDate - filters the tasks with lastModificationDate >= fromLastModificationDate. If null no filtering is applied.
        page - sets the starting page for the paged reading.
        pageSize - sets the pageSize for the paged reading.
        Returns:
        a list of TaskData with the jBPM tasks that met the filtering conditions. The potential owners of the task is always loaded but there's no warranty that the potential owners of the last consumed taks fits the page/pageSize configuration. NO task inputs data is loaded by this method.
        See Also:
        TaskInputVariablesReadMode