bpmn-server / IModelsDatastore
Interface: IModelsDatastore#
Implemented by#
Table of contents#
Methods#
- get
- getList
- getSource
- getSVG
- save
- load
- loadModel
- findEvents
- install
- import
- saveModel
- deleteModel
- renameModel
Methods#
get#
▸ get(query
): Promise
\<object
[]>
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
Promise
\<object
[]>
Defined in#
getList#
▸ getList(query
): Promise
\<string
[]>
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
Promise
\<string
[]>
Defined in#
getSource#
▸ getSource(name
, owner
): Promise
\<string
>
Parameters#
Name | Type |
---|---|
name |
any |
owner |
any |
Returns#
Promise
\<string
>
Defined in#
getSVG#
▸ getSVG(name
, owner
): Promise
\<string
>
Parameters#
Name | Type |
---|---|
name |
any |
owner |
any |
Returns#
Promise
\<string
>
Defined in#
save#
▸ save(name
, bpmn
, svg?
, owner?
): Promise
\<boolean
>
Parameters#
Name | Type |
---|---|
name |
any |
bpmn |
any |
svg? |
any |
owner? |
any |
Returns#
Promise
\<boolean
>
Defined in#
load#
▸ load(name
, owner
): Promise
\<IDefinition
>
Parameters#
Name | Type |
---|---|
name |
any |
owner |
any |
Returns#
Promise
\<IDefinition
>
Defined in#
loadModel#
▸ loadModel(name
, owner
): Promise
\<IBpmnModelData
>
Parameters#
Name | Type |
---|---|
name |
any |
owner |
any |
Returns#
Promise
\<IBpmnModelData
>
Defined in#
findEvents#
▸ findEvents(query
, owner
): Promise
\<any
[]>
Parameters#
Name | Type |
---|---|
query |
any |
owner |
any |
Returns#
Promise
\<any
[]>
Defined in#
install#
▸ install(): any
Returns#
any
Defined in#
import#
▸ import(data
): any
Parameters#
Name | Type |
---|---|
data |
any |
Returns#
any
Defined in#
saveModel#
▸ saveModel(model
): Promise
\<boolean
>
Parameters#
Name | Type |
---|---|
model |
IBpmnModelData |
Returns#
Promise
\<boolean
>
Defined in#
deleteModel#
▸ deleteModel(name
, owner
): Promise
\<void
>
Parameters#
Name | Type |
---|---|
name |
any |
owner |
any |
Returns#
Promise
\<void
>
Defined in#
renameModel#
▸ renameModel(name
, newName
, owner
): Promise
\<boolean
>
Parameters#
Name | Type |
---|---|
name |
any |
newName |
any |
owner |
any |
Returns#
Promise
\<boolean
>