Options
All
  • Public
  • Public/Protected
  • All
Menu

This service to the groups that are "active" for the logged user.

The meaning of "active" can wary from application to application. And this service provides the utility to track this state.

The active groups are assumed to be a subset of the groups the logged user is a member of, but this assumption is not enforced nor checked.

If at most one group can be active at a time, this service provides utility methods to access this group directly.

The groups are assumed to be instances of the engine group process, this is never checked nor enforced.

In the default implementation the initially active groups are all the groups the logged user is a member of.

Hierarchy

  • ActiveGroupService

Implements

  • OnDestroy

Index

Constructors

Properties

_activeGroups$: BehaviorSubject<Case[]>
_groupService: NextGroupService
_groupSub: Subscription

Accessors

  • get activeGroup(): Case
  • set activeGroup(activeGroup: Case): void
  • get activeGroup$(): Observable<Case>
  • get activeGroups(): Case[]
  • set activeGroups(activeGroups: Case[]): void
  • get activeGroups$(): Observable<Case[]>

Methods

  • ngOnDestroy(): void

Generated using TypeDoc