public class BusinessDataLeftOperandHandler extends Object implements LeftOperandHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService |
refBusinessDataService |
| Modifier | Constructor and Description |
|---|---|
protected |
BusinessDataLeftOperandHandler(BusinessDataRepository businessDataRepository,
org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService refBusinessDataService,
RefBusinessDataRetriever refBusinessDataRetriever,
EntitiesActionsExecutor entitiesActionsExecutor,
UpdateDataRefAction updateDataRefAction) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(SLeftOperand sLeftOperand,
long containerId,
String containerType) |
protected void |
dereferenceBusinessData(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance reference) |
protected Object |
getBusinessData(String businessDataName,
long containerId,
String containerType) |
String |
getType() |
void |
loadLeftOperandInContext(List<SLeftOperand> sLeftOperand,
long leftOperandContainerId,
String leftOperandContainerType,
SExpressionContext expressionContext) |
void |
loadLeftOperandInContext(SLeftOperand sLeftOperand,
long leftOperandContainerId,
String leftOperandContainerType,
SExpressionContext expressionContext)
retrieve the left operand and put it in context as needed by the left operand
|
protected void |
removeBusinessData(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance reference) |
Object |
update(SLeftOperand sLeftOperand,
Map<String,Object> inputValues,
Object newValue,
long containerId,
String containerType) |
protected final org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService refBusinessDataService
protected BusinessDataLeftOperandHandler(BusinessDataRepository businessDataRepository, org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService refBusinessDataService, RefBusinessDataRetriever refBusinessDataRetriever, EntitiesActionsExecutor entitiesActionsExecutor, UpdateDataRefAction updateDataRefAction)
public String getType()
getType in interface LeftOperandHandlerpublic Object update(SLeftOperand sLeftOperand, Map<String,Object> inputValues, Object newValue, long containerId, String containerType) throws SOperationExecutionException
update in interface LeftOperandHandlersLeftOperand - the left operandinputValues - contains value(s) given by the strategy to update the left operand withnewValue - the value to set the element withcontainerId - the container idcontainerType - the container typeSOperationExecutionExceptionprotected Object getBusinessData(String businessDataName, long containerId, String containerType) throws org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.persistence.SBonitaReadExceptionpublic void delete(SLeftOperand sLeftOperand, long containerId, String containerType) throws SOperationExecutionException
delete in interface LeftOperandHandlerSOperationExecutionExceptionprotected void removeBusinessData(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance reference)
throws ClassNotFoundException,
SBusinessDataNotFoundException
protected void dereferenceBusinessData(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance reference)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationException
org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationExceptionpublic void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) throws org.bonitasoft.engine.persistence.SBonitaReadException
LeftOperandHandlerloadLeftOperandInContext in interface LeftOperandHandlersLeftOperand - the left operandleftOperandContainerId - the left operand container id. Used to execute the left Operand in the correct contextleftOperandContainerType - the left operand container type. Used to execute the left Operand in the correct contextexpressionContext - the context to add the value iorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic void loadLeftOperandInContext(List<SLeftOperand> sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) throws org.bonitasoft.engine.persistence.SBonitaReadException
loadLeftOperandInContext in interface LeftOperandHandlerorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.