arlas-wui-toolkit / Exports / ExtendLocalDatabase
Class: ExtendLocalDatabase
Hierarchy
↳ ExtendLocalDatabase
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new ExtendLocalDatabase()
Overrides
ArlasLocalDatabase.constructor
Defined in
projects/arlas-toolkit/src/lib/services/extend/extendLocalDatabase.ts:27
Properties
dataChange
• dataChange: BehaviorSubject
<Extend
[]>
Stream that emits whenever the data has been modified.
Inherited from
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:26
storageKey
• storageKey: string
Inherited from
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:32
storageObjectMap
• storageObjectMap: Map
<string
, Extend
>
Inherited from
ArlasLocalDatabase.storageObjectMap
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:30
Accessors
data
• get
data(): T
[]
Returns
T
[]
Inherited from
ArlasLocalDatabase.data
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:27
Methods
add
▸ add(storageObject
): Observable
<void
>
Parameters
Name | Type |
---|---|
storageObject |
Extend |
Returns
Observable
<void
>
Inherited from
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:58
createExtend
▸ createExtend(name
, geometry
, visibility?
, date?
, id?
): Extend
Parameters
Name | Type | Default value |
---|---|---|
name |
string |
undefined |
geometry |
any |
undefined |
visibility |
boolean |
false |
date? |
Date |
undefined |
id? |
string |
undefined |
Returns
Defined in
projects/arlas-toolkit/src/lib/services/extend/extendLocalDatabase.ts:42
init
▸ init(extend
): Extend
Method call for each element at init
Parameters
Name | Type | Description |
---|---|---|
extend |
Extend |
Object to init of type |
Returns
Overrides
Defined in
projects/arlas-toolkit/src/lib/services/extend/extendLocalDatabase.ts:31
remove
▸ remove(id
): Observable
<void
>
Parameters
Name | Type |
---|---|
id |
string |
Returns
Observable
<void
>
Inherited from
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:69
update
▸ update(id
, storageObject
): Observable
<void
>
Parameters
Name | Type |
---|---|
id |
string |
storageObject |
Extend |
Returns
Observable
<void
>
Inherited from
Defined in
projects/arlas-toolkit/src/lib/tools/arlasLocalDatabase.ts:85