Package | Description |
---|---|
com.bonitasoft.engine.api |
The Bonita BPM project has a clear separation between the API the users should be interacting with and the actual implementation classes.
|
org.bonitasoft.engine.api |
The Bonita BPM project has a clear separation between the API the users should be interacting with and the actual implementation classes.
|
org.bonitasoft.engine.exception |
Modifier and Type | Method and Description |
---|---|
void |
TenantManagementAPI.pause()
Pause the tenant so nothing is executed anymore.
|
void |
TenantManagementAPI.resume()
Resume the tenant to a normal state after a pause.
|
void |
ProcessManagementAPI.setConnectorImplementation(long processDefinitionId,
String connectorName,
String connectorVersion,
byte[] connectorImplementationArchive)
Updates the implementation version of the connector of the process definition.
|
void |
ProcessManagementAPI.setConnectorInstanceState(long connectorInstanceId,
ConnectorStateReset state)
Allows to reset the state of an instance of connector
|
void |
ProcessManagementAPI.setConnectorInstanceState(Map<Long,ConnectorStateReset> connectorsToReset)
Allows to reset connector instance states for a Collection of connector instances at once.
|
Page |
PageAPI.updatePage(long pageId,
PageUpdater pageUpdater)
Updates a custom page.
|
void |
PageAPI.updatePageContent(long pageId,
byte[] getPageContent)
Updates a custom page content.
|
void |
ProcessManagementAPI.updateParameterInstanceValue(long processDefinitionId,
String parameterName,
String parameterValue)
Update an existing parameter of a process definition.
|
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.
|
Profile |
ProfileAPI.updateProfile(long id,
ProfileUpdater updater)
Update a custom profile.
|
ProfileEntry |
ProfileAPI.updateProfileEntry(long id,
ProfileEntryUpdater updater)
Update a profile entry.
|
Tenant |
PlatformAPI.updateTenant(long tenantId,
TenantUpdater udpater)
Update a tenant with its tenantId and new content.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessRuntimeAPI.assignUserTask(long userTaskId,
long userId)
Assign a task to a user with given user identifier.
|
void |
ProcessRuntimeAPI.cancelProcessInstance(long processInstanceId)
Cancels the process instance and all of its active flownodes.
|
void |
ProcessRuntimeAPI.hideTasks(long userId,
Long... activityInstanceId)
Hides a list of tasks from a specified user.
|
void |
ProcessRuntimeAPI.releaseUserTask(long userTaskId)
Release a task (unclaim or unassign).
|
void |
PlatformAPI.rescheduleErroneousTriggers()
Reschedules triggers which are in error state.
|
void |
ProcessRuntimeAPI.setActivityStateById(long activityInstanceId,
int stateId)
Set the state of an activity instance.
|
void |
ProcessRuntimeAPI.setActivityStateByName(long activityInstanceId,
String state)
Set the state of an activity instance.
|
CustomUserInfoValue |
CustomUserInfoAPI.setCustomUserInfoValue(long definitionId,
long userId,
String value)
Set value of a custom user info described by definitionId/userId.
|
void |
ProcessRuntimeAPI.setProcessInstanceState(ProcessInstance processInstance,
String state)
Set a state of a process instance.
|
void |
ProcessRuntimeAPI.setTaskPriority(long userTaskInstanceId,
TaskPriority priority)
Set the priority of a user task.
|
void |
ProcessRuntimeAPI.unhideTasks(long userId,
Long... activityInstanceId)
Un-hides a list of tasks for a specified user.
|
void |
CommandAPI.update(long commandId,
CommandUpdater updateDescriptor)
Updates a command according to the update descriptor.
|
void |
PlatformCommandAPI.update(String name,
CommandUpdater updater)
Updates a command according to the update descriptor.
|
void |
CommandAPI.update(String name,
CommandUpdater updateDescriptor)
Updates a command according to the update descriptor.
|
void |
ProcessRuntimeAPI.updateActivityDataInstance(String dataName,
long activityInstanceId,
Serializable dataValue)
Update the value of a named data instance in a specified activity instance.
WARNING: this method is not supported for updating a Custom Data Instance variable with a remote Engine API connection, because the custom data type is not present in the remote classloader that deserializes the API call parameters. |
void |
ProcessRuntimeAPI.updateActivityInstanceVariables(List<Operation> operations,
long activityInstanceId,
Map<String,Serializable> expressionContexts)
Update the values of variables in an activity instance using expressions.
|
void |
ProcessRuntimeAPI.updateActivityInstanceVariables(long activityInstanceId,
Map<String,Serializable> variables)
Update the given variables of an activity instance.
|
void |
ProcessRuntimeAPI.updateActivityTransientDataInstance(String dataName,
long activityInstanceId,
Serializable dataValue)
Update the value of a named transient data instance in a specified activity instance.
|
ActorInstance |
ProcessManagementAPI.updateActor(long actorId,
ActorUpdater actorUpdater)
Updates the actor.
|
void |
ProcessRuntimeAPI.updateActorsOfUserTask(long userTaskId)
Updates the actors of the user task.
|
void |
ProcessManagementAPI.updateCategory(long categoryId,
CategoryUpdater updater)
Updates the category according to the updater values.
|
void |
ProcessRuntimeAPI.updateDueDateOfTask(long userTaskId,
Date dueDate)
Update the due date of a task.
|
Group |
GroupAPI.updateGroup(long groupId,
GroupUpdater updater)
Updates the group according to the updater values.
|
void |
ProcessRuntimeAPI.updateProcessDataInstance(String dataName,
long processInstanceId,
Serializable dataValue)
Update the value of a named data item in a specified process instance.
|
void |
ProcessRuntimeAPI.updateProcessDataInstances(long processInstanceId,
Map<String,Serializable> dataNameValues)
Update the value of a named data item in a specified process instance.
|
void |
ProcessManagementAPI.updateProcessDeploymentInfo(long processDefinitionId,
ProcessDeploymentInfoUpdater processDeploymentInfoUpdater)
Updates the process deployment information for a specified process.
|
Role |
RoleAPI.updateRole(long roleId,
RoleUpdater updater)
Updates the group according to the updater values.
|
User |
UserAPI.updateUser(long userId,
UserUpdater updater)
Updates the user according to the updater values.
|
UserMembership |
MembershipAPI.updateUserMembership(long userMembershipId,
long newGroupId,
long newRoleId)
Changes the association of the user membership.
|
Modifier and Type | Class and Description |
---|---|
class |
UpdatingWithInvalidPageTokenException |
class |
UpdatingWithInvalidPageZipContentException |
Copyright © 2014 Bonitasoft S.A.. All rights reserved.