Class ExternalDataLeftOperandHandler

  • All Implemented Interfaces:
    LeftOperandHandler

    @Component
    public class ExternalDataLeftOperandHandler
    extends java.lang.Object
    implements LeftOperandHandler
    Author:
    Baptiste Mesta, Matthieu Chaffotte
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(SLeftOperand leftOperand, 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
      java.lang.Object update​(SLeftOperand leftOperand, java.util.Map<java.lang.String,​java.lang.Object> inputValues, java.lang.Object newValue, long containerId, java.lang.String containerType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExternalDataLeftOperandHandler

        public ExternalDataLeftOperandHandler()
    • Method Detail

      • update

        public java.lang.Object update​(SLeftOperand leftOperand,
                                       java.util.Map<java.lang.String,​java.lang.Object> inputValues,
                                       java.lang.Object newValue,
                                       long containerId,
                                       java.lang.String containerType)
        Specified by:
        update in interface LeftOperandHandler
        Parameters:
        leftOperand - the left operand
        inputValues - contains value(s) given by the strategy to update the left operand with
        newValue - the value to set the element with
        containerId - the container id
        containerType - the container type
      • loadLeftOperandInContext

        public void loadLeftOperandInContext​(SLeftOperand sLeftOperand,
                                             long leftOperandContainerId,
                                             java.lang.String leftOperandContainerType,
                                             SExpressionContext expressionContext)
        Description copied from interface: LeftOperandHandler
        retrieve the left operand and put it in context as needed by the left operand
        Specified by:
        loadLeftOperandInContext in interface LeftOperandHandler
        Parameters:
        sLeftOperand - the left operand
        leftOperandContainerId - the left operand container id. Used to execute the left Operand in the correct context
        leftOperandContainerType - the left operand container type. Used to execute the left Operand in the correct context
        expressionContext - the context to add the value i