Package | Description |
---|---|
com.bonitasoft.engine.api |
Main Subscription Edition package to access Subscription APIs.
|
org.bonitasoft.engine.api |
Main Community Edition package to access Community APIs.
|
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
ProcessRuntimeAPI.updateProcessInstance(long processInstanceId,
ProcessInstanceUpdater updater)
Update an instance of process with the given processInstanceId.
|
ProcessInstance |
ProcessRuntimeAPI.updateProcessInstanceIndex(long processInstanceId,
Index index,
String value)
Update an index of a process instance.
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentAPI.attachDocument(long processInstanceId,
String documentName,
String fileName,
String mimeType,
byte[] documentContent)
Attach the given document to the specified process instance.
The content is stored to enable later retrieval. |
Document |
DocumentAPI.attachDocument(long processInstanceId,
String documentName,
String fileName,
String mimeType,
String url)
Attach a document by reference to the specified process instance.
The document itself does not contain content but is a reference to external content specified by its URL. |
void |
ProcessRuntimeAPI.cancelProcessInstance(long processInstanceId)
Cancels the process instance and all of its active flownodes.
|
List<Document> |
DocumentAPI.getLastVersionOfDocuments(long processInstanceId,
int pageIndex,
int numberPerPage,
DocumentCriterion pagingCriterion)
Get the latest version of all documents attached to the specified process instance.
|
int |
ProcessRuntimeAPI.getNumberOfOpenedActivityInstances(long processInstanceId)
Get the total number of open activity instances by process instance id.
|
long |
ProcessRuntimeAPI.getNumberOfProcessDataInstances(long processInstanceId)
Get the number of process data instances by process id.
|
long |
ProcessRuntimeAPI.getOneAssignedUserTaskInstanceOfProcessInstance(long processInstanceId,
long userId)
Get an instance of a task asssigned to a given user for the specified process instance.
|
ProcessInstance |
ProcessRuntimeAPI.getProcessInstance(long processInstanceId)
Get the specified process instance.
|
long |
ProcessRuntimeAPI.getProcessInstanceIdFromActivityInstanceId(long activityInstanceId)
Get the process instance id from an activity instance id.
|
boolean |
ProcessRuntimeAPI.isInvolvedInProcessInstance(long userId,
long processInstanceId)
Check whether a specified user is involved in a process instance.
|
Copyright © 2014 Bonitasoft S.A.. All Rights Reserved.