Skip to content

arlas-wui-toolkit > "src/app/services/startup/startup.service" > ArlasStartupService

Class: ArlasStartupService

Hierarchy

ArlasStartupService

Index

Constructors

Properties

Methods


Constructors

constructor

new ArlasStartupService(http: HttpClient, configService: ArlasConfigService, collaborativesearchService: ArlasCollaborativesearchService): ArlasStartupService

Defined in src/app/services/startup/startup.service.ts:90

Parameters:

Name Type
http HttpClient
configService ArlasConfigService
collaborativesearchService ArlasCollaborativesearchService

Returns: ArlasStartupService


Properties

analytics

● analytics: Array<object>

Defined in src/app/services/startup/startup.service.ts:86


arlasIsUp

● arlasIsUp: Subject<boolean> = new Subject()

Defined in src/app/services/startup/startup.service.ts:85


collectionId

● collectionId: string

Defined in src/app/services/startup/startup.service.ts:87


contributorRegistry

● contributorRegistry: Map<string, any> = new Map()

Defined in src/app/services/startup/startup.service.ts:83


selectorById

● selectorById: string

Defined in src/app/services/startup/startup.service.ts:88


shouldRunApp

● shouldRunApp: boolean = true

Defined in src/app/services/startup/startup.service.ts:84


temporalContributor

● temporalContributor: Array<string> = new Array()

Defined in src/app/services/startup/startup.service.ts:89


Methods

load

load(configRessource: string): Promise<any>

Defined in src/app/services/startup/startup.service.ts:127

Loads ARLAS-wui configuration on start of the app

Parameters:

Name Type Description
configRessource string Configuration file name

Returns: Promise<any>


loadExtraConfig

loadExtraConfig(extraConfig: ExtraConfig, data: Object): Promise<any>

Defined in src/app/services/startup/startup.service.ts:105

Loads extra configuration declared in the main configuration file.

Parameters:

Name Type Description
extraConfig ExtraConfig This object specifies the path to the extra configuration file, the attribute to change in the main configuration file, and the attribute to take from the extra configuration file.
data Object Content of the extra configuration file

Returns: Promise<any>