Throws an error if the TaskContentService didn't have the Task object set yet.
the Task object held by TaskContentService.
the Task object held by TaskContentService or undefined
if the Service currently holds no Task.
Currently does nothing
true
if a Task instance is set, false
otherwise
Checks whether the current state of the TaskContentService and optionally if the SelectedCaseService, is still relevant to the task that was requested.
This method is useful if you use UnlimitedTaskContentService, or a similar implementation. It is possible for the currently "selected" task to change in-between a backend request was sent and the response was received. In that case the response is no longer relevant and should be discarded, otherwise an illegal task state could be achieved on frontend.
the stringId
of the requested task
true
if the requested task is still relevant to the state of the frontend. Returns false
otherwise.
Performs the selection of some data fields if the policy is set to [Auto Required]{@link DataFocusPolicy#autoRequired}.
Generated using TypeDoc
Handles the sequence of actions that are performed when a task si [opened]{@link TaskOperations#open}.