Class ExternalDataLeftOperandHandler
java.lang.Object
org.bonitasoft.engine.core.operation.impl.ExternalDataLeftOperandHandler
- All Implemented Interfaces:
LeftOperandHandler
- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(SLeftOperand leftOperand, long containerId, String containerType) getType()voidloadLeftOperandInContext(List<SLeftOperand> sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) voidloadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) retrieve the left operand and put it in context as needed by the left operandupdate(SLeftOperand leftOperand, Map<String, Object> inputValues, Object newValue, long containerId, String containerType)
-
Constructor Details
-
ExternalDataLeftOperandHandler
public ExternalDataLeftOperandHandler()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLeftOperandHandler
-
update
public Object update(SLeftOperand leftOperand, Map<String, Object> inputValues, Object newValue, long containerId, String containerType) - Specified by:
updatein interfaceLeftOperandHandler- Parameters:
leftOperand- 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 type
-
delete
public void delete(SLeftOperand leftOperand, long containerId, String containerType) throws SOperationExecutionException - Specified by:
deletein interfaceLeftOperandHandler- Throws:
SOperationExecutionException
-
loadLeftOperandInContext
public void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) Description copied from interface:LeftOperandHandlerretrieve the left operand and put it in context as needed by the left operand- Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Parameters:
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 i
-
loadLeftOperandInContext
public void loadLeftOperandInContext(List<SLeftOperand> sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext) throws SBonitaReadException - Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Throws:
SBonitaReadException
-