-
Notifications
You must be signed in to change notification settings - Fork 48
modelsdatastoredb
bpmn-server / ModelsDatastoreDB
super class for various objects that are part of the server
-
↳
ModelsDatastoreDB
- deleteModel
- export
- findEvents
- getList
- getSVG
- getSource
- import
- install
- load
- loadModel
- rebuild
- renameModel
- save
- saveModel
- updateTimer
• new ModelsDatastoreDB(server
): ModelsDatastoreDB
Name | Type |
---|---|
server |
BPMNServer |
datastore/ModelsDatastoreDB.ts:27
• db: any
datastore/ModelsDatastoreDB.ts:25
• dbConfiguration: any
datastore/ModelsDatastoreDB.ts:24
• server: any
• get
appDelegate(): any
any
ServerComponent.appDelegate
• get
cache(): CacheManager
ServerComponent.cache
• get
configuration(): any
any
ServerComponent.configuration
• get
cron(): Cron
ServerComponent.cron
• get
dataStore(): any
any
ServerComponent.dataStore
• get
definitions(): any
any
ServerComponent.definitions
• get
engine(): IEngine
ServerComponent.engine
• get
listener(): any
any
ServerComponent.listener
• get
logger(): any
any
ServerComponent.logger
▸ deleteModel(name
, owner?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<void
>
datastore/ModelsDatastoreDB.ts:210
▸ export(name
, folderPath
, owner?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
folderPath |
any |
undefined |
owner |
any |
null |
Promise
<void
>
datastore/ModelsDatastoreDB.ts:233
▸ findEvents(query
, owner?
): Promise
<IEventData
[]>
Name | Type | Default value |
---|---|---|
query |
any |
undefined |
owner |
any |
null |
Promise
<IEventData
[]>
datastore/ModelsDatastoreDB.ts:97
▸ getList(query?
): Promise
<string
[]>
Name | Type |
---|---|
query |
Object |
Promise
<string
[]>
datastore/ModelsDatastoreDB.ts:34
▸ getSVG(name
, owner?
): Promise
<any
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<any
>
datastore/ModelsDatastoreDB.ts:59
▸ getSource(name
, owner?
): Promise
<any
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<any
>
datastore/ModelsDatastoreDB.ts:54
▸ import(data
, owner?
): Promise
<any
>
Name | Type | Default value |
---|---|---|
data |
any |
undefined |
owner |
any |
null |
Promise
<any
>
datastore/ModelsDatastoreDB.ts:160
▸ install(): Promise
<any
>
first time installation of DB
creates a new collection and add an index
Promise
<any
>
datastore/ModelsDatastoreDB.ts:157
▸ load(name
, owner?
): Promise
<Definition
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<Definition
>
datastore/ModelsDatastoreDB.ts:47
▸ loadModel(name
, owner?
): Promise
<BpmnModelData
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<BpmnModelData
>
datastore/ModelsDatastoreDB.ts:68
▸ rebuild(model?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
model |
any |
null |
Promise
<void
>
datastore/ModelsDatastoreDB.ts:251
▸ renameModel(name
, newName
, owner?
): Promise
<boolean
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
newName |
any |
undefined |
owner |
any |
null |
Promise
<boolean
>
datastore/ModelsDatastoreDB.ts:215
▸ save(name
, source
, svg
, owner?
): Promise
<any
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
source |
any |
undefined |
svg |
any |
undefined |
owner |
any |
null |
Promise
<any
>
datastore/ModelsDatastoreDB.ts:78
▸ saveModel(model
, owner?
): Promise
<boolean
>
Name | Type | Default value |
---|---|---|
model |
IBpmnModelData |
undefined |
owner |
any |
null |
Promise
<boolean
>
datastore/ModelsDatastoreDB.ts:190
▸ updateTimer(name
, owner?
): Promise
<boolean
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<boolean
>