Member Junction
    Preparing search index...
    Index

    Constructors

    Properties

    tabChange$: Observable<unknown> = ...

    Accessors

    Methods

    • Creates a notification in the database and refreshes the UI. Returns the notification object.

      Parameters

      • title: string
      • message: string
      • resourceTypeId: string | null
      • resourceRecordId: string | null
      • resourceConfiguration: any

        Any object, it is converted to a string by JSON.stringify and stored in the database

      • displayToUser: boolean = true

      Returns Promise<MJUserNotificationEntity>

      Use MJNotificationService.CreateNotification instead

    • Creates a message that is not saved to the User Notifications table, but is displayed to the user.

      Parameters

      • message: string

        text to display

      • style: "error" | "none" | "success" | "warning" | "info" = "success"

        display styling

      • OptionalhideAfter: number

        option to auto hide after the specified delay in milliseconds

      Returns void

      Use MJNotificationService.CreateSimpleNotification instead

    • Maps a Resource Type record Name column to the corresponding route segment

      Parameters

      • resourceTypeName: string

      Returns string | null

    • Maps a route segment to the corresponding Resource Type record Name column

      Parameters

      • resourceRouteSegment: string

      Returns string | null

    • Utility method that returns true if child is a descendant of parent, false otherwise.

      Parameters

      • parent: ElementRef
      • child: ElementRef

      Returns boolean

    • Refreshes the data for the service. If OnlyIfNeeded is true, then the data is only refreshed if it hasn't been loaded yet.

      Parameters

      • OnlyIfNeeded: boolean = false

      Returns Promise<void>