public class ProcessInstanceContextWork extends TxInHandleFailureWrappingWork
TENANT_ACCESSOR| Constructor and Description |
|---|
ProcessInstanceContextWork(WrappingBonitaWork wrappedWork,
long processInstanceId) |
ProcessInstanceContextWork(WrappingBonitaWork wrappedWork,
long processInstanceId,
long rootProcessInstanceId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setExceptionContext(org.bonitasoft.engine.commons.exceptions.SBonitaException sBonitaException,
Map<String,Object> context) |
protected void |
setProcessInstanceId(long id) |
protected void |
setRootProcessInstanceId(long id) |
handleFailure, workgetDescription, getRecoveryProcedure, getTenantId, getWrappedWork, setTenantId, toStringgetTenantAccessorpublic ProcessInstanceContextWork(WrappingBonitaWork wrappedWork, long processInstanceId)
wrappedWork - The work to wrapprocessInstanceId - The identifier of the process instancepublic ProcessInstanceContextWork(WrappingBonitaWork wrappedWork, long processInstanceId, long rootProcessInstanceId)
wrappedWork - The work to wrapprocessDefinitionId - The identifier of the process definitionprocessInstanceId - The identifier of the process instancerootProcessInstanceId - The identifier of the root process instanceprotected void setProcessInstanceId(long id)
protected void setRootProcessInstanceId(long id)
protected void setExceptionContext(org.bonitasoft.engine.commons.exceptions.SBonitaException sBonitaException,
Map<String,Object> context)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
setExceptionContext in class TxInHandleFailureWrappingWorkorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.