Package | Description |
---|---|
org.bonitasoft.engine.api |
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)
Cancel an instance of process with the given processInstanceId.
|
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 total number of open activity instances by its id
|
long |
ProcessRuntimeAPI.getNumberOfProcessDataInstances(long processInstanceId)
Get number of all process data instances by id
|
long |
ProcessRuntimeAPI.getOneAssignedUserTaskInstanceOfProcessInstance(long processInstanceId,
long userId)
Get an instance of userTask assigned in an instance of process.
|
ProcessInstance |
ProcessRuntimeAPI.getProcessInstance(long processInstanceId)
Get an instance of process with its processInstance id.
|
long |
ProcessRuntimeAPI.getProcessInstanceIdFromActivityInstanceId(long activityInstanceId)
Get process instance id from its activity instance id
|
boolean |
ProcessRuntimeAPI.isInvolvedInProcessInstance(long userId,
long processInstanceId)
Whether or not a user is involved in an instance of process (has tasks pending?)
|
Copyright © 2013 BonitaSoft. All Rights Reserved.