bpmn-server / APIData
Class: APIData#
Hierarchy#
APIComponent
↳ APIData
Table of contents#
Constructors#
Properties#
Accessors#
Methods#
Constructors#
constructor#
• new APIData(api
): APIData
Parameters#
Name | Type |
---|---|
api |
any |
Returns#
Inherited from#
APIComponent.constructor
Defined in#
Properties#
api#
• api: BPMNAPI
Inherited from#
APIComponent.api
Defined in#
Accessors#
server#
• get
server(): IBPMNServer
Returns#
Inherited from#
APIComponent.server
Defined in#
Methods#
getUser#
▸ getUser(user
): any
Parameters#
Name | Type |
---|---|
user |
any |
Returns#
any
Inherited from#
APIComponent.getUser
Defined in#
getPendingUserTasks#
▸ getPendingUserTasks(query
, user?
): Promise
\<IItemData
[]>
Parameters#
Name | Type |
---|---|
query |
any |
user? |
ISecureUser |
Returns#
Promise
\<IItemData
[]>
Defined in#
findItems#
▸ findItems(query
, user?
): Promise
\<IItemData
[]>
Parameters#
Name | Type |
---|---|
query |
any |
user? |
ISecureUser |
Returns#
Promise
\<IItemData
[]>
Defined in#
findItem#
▸ findItem(query
, user?
): Promise
\<IItemData
>
Parameters#
Name | Type |
---|---|
query |
any |
user? |
ISecureUser |
Returns#
Promise
\<IItemData
>
Defined in#
findInstances#
▸ findInstances(query
, user?
, options?
): Promise
\<IInstanceData
[]>
Parameters#
Name | Type |
---|---|
query |
any |
user? |
ISecureUser |
options? |
any |
Returns#
Promise
\<IInstanceData
[]>
Defined in#
deleteInstances#
▸ deleteInstances(query
, user?
): Promise
\<void
>
Parameters#
Name | Type |
---|---|
query |
any |
user? |
ISecureUser |
Returns#
Promise
\<void
>