Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds information about the currently selected Case.

Services that handle various task operations, can use this service to take into consideration changes in frontend data in between backend call and backend response.

This service is used by Tree Case View's TreeTaskContentService.

Hierarchy

  • SelectedCaseService

Implements

  • OnDestroy

Index

Constructors

Properties

_selectedCase$: BehaviorSubject<Case>

Stores the currently selected Case.

The initial value is undefined.

Beware that setting new values doesn't make copies of the provided Case object, so it is possible that any subscriber could modify the shared object. Subscribed library services don't modify the provided Case, only the owner (TreeTaskContentService) of the Case object performs modifications of it.

Accessors

  • get selectedCase(): Case
  • set selectedCase(selectedCase: Case): void
  • get selectedCase$(): Observable<Case>

Methods

  • ngOnDestroy(): void

Generated using TypeDoc