Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigurationService Abstract

Hierarchy

Index

Constructors

Properties

_dataFieldConfiguration: { appearance?: string; template?: string }

Type declaration

  • Optional appearance?: string
  • Optional template?: string

Methods

  • createConfigurationCopy(): any
  • deepCopy(obj: object): object
  • getChildren(views: Views, map: Map<string, View>, prefix: string): Map<string, View>
  • getConfigurationSubtree(pathSegments: string[]): any
  • Parameters

    • pathSegments: string[]

      the keys specifying the path trough the configuration that should be accessed

    Returns any

    a deep copy of a specified subsection of the configuration object, or undefined if such subsection doesn't exist. Calling this method with an empty array as argument is equivalent to calling the [get()]{@link ConfigurationService#get} method.

  • getConfigurationSubtreeByPath(path: string): any
  • getDatafieldConfiguration(): { appearance?: string; template?: string }
  • getOnLoginPath(): string
  • getOnLogoutPath(): string
  • getPathsByView(layout: string): string[]
  • getToLoginPath(): string
  • getView(searched: string, view: View): string[]
  • getViewByPath(viewConfigPath: string): View
  • getViewByUrl(url: string): View
  • resolveEndpointURLs(): void
  • Resolves the URL addresses of backend endpoints based on the provided configuration.

    If the URLs begin with either http://, or https:// the provided URL will be used.

    If not, then the URLs are considered to be relative to the location of the frontend application and it's URL will be used as the base path. /api is appended automatically.

    Returns void

  • resolveProvidersEndpoint(endpointKey: string): string
  • resolveURL(configURL: string): string
  • Resolves a single URL address.

    If the URL begins with either http://, or https:// the provided URL will be used.

    If not, then the URL is considered to be relative to the location of the frontend application and it's URL will be used as the base path. /api is appended automatically.

    Parameters

    • configURL: string

      value from the configuration file

    Returns string

    the resolved URL

Generated using TypeDoc