Member Junction
    Preparing search index...
    Index

    Constructors

    Properties

    tabChange$: Observable<unknown>
    "ɵfac": unknown
    "ɵprov": ɵɵInjectableDeclaration<SharedService>

    Accessors

    • get CurrentUserImage(): string | Blob

      Returns string | Blob

    • set CurrentUserImage(value: string | Blob): void

      Parameters

      • value: string | Blob

      Returns void

    • get ExplorerAppColor(): string

      Get the neutral color used for system-wide resources

      Returns string

    • get SessionId(): string

      Returns the current session ID, which is automatically created when the service is instantiated.

      Returns string

    • get UnreadUserNotificationCount(): number

      Returns number

      Use MJNotificationService.UnreadUserNotificationCount instead

    Methods

    • Parameters

      Returns string

    • 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

      • OptionaldisplayToUser: boolean

      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

      • Optionalstyle: "none" | "success" | "error" | "warning" | "info"

        display styling

      • OptionalhideAfter: number

        option to auto hide after the specified delay in milliseconds

      Returns void

      Use MJNotificationService.CreateSimpleNotification instead

    • Parameters

      • col: ViewColumnInfo
      • value: any
      • OptionalmaxLength: number
      • OptionaltrailingChars: string

      Returns any

    • Parameters

      • Optionaldelay: number

      Returns void

    • 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

    • Opens an entity record in a new or existing tab Uses the modern NavigationService for tab-based navigation

      Parameters

      Returns void

    • Returns Observable<string>

    • 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

      • OptionalOnlyIfNeeded: boolean

      Returns Promise<void>

    • Returns Promise<void>

      Use MJNotificationService.RefreshUserNotifications instead