Skip to content

bpmn-server / IModelsDatastore

Interface: IModelsDatastore#

Implemented by#

Table of contents#

Methods#

Methods#

get#

get(query): Promise\<object[]>

Parameters#

Name Type
query any

Returns#

Promise\<object[]>

Defined in#

interfaces/datastore.ts:26


getList#

getList(query): Promise\<string[]>

Parameters#

Name Type
query any

Returns#

Promise\<string[]>

Defined in#

interfaces/datastore.ts:27


getSource#

getSource(name, owner): Promise\<string>

Parameters#

Name Type
name any
owner any

Returns#

Promise\<string>

Defined in#

interfaces/datastore.ts:28


getSVG#

getSVG(name, owner): Promise\<string>

Parameters#

Name Type
name any
owner any

Returns#

Promise\<string>

Defined in#

interfaces/datastore.ts:29


save#

save(name, bpmn, svg?, owner?): Promise\<boolean>

Parameters#

Name Type
name any
bpmn any
svg? any
owner? any

Returns#

Promise\<boolean>

Defined in#

interfaces/datastore.ts:30


load#

load(name, owner): Promise\<IDefinition>

Parameters#

Name Type
name any
owner any

Returns#

Promise\<IDefinition>

Defined in#

interfaces/datastore.ts:32


loadModel#

loadModel(name, owner): Promise\<IBpmnModelData>

Parameters#

Name Type
name any
owner any

Returns#

Promise\<IBpmnModelData>

Defined in#

interfaces/datastore.ts:33


findEvents#

findEvents(query, owner): Promise\<any[]>

Parameters#

Name Type
query any
owner any

Returns#

Promise\<any[]>

Defined in#

interfaces/datastore.ts:34


install#

install(): any

Returns#

any

Defined in#

interfaces/datastore.ts:36


import#

import(data): any

Parameters#

Name Type
data any

Returns#

any

Defined in#

interfaces/datastore.ts:37


saveModel#

saveModel(model): Promise\<boolean>

Parameters#

Name Type
model IBpmnModelData

Returns#

Promise\<boolean>

Defined in#

interfaces/datastore.ts:39


deleteModel#

deleteModel(name, owner): Promise\<void>

Parameters#

Name Type
name any
owner any

Returns#

Promise\<void>

Defined in#

interfaces/datastore.ts:40


renameModel#

renameModel(name, newName, owner): Promise\<boolean>

Parameters#

Name Type
name any
newName any
owner any

Returns#

Promise\<boolean>

Defined in#

interfaces/datastore.ts:41