public class ProcessStarter extends Object
| Constructor and Description |
|---|
ProcessStarter(long userId,
long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context) |
ProcessStarter(long userId,
long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context,
List<String> activityNames) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSystemCommentOnProcessInstanceWhenStartingProcessFor(org.bonitasoft.engine.core.process.instance.model.SProcessInstance sProcessInstance,
long starterId,
long starterSubstituteId) |
protected Map<String,Object> |
getContext() |
protected long |
getStarterUserId(long starterSubstituteUserId) |
protected TenantServiceAccessor |
getTenantAccessor() |
protected void |
log(TenantServiceAccessor tenantAccessor,
Exception e) |
ProcessInstance |
start() |
ProcessInstance |
start(List<ConnectorDefinitionWithInputValues> connectorsWithInput) |
public ProcessStarter(long userId,
long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context)
public ProcessInstance start() throws ProcessDefinitionNotFoundException, ProcessActivationException, ProcessExecutionException
public ProcessInstance start(List<ConnectorDefinitionWithInputValues> connectorsWithInput) throws org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException, SProcessDefinitionReadException, SProcessDefinitionException
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationExceptionSProcessDefinitionReadExceptionSProcessDefinitionExceptionprotected void log(TenantServiceAccessor tenantAccessor, Exception e)
protected long getStarterUserId(long starterSubstituteUserId)
protected void addSystemCommentOnProcessInstanceWhenStartingProcessFor(org.bonitasoft.engine.core.process.instance.model.SProcessInstance sProcessInstance,
long starterId,
long starterSubstituteId)
protected TenantServiceAccessor getTenantAccessor()
Copyright © 2015 Bonitasoft S.A.. All rights reserved.