-
Notifications
You must be signed in to change notification settings - Fork 48
modelsdatastore
bpmn-server / ModelsDatastore
super class for various objects that are part of the server
-
↳
ModelsDatastore
- deleteModel
- export
- findEvents
- getList
- getSVG
- getSource
- import
- install
- load
- loadModel
- rebuild
- renameModel
- save
- saveModel
- updateTimer
• new ModelsDatastore(server
): ModelsDatastore
Name | Type |
---|---|
server |
BPMNServer |
datastore/ModelsDatastore.ts:19
• db: any
datastore/ModelsDatastoreDB.ts:25
• dbConfiguration: any
ModelsDatastoreDB.dbConfiguration
datastore/ModelsDatastoreDB.ts:24
• definitionsPath: any
datastore/ModelsDatastore.ts:18
• server: any
• get
appDelegate(): any
any
ModelsDatastoreDB.appDelegate
• get
cache(): CacheManager
ModelsDatastoreDB.cache
• get
configuration(): any
any
ModelsDatastoreDB.configuration
• get
cron(): Cron
ModelsDatastoreDB.cron
• get
dataStore(): any
any
ModelsDatastoreDB.dataStore
• get
definitions(): any
any
ModelsDatastoreDB.definitions
• get
engine(): IEngine
ModelsDatastoreDB.engine
• get
listener(): any
any
ModelsDatastoreDB.listener
• get
logger(): any
any
ModelsDatastoreDB.logger
▸ deleteModel(name
, owner?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<void
>
datastore/ModelsDatastore.ts:100
▸ 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 | Default value |
---|---|---|
query |
any |
null |
Promise
<string
[]>
datastore/ModelsDatastore.ts:30
▸ getSVG(name
, owner?
): Promise
<string
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<string
>
datastore/ModelsDatastore.ts:84
▸ getSource(name
, owner?
): Promise
<string
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
owner |
any |
null |
Promise
<string
>
datastore/ModelsDatastore.ts:79
▸ import(data
, owner?
): Promise
<any
>
Name | Type | Default value |
---|---|---|
data |
any |
undefined |
owner |
any |
null |
Promise
<any
>
datastore/ModelsDatastore.ts:25
▸ 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/ModelsDatastore.ts:49
▸ 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
>
reconstruct the models database from files
use when modifying the files manually or importing new environment
Name | Type | Default value |
---|---|---|
model |
any |
null |
Promise
<void
>
datastore/ModelsDatastore.ts:128
▸ renameModel(name
, newName
, owner?
): Promise
<boolean
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
newName |
any |
undefined |
owner |
any |
null |
Promise
<boolean
>
datastore/ModelsDatastore.ts:110
▸ save(name
, bpmn
, svg?
, owner?
): Promise
<boolean
>
Name | Type | Default value |
---|---|---|
name |
any |
undefined |
bpmn |
any |
undefined |
svg? |
any |
undefined |
owner |
any |
null |
Promise
<boolean
>
datastore/ModelsDatastore.ts:88
▸ 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
>