public class BusinessDataLeftOperandHandler extends java.lang.Object implements LeftOperandHandler
Modifier and Type | Field and Description |
---|---|
protected RefBusinessDataService |
refBusinessDataService |
Modifier | Constructor and Description |
---|---|
protected |
BusinessDataLeftOperandHandler(BusinessDataRepository businessDataRepository,
RefBusinessDataService refBusinessDataService,
RefBusinessDataRetriever refBusinessDataRetriever,
EntitiesActionsExecutor entitiesActionsExecutor,
UpdateDataRefAction updateDataRefAction) |
Modifier and Type | Method and Description |
---|---|
void |
delete(SLeftOperand sLeftOperand,
long containerId,
java.lang.String containerType) |
protected void |
dereferenceBusinessData(SRefBusinessDataInstance reference) |
protected java.lang.Object |
getBusinessData(java.lang.String businessDataName,
long containerId,
java.lang.String containerType) |
java.lang.String |
getType() |
void |
loadLeftOperandInContext(java.util.List<SLeftOperand> sLeftOperand,
long leftOperandContainerId,
java.lang.String leftOperandContainerType,
SExpressionContext expressionContext) |
void |
loadLeftOperandInContext(SLeftOperand sLeftOperand,
long leftOperandContainerId,
java.lang.String leftOperandContainerType,
SExpressionContext expressionContext)
retrieve the left operand and put it in context as needed by the left operand
|
protected void |
removeBusinessData(SRefBusinessDataInstance reference) |
java.lang.Object |
update(SLeftOperand sLeftOperand,
java.util.Map<java.lang.String,java.lang.Object> inputValues,
java.lang.Object newValue,
long containerId,
java.lang.String containerType) |
protected final RefBusinessDataService refBusinessDataService
protected BusinessDataLeftOperandHandler(BusinessDataRepository businessDataRepository, RefBusinessDataService refBusinessDataService, RefBusinessDataRetriever refBusinessDataRetriever, EntitiesActionsExecutor entitiesActionsExecutor, UpdateDataRefAction updateDataRefAction)
public java.lang.String getType()
getType
in interface LeftOperandHandler
public java.lang.Object update(SLeftOperand sLeftOperand, java.util.Map<java.lang.String,java.lang.Object> inputValues, java.lang.Object newValue, long containerId, java.lang.String containerType) throws SOperationExecutionException
update
in interface LeftOperandHandler
sLeftOperand
- 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 typeSOperationExecutionException
protected java.lang.Object getBusinessData(java.lang.String businessDataName, long containerId, java.lang.String containerType) throws SBonitaReadException
SBonitaReadException
public void delete(SLeftOperand sLeftOperand, long containerId, java.lang.String containerType) throws SOperationExecutionException
delete
in interface LeftOperandHandler
SOperationExecutionException
protected void removeBusinessData(SRefBusinessDataInstance reference) throws java.lang.ClassNotFoundException, SBusinessDataNotFoundException
java.lang.ClassNotFoundException
SBusinessDataNotFoundException
protected void dereferenceBusinessData(SRefBusinessDataInstance reference) throws SRefBusinessDataInstanceModificationException
public void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext) throws SBonitaReadException
LeftOperandHandler
loadLeftOperandInContext
in interface LeftOperandHandler
sLeftOperand
- 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 iSBonitaReadException
public void loadLeftOperandInContext(java.util.List<SLeftOperand> sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext) throws SBonitaReadException
loadLeftOperandInContext
in interface LeftOperandHandler
SBonitaReadException