Options
All
  • Public
  • Public/Protected
  • All
Menu

This service allows access to information about the groups of the currently logged user.

If no user is logged an empty array is provided.

If a user can be owner of at most one group, 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.

Hierarchy

  • NextGroupService

Implements

  • OnDestroy

Index

Constructors

Properties

_caseResourceService: CaseResourceService
_memberGroups$: BehaviorSubject<Case[]>
_ownerGroups$: BehaviorSubject<Case[]>
_userService: UserService
_userSub: Subscription

Accessors

  • get firstOwnerGroup(): Case
  • get firstOwnerGroup$(): Observable<Case>
  • get groupOfUser(): Case[]
  • get memberGroups(): Case[]
  • get memberGroups$(): Observable<Case[]>
  • get ownerGroups(): Case[]
  • get ownerGroups$(): Observable<Case[]>

Methods

  • ngOnDestroy(): void

Generated using TypeDoc