Movatterモバイル変換


[0]ホーム

URL:


Skip to content

bpmn-server / IAPIModel

Interface: IAPIModel#

common parameters:

  • query: MongoDB query to locate the target instance or item

  • user: an instance of ISecureUser object

Table of contents#

Methods#

Methods#

get#

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

retrieve Model data

Parameters#

NameType
queryany
userISecureUser

Returns#

Promise\<object[]>

Defined in#

API/API.ts:172


save#

save(name,source,svg,user?):any

save a model to the modelStore

Parameters#

NameType
nameany
sourceany
svgany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:179


list#

list(query,user):Promise\<string[]>

list all models authorized to the user

Parameters#

NameType
queryany
userISecureUser

Returns#

Promise\<string[]>

Defined in#

API/API.ts:183


findEvents#

findEvents(query,user?):any

returns Model Events (like timers) for authorized to the user and based on specifid query

Parameters#

NameType
queryany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:188


findStartEvents#

findStartEvents(query,user?):any

returns Model Start Events for authorized to the user and based on specifid query

Parameters#

NameType
queryany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:193


delete#

delete(name,user?):any

delete the specified model

Parameters#

NameType
nameany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:198


rename#

rename(name,newName,user?):any

delete the specified model

Parameters#

NameType
nameany
newNameany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:202


getSource#

getSource(name,user?):any

returns the bpmn (xml) for the model

Parameters#

NameType
nameany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:206


load#

load(name,user?):any

load a model

Parameters#

NameType
nameany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:210


export#

export(query,folder,user?):any

Exports the specified models based on a query to a folder

Parameters#

NameType
queryany
folderany
user?ISecureUser

Returns#

any

Defined in#

API/API.ts:214


[8]ページ先頭

©2009-2025 Movatter.jp