Interface LeftOperandHandler
-
- All Known Implementing Classes:
AbstractDocumentLeftOperandHandler,BusinessDataLeftOperandHandler,DataLeftOperandHandler,DocumentLeftOperandHandler,DocumentListLeftOperandHandler,ExternalDataLeftOperandHandler,StringIndexLeftOperandHandler,TransientDataLeftOperandHandler
public interface LeftOperandHandlerTells the engine how to retrieve and update a left operand having the specified type e.g. a data left operand handler will get data from database and set the data back in database- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(SLeftOperand sLeftOperand, long containerId, java.lang.String containerType)java.lang.StringgetType()voidloadLeftOperandInContext(java.util.List<SLeftOperand> sLeftOperandList, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext contextToSet)voidloadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext contextToSet)retrieve the left operand and put it in context as needed by the left operandjava.lang.Objectupdate(SLeftOperand sLeftOperand, java.util.Map<java.lang.String,java.lang.Object> inputValues, java.lang.Object newValue, long containerId, java.lang.String containerType)
-
-
-
Method Detail
-
getType
java.lang.String getType()
-
update
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
- Parameters:
inputValues- contains value(s) given by the strategy to update the left operand withsLeftOperand- the left operandnewValue- the value to set the element withcontainerId- the container idcontainerType- the container type- Throws:
SOperationExecutionException
-
delete
void delete(SLeftOperand sLeftOperand, long containerId, java.lang.String containerType) throws SOperationExecutionException
- Throws:
SOperationExecutionException
-
loadLeftOperandInContext
void loadLeftOperandInContext(SLeftOperand sLeftOperand, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext contextToSet) throws SBonitaReadException
retrieve the left operand and put it in context as needed by the left operand- 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
void loadLeftOperandInContext(java.util.List<SLeftOperand> sLeftOperandList, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext contextToSet) throws SBonitaReadException
- Throws:
SBonitaReadException
-
-