org.bonitasoft.engine.external.process
public class GetUpdatedVariableValuesForProcessDefinition extends UpdateVariableValuesThroughOperations
CURRENT_VARIABLE_VALUES_MAP_KEY, OPERATIONS_INPUT_KEY, OPERATIONS_LIST_KEY| Constructor and Description |
|---|
GetUpdatedVariableValuesForProcessDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
execute(Map<String,Serializable> parameters,
TenantServiceAccessor serviceAccessor)
Method that is called by the engine on the server side when the client calls
CommandAPI#execute(String, Map) with the name or id of this
command. |
protected void |
executeOperation(Operation operation,
Map<String,Serializable> operationsInputValues,
Map<String,Serializable> currentVariableValues,
long processDefinitionId) |
long |
getProcessDefinitionId(long containerInstanceId) |
TenantServiceAccessor |
getServiceAccessor() |
updateVariablesThroughOperationspublic GetUpdatedVariableValuesForProcessDefinition()
public Serializable execute(Map<String,Serializable> parameters, TenantServiceAccessor serviceAccessor) throws SCommandParameterizationException, SCommandExecutionException
CommandCommandAPI#execute(String, Map) with the name or id of this
command.
Implementors of commands must put here the code to be executed on the server sideparameters - a map of parameters that can be used by the command and that is given by the client when executing the commandserviceAccessor - the TenantServiceAccessor or PlatformServiceAccessor that provides access to the engine's server-side servicesSCommandParameterizationException - can be thrown if insufficient or wrong parameters are given by the clientSCommandExecutionException - can be thrown when something unexpected happens while executing the commandprotected void executeOperation(Operation operation, Map<String,Serializable> operationsInputValues, Map<String,Serializable> currentVariableValues, long processDefinitionId) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
executeOperation in class UpdateVariableValuesThroughOperationsorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic TenantServiceAccessor getServiceAccessor()
getServiceAccessor in class UpdateVariableValuesThroughOperationspublic long getProcessDefinitionId(long containerInstanceId)
getProcessDefinitionId in class UpdateVariableValuesThroughOperationsCopyright © 2014 Bonitasoft S.A.. All rights reserved.