# Package org.jbpm.services.task.commands

- Class Summary
  Class | Description
  --- | ---
  ActivateTaskCommand | Operation.Activate : [ new OperationCommand().{ status = [ Status.Created ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Ready } ],
  AddAttachmentCommand |
  AddCommentCommand |
  AddContentCommand |
  AddContentFromUserCommand |
  AddGroupCommand |
  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 } ], *
  AddUserCommand |
  AddUsersGroupsCommand |
  ArchiveTasksCommand |
  CancelDeadlineCommand |
  ClaimNextAvailableTaskCommand |
  ClaimTaskCommand | Operation.Claim : [ new OperationCommand().{ status = [ Status.Ready ], allowed = [ Allowed.PotentialOwner, Allowed.BusinessAdministrator ], setNewOwnerToUser = true, newStatus = Status.Reserved } ],
  CommandsUtil |
  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 } ], *
  CompositeCommand<T> |
  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 } ],
  DeleteAttachmentCommand |
  DeleteCommentCommand |
  DeleteContentCommand |
  DeleteFaultCommand |
  DeleteOutputCommand |
  DeployTaskDefCommand |
  ExecuteDeadlinesCommand |
  ExecuteReminderCommand |
  ExecuteTaskRulesCommand |
  ExitTaskCommand | Operation.Exit : [ new OperationCommand().{ status = [ Status.Created, Status.Ready, Status.Reserved, Status.InProgress, Status.Suspended ], allowed = [ Allowed.BusinessAdministrator ], newStatus = Status.Exited } ]
  FailTaskCommand | Operation.Fail : [ new OperationCommand().{ status = [ Status.InProgress ], allowed = [ Allowed.Owner ], newStatus = Status.Failed } ],
  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 }],
  GetActiveTasksCommand |
  GetAllAttachmentsCommand |
  GetAllCommentsCommand |
  GetAllContentCommand |
  GetAllTaskDefinitionsCommand |
  GetArchivedTasksCommand |
  GetAttachmentCommand |
  GetCommentCommand |
  GetCompletedTasksByUserCommand |
  GetCompletedTasksCommand |
  GetContentByIdCommand |
  GetContentByIdForUserCommand |
  GetContentMapForUserCommand |
  GetGroupCommand |
  GetGroupsCommand |
  GetOrgEntityCommand |
  GetPendingSubTasksCommand |
  GetPendingTasksByUserCommand |
  GetPotentialOwnersForTaskCommand |
  GetSubTasksCommand |
  GetTaskAssignedAsBusinessAdminCommand |
  GetTaskAssignedAsExcludedOwnerCommand |
  GetTaskAssignedAsInitiatorCommand |
  GetTaskAssignedAsPotentialOwnerByExpDateCommand |
  GetTaskAssignedAsPotentialOwnerCommand |
  GetTaskAssignedAsPotentialOwnerPagingCommand |
  GetTaskAssignedAsRecipientCommand |
  GetTaskAssignedAsStakeholderCommand |
  GetTaskAssignedByGroupsCommand |
  GetTaskByWorkItemIdCommand |
  GetTaskCommand |
  GetTaskContentCommand |
  GetTaskDefinitionCommand |
  GetTaskOwnedByExpDateBeforeDateCommand |
  GetTaskOwnedByExpDateCommand |
  GetTaskPropertyCommand |
  GetTasksByProcessInstanceIdCommand |
  GetTasksByStatusByProcessInstanceIdCommand |
  GetTasksForProcessCommand |
  GetTasksOwnedCommand |
  GetUserCommand |
  GetUserInfoCommand |
  GetUsersCommand |
  GetUserTaskCommand |
  InitDeadlinesCommand |
  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 } ],
  ProcessSubTaskCommand |
  ReleaseTaskCommand | Operation.Release : [ new OperationCommand().{ status = [ Status.Reserved, Status.InProgress ], allowed = [Allowed.Owner, Allowed.BusinessAdministrator ], setNewOwnerToNull = true, newStatus = Status.Ready } ],
  RemoveAllTasksCommand |
  RemoveGroupCommand |
  RemoveTaskCommand |
  RemoveTasksCommand |
  RemoveUserCommand |
  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 } ],
  SetTaskPropertyCommand |
  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 } ],
  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 } ], *
  StopTaskCommand | Operation.Stop : [ new OperationCommand().{ status = [ Status.InProgress ], allowed = [ Allowed.Owner, Allowed.BusinessAdministrator ], newStatus = Status.Reserved } ],
  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 } ],
  TaskCommand<T> |
  TaskCommandExecutorImpl |
  TaskContext |
  TaskSummaryQueryCommand |
  UndeployTaskDefCommand |
  UserGroupCallbackTaskCommand<T> |