Package org.kie.internal.task.api

## Interface TaskAdminService

-     public interface TaskAdminService

  The Task Admintration Service is intended to provide administrative functions such as: - Remove and Archive Tasks

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `archiveTasks​(List<org.kie.api.task.model.TaskSummary> tasks)` |
    `List<org.kie.api.task.model.TaskSummary>` | `getActiveTasks()` |
    `List<org.kie.api.task.model.TaskSummary>` | `getActiveTasks​(Date since)` |
    `List<org.kie.api.task.model.TaskSummary>` | `getArchivedTasks()` |
    `List<org.kie.api.task.model.TaskSummary>` | `getCompletedTasks()` |
    `List<org.kie.api.task.model.TaskSummary>` | `getCompletedTasks​(Date since)` |
    `List<org.kie.api.task.model.TaskSummary>` | `getCompletedTasksByProcessId​(Long processId)` |
    `int` | `removeAllTasks()` |
    `int` | `removeTasks​(List<org.kie.api.task.model.TaskSummary> tasks)` |

- - ### Method Detail

    - #### getActiveTasks

          List<org.kie.api.task.model.TaskSummary> getActiveTasks()

    - #### getActiveTasks

          List<org.kie.api.task.model.TaskSummary> getActiveTasks​(Date since)

    - #### getCompletedTasks

          List<org.kie.api.task.model.TaskSummary> getCompletedTasks()

    - #### getCompletedTasks

          List<org.kie.api.task.model.TaskSummary> getCompletedTasks​(Date since)

    - #### getCompletedTasksByProcessId

          List<org.kie.api.task.model.TaskSummary> getCompletedTasksByProcessId​(Long processId)

    - #### archiveTasks

          int archiveTasks​(List<org.kie.api.task.model.TaskSummary> tasks)

    - #### getArchivedTasks

          List<org.kie.api.task.model.TaskSummary> getArchivedTasks()

    - #### removeTasks

          int removeTasks​(List<org.kie.api.task.model.TaskSummary> tasks)

    - #### removeAllTasks

          int removeAllTasks()