## Uses of Class
org.jbpm.services.task.commands.TaskCommand

- Packages that use TaskCommand
  Package | Description
  --- | ---
  org.jbpm.kie.services.impl.admin.commands |
  org.jbpm.services.task.admin.listener.internal |
  org.jbpm.services.task.audit.commands |
  org.jbpm.services.task.audit.service |
  org.jbpm.services.task.commands |

- - ### Uses of TaskCommand in org.jbpm.kie.services.impl.admin.commands

    Subclasses of TaskCommand in org.jbpm.kie.services.impl.admin.commands
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AddPeopleAssignmentsCommand` |
    `class` | `AddTaskInputsCommand` |
    `class` | `CancelTaskDeadlineCommand` |
    `class` | `ListTaskNotificationsCommand` |
    `class` | `ListTaskReassignmentsCommand` |
    `class` | `RemovePeopleAssignmentsCommand` |
    `class` | `RemoveTaskDataCommand` |
    `class` | `ScheduleTaskDeadlineCommand` |
    `class` | `UpdateTaskCommand` |

  - ### Uses of TaskCommand in org.jbpm.services.task.admin.listener.internal

    Subclasses of TaskCommand in org.jbpm.services.task.admin.listener.internal
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `GetCurrentTxTasksCommand` |

  - ### Uses of TaskCommand in org.jbpm.services.task.audit.commands

    Subclasses of TaskCommand in org.jbpm.services.task.audit.commands
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractTaskAuditQueryCommand<R,​Q>` |
    `class` | `AuditTaskQueryCommand` |
    `class` | `BAMTaskSummaryQueryCommand` |
    `class` | `DeleteAuditEventsCommand` |
    `class` | `DeleteBAMTaskSummariesCommand` |
    `class` | `GetAllAdminAuditTasksByUserCommand` |
    `class` | `GetAllAuditTasksByStatusCommand` |
    `class` | `GetAllGroupAuditTasksByUserCommand` |
    `class` | `GetAllHistoryAuditTasksByUserCommand` |
    `class` | `GetAllHistoryAuditTasksCommand` |
    `class` | `GetAuditEventsByProcessInstanceIdCommand` |
    `class` | `GetAuditEventsCommand` |
    `class` | `GetBAMTaskSummariesCommand` |
    `class` | `GetTaskInputVariablesCommand` |
    `class` | `GetTaskOutputVariablesCommand` |
    `class` | `GetTasksByVariableNameAndValueCommand` |
    `class` | `GetTasksByVariableNameCommand` |
    `class` | `TaskEventQueryCommand` |
    `class` | `TaskVariableQueryCommand` |

  - ### Uses of TaskCommand in org.jbpm.services.task.audit.service

    Methods in org.jbpm.services.task.audit.service that return TaskCommand
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected abstract TaskCommand` | AbstractTaskAuditQueryBuilderImpl.`getCommand()` |
    `protected TaskCommand<List<org.kie.internal.task.api.TaskVariable>>` | TaskVariableQueryBuilderImpl.`getCommand()` |

  - ### Uses of TaskCommand in org.jbpm.services.task.commands

    Subclasses of TaskCommand in org.jbpm.services.task.commands
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ActivateTaskCommand` | Operation.Activate : [ new OperationCommand().{ status = [ Status.Created ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Ready } ],
    `class` | `AddAttachmentCommand` |
    `class` | `AddCommentCommand` |
    `class` | `AddContentCommand` |
    `class` | `AddContentFromUserCommand` |
    `class` | `AddGroupCommand` |
    `class` | `AddTaskCommand` | Operation.Start : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner ], setNewOwnerToUser = true, newStatus = Status.InProgress }, new OperationCommand().{ status = [ Status.Reserved ], allowed = [ Allowed.Owner ], newStatus = Status.InProgress } ], *
    `class` | `AddUserCommand` |
    `class` | `AddUsersGroupsCommand` |
    `class` | `ArchiveTasksCommand` |
    `class` | `CancelDeadlineCommand` |
    `class` | `ClaimNextAvailableTaskCommand` |
    `class` | `ClaimTaskCommand` | Operation.Claim : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], setNewOwnerToUser = true, newStatus = Status.Reserved } ],
    `class` | `CompleteTaskCommand` | Operation.Start : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner ], setNewOwnerToUser = true, newStatus = Status.InProgress }, new OperationCommand().{ status = [ Status.Reserved ], allowed = [ Allowed.Owner ], newStatus = Status.InProgress } ], *
    `class` | `CompositeCommand<T>` |
    `class` | `DelegateTaskCommand` | Operation.Delegate : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], addTargetUserToPotentialOwners = true, newStatus = Status.Ready, exec = Operation.Claim }, new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], addTargetUserToPotentialOwners = true, newStatus = Status.Ready, exec = Operation.Claim } ],
    `class` | `DeleteAttachmentCommand` |
    `class` | `DeleteCommentCommand` |
    `class` | `DeleteContentCommand` |
    `class` | `DeleteFaultCommand` |
    `class` | `DeleteOutputCommand` |
    `class` | `DeployTaskDefCommand` |
    `class` | `ExecuteDeadlinesCommand` |
    `class` | `ExecuteReminderCommand` |
    `class` | `ExecuteTaskRulesCommand` |
    `class` | `ExitTaskCommand` | Operation.Exit : [ new OperationCommand().{ status = [ Status.Created, Status.Ready, Status.Reserved, Status.InProgress, Status.Suspended ], allowed = [ Allowed.BusinessAdministrator ], newStatus = Status.Exited } ]
    `class` | `FailTaskCommand` | Operation.Fail : [ new OperationCommand().{ status = [ Status.InProgress ], allowed = [ Allowed.Owner ], newStatus = Status.Failed } ],
    `class` | `ForwardTaskCommand` | Operation.Forward : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], userIsExplicitPotentialOwner = true, addTargetUserToPotentialOwners = true, removeUserFromPotentialOwners = true, setNewOwnerToNull = true, newStatus = Status.Ready }, new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], userIsExplicitPotentialOwner = true, addTargetUserToPotentialOwners = true, removeUserFromPotentialOwners = true, setNewOwnerToNull = true, newStatus = Status.Ready }],
    `class` | `GetActiveTasksCommand` |
    `class` | `GetAllAttachmentsCommand` |
    `class` | `GetAllCommentsCommand` |
    `class` | `GetAllContentCommand` |
    `class` | `GetAllTaskDefinitionsCommand` |
    `class` | `GetArchivedTasksCommand` |
    `class` | `GetAttachmentCommand` |
    `class` | `GetCommentCommand` |
    `class` | `GetCompletedTasksByUserCommand` |
    `class` | `GetCompletedTasksCommand` |
    `class` | `GetContentByIdCommand` |
    `class` | `GetContentByIdForUserCommand` |
    `class` | `GetContentMapForUserCommand` |
    `class` | `GetGroupCommand` |
    `class` | `GetGroupsCommand` |
    `class` | `GetOrgEntityCommand` |
    `class` | `GetPendingSubTasksCommand` |
    `class` | `GetPendingTasksByUserCommand` |
    `class` | `GetPotentialOwnersForTaskCommand` |
    `class` | `GetSubTasksCommand` |
    `class` | `GetTaskAssignedAsBusinessAdminCommand` |
    `class` | `GetTaskAssignedAsExcludedOwnerCommand` |
    `class` | `GetTaskAssignedAsInitiatorCommand` |
    `class` | `GetTaskAssignedAsPotentialOwnerByExpDateCommand` |
    `class` | `GetTaskAssignedAsPotentialOwnerCommand` |
    `class` | `GetTaskAssignedAsPotentialOwnerPagingCommand` |
    `class` | `GetTaskAssignedAsRecipientCommand` |
    `class` | `GetTaskAssignedAsStakeholderCommand` |
    `class` | `GetTaskAssignedByGroupsCommand` |
    `class` | `GetTaskByWorkItemIdCommand` |
    `class` | `GetTaskCommand` |
    `class` | `GetTaskContentCommand` |
    `class` | `GetTaskDefinitionCommand` |
    `class` | `GetTaskOwnedByExpDateBeforeDateCommand` |
    `class` | `GetTaskOwnedByExpDateCommand` |
    `class` | `GetTaskPropertyCommand` |
    `class` | `GetTasksByProcessInstanceIdCommand` |
    `class` | `GetTasksByStatusByProcessInstanceIdCommand` |
    `class` | `GetTasksForProcessCommand` |
    `class` | `GetTasksOwnedCommand` |
    `class` | `GetUserCommand` |
    `class` | `GetUserInfoCommand` |
    `class` | `GetUsersCommand` |
    `class` | `GetUserTaskCommand` |
    `class` | `InitDeadlinesCommand` |
    `class` | `NominateTaskCommand` | Operation.Skip : [ new OperationCommand().{ status = [ Status.Created ], allowed = [ Allowed.Initiator, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true }, new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true }, new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true } ],
    `class` | `ProcessSubTaskCommand` |
    `class` | `ReleaseTaskCommand` | Operation.Release : [ new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [Allowed.Owner, Allowed.BusinessAdministrator ], setNewOwnerToNull = true, newStatus = Status.Ready } ],
    `class` | `RemoveAllTasksCommand` |
    `class` | `RemoveGroupCommand` |
    `class` | `RemoveTaskCommand` |
    `class` | `RemoveTasksCommand` |
    `class` | `RemoveUserCommand` |
    `class` | `ResumeTaskCommand` | Operation.Resume : [ new OperationCommand().{ previousStatus = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], setToPreviousStatus = true }, new OperationCommand().{ previousStatus = [ Status.Reserved, Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], setToPreviousStatus = true } ],
    `class` | `SetTaskPropertyCommand` |
    `class` | `SkipTaskCommand` | Operation.Skip : [ new OperationCommand().{ status = [ Status.Created ], allowed = [ Allowed.Initiator, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true }, new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true }, new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Obsolete, skipable = true } ],
    `class` | `StartTaskCommand` | Operation.Start : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner ], setNewOwnerToUser = true, newStatus = Status.InProgress }, new OperationCommand().{ status = [ Status.Reserved ], allowed = [ Allowed.Owner ], newStatus = Status.InProgress } ], *
    `class` | `StopTaskCommand` | Operation.Stop : [ new OperationCommand().{ status = [ Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Reserved } ],
    `class` | `SuspendTaskCommand` | Operation.Suspend : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], newStatus = Status.Suspended }, new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Suspended } ],
    `class` | `TaskSummaryQueryCommand` |
    `class` | `UndeployTaskDefCommand` |
    `class` | `UserGroupCallbackTaskCommand<T>` |

    Methods in org.jbpm.services.task.commands that return TaskCommand
    Modifier and Type | Method | Description
    --- | --- | ---
    `TaskCommand<T>` | CompositeCommand.`getMainCommand()` |

    Methods in org.jbpm.services.task.commands that return types with arguments of type TaskCommand
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<TaskCommand<?>>` | CompositeCommand.`getCommands()` |

    Methods in org.jbpm.services.task.commands with parameters of type TaskCommand
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TaskCommandExecutorImpl.`addUserIdToContext​(TaskCommand<?> command, org.kie.api.runtime.RequestContext context)` |
    `void` | CompositeCommand.`setMainCommand​(TaskCommand<T> mainCommand)` |

    Method parameters in org.jbpm.services.task.commands with type arguments of type TaskCommand
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CompositeCommand.`setCommands​(List<TaskCommand<?>> commands)` |

    Constructors in org.jbpm.services.task.commands with parameters of type TaskCommand
    Constructor | Description
    --- | ---
    `CompositeCommand​(TaskCommand<T> mainCommand, TaskCommand<?>... commands)` |