arlas-wui-toolkit > "src/app/services/extend/extend.service" > ArlasExtendService

Class: ArlasExtendService

Hierarchy

ArlasExtendService

Index

Constructors

Properties

Methods


Constructors

constructor

new ArlasExtendService(arlasStartupService: ArlasStartupService, configService: ArlasConfigService, persistanceService: PersistenceService): ArlasExtendService

Defined in src/app/services/extend/extend.service.ts:31

Parameters:

Name Type
arlasStartupService ArlasStartupService
configService ArlasConfigService
persistanceService PersistenceService

Returns: ArlasExtendService


Properties

dataBase

● dataBase: ExtendLocalDatabase | ExtendPersistenceDatabase

Defined in src/app/services/extend/extend.service.ts:30


extendMap

● extendMap: Map<string, Extend> = new Map()

Defined in src/app/services/extend/extend.service.ts:31


Methods

addExtend

addExtend(name: string, geometry: any): void

Defined in src/app/services/extend/extend.service.ts:76

Parameters:

Name Type
name string
geometry any

Returns: void


getExtendById

getExtendById(id: string): Extend

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

Parameters:

Name Type
id string

Returns: Extend


init

init(extend: Extend): Extend

Defined in src/app/services/extend/extend.service.ts:54

Parameters:

Name Type
extend Extend

Returns: Extend


listExtends

listExtends(size: number, pageNumber: number): void

Defined in src/app/services/extend/extend.service.ts:68

Parameters:

Name Type
size number
pageNumber number

Returns: void


removeExtend

removeExtend(id: string): void

Defined in src/app/services/extend/extend.service.ts:81

Parameters:

Name Type
id string

Returns: void


setPage

setPage(size: number, pageNumber: number): void

Defined in src/app/services/extend/extend.service.ts:72

Parameters:

Name Type
size number
pageNumber number

Returns: void