Holds logic about the available operations on a Task object based on it's state.

Beware that it gets the Task from (@link TaskContentService) instance and thus the task might not be always initialized. If the task is not initialized this class cannot work properly.

Hierarchy (view full)

Implements

  • OnDestroy

Constructors

Properties

_selectedCaseService: SelectedCaseService = null

an optional service, that holds the currently selected case. It should be injected with the @Optional() annotation, since it might not be always provided.

_taskContentService: TaskContentService

the service that holds the currently selected task, that is handled by the implementation of this class

_taskEventNotifications$: Subject<TaskEventNotification>

Accessors

Methods