Skip to content

arlas-wui-toolkit / Exports / ArlasExtendService

Class: ArlasExtendService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ArlasExtendService(arlasStartupService, authentService, persistenceService)

Parameters

Name Type
arlasStartupService ArlasStartupService
authentService AuthentificationService
persistenceService PersistenceService

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:34

Properties

dataBase

dataBase: ExtendLocalDatabase | ExtendPersistenceDatabase

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:31


extendMap

extendMap: Map<string, Extend>

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:32

Methods

addExtend

addExtend(name, geometry): Observable<void>

Parameters

Name Type
name string
geometry any

Returns

Observable<void>

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:75


getExtendById

getExtendById(id): Extend

Parameters

Name Type
id string

Returns

Extend

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:84


init

init(extend): Extend

Parameters

Name Type
extend Extend

Returns

Extend

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:53


listExtends

listExtends(size, pageNumber): Observable<void>

List all bookmark for the user to update dataBase

Parameters

Name Type
size number
pageNumber number

Returns

Observable<void>

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:67


removeExtend

removeExtend(id): Observable<void>

Parameters

Name Type
id string

Returns

Observable<void>

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:80


setPage

setPage(size, pageNumber): void

Parameters

Name Type
size number
pageNumber number

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/extend/extend.service.ts:71