Package org.bonitasoft.engine.operation
Class StringIndexLeftOperandHandler
java.lang.Object
org.bonitasoft.engine.operation.StringIndexLeftOperandHandler
- All Implemented Interfaces:
LeftOperandHandler
- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
Constructor Summary
ConstructorsConstructorDescriptionStringIndexLeftOperandHandler(ProcessInstanceService processInstanceService, ActivityInstanceService activityInstanceService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(SLeftOperand leftOperand, long containerId, String containerType) getType()voidloadLeftOperandInContext(List<SLeftOperand> sLeftOperandList, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext contextToSet) voidloadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext contextToSet) retrieve the left operand and put it in context as needed by the left operandupdate(SLeftOperand sLeftOperand, Map<String, Object> inputValues, Object newValue, long containerId, String containerType)
-
Constructor Details
-
StringIndexLeftOperandHandler
public StringIndexLeftOperandHandler(ProcessInstanceService processInstanceService, ActivityInstanceService activityInstanceService)
-
-
Method Details
-
update
public Object update(SLeftOperand sLeftOperand, Map<String, Object> inputValues, Object newValue, long containerId, String containerType) throws SOperationExecutionException- Specified by:
updatein interfaceLeftOperandHandler- Parameters:
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 type- Throws:
SOperationExecutionException
-
getType
- Specified by:
getTypein interfaceLeftOperandHandler
-
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 contextToSet) throws SBonitaReadException 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 contextcontextToSet- the context to add the value i- Throws:
SBonitaReadException
-
loadLeftOperandInContext
public void loadLeftOperandInContext(List<SLeftOperand> sLeftOperandList, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext contextToSet) throws SBonitaReadException - Specified by:
loadLeftOperandInContextin interfaceLeftOperandHandler- Throws:
SBonitaReadException
-