Interface OperationService

  • All Known Implementing Classes:
    OperationServiceImpl

    public interface OperationService
    Since:
    6.0
    Author:
    Zhang Bole, Elias Ricken de Medeiros, Baptiste Mesta, Matthieu Chaffotte
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void execute​(java.util.List<SOperation> operations, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext)
      Execute the given operation in the given context and update data that are in the given data container
      void execute​(java.util.List<SOperation> operations, SExpressionContext expressionContext)
      Execute the given operation in the given context and update data that are in the same context
      void execute​(SOperation operation, long dataContainerId, java.lang.String dataContainerType, SExpressionContext expressionContext)
      Execute the given operation in the given context and update data that are in the given data container
    • Method Detail

      • execute

        void execute​(SOperation operation,
                     long dataContainerId,
                     java.lang.String dataContainerType,
                     SExpressionContext expressionContext)
              throws SOperationExecutionException
        Execute the given operation in the given context and update data that are in the given data container
        Parameters:
        operation - the operation to execute
        dataContainerId - the id of the data container (used for left operand)
        dataContainerType - the type of the data container (used for left operand)
        expressionContext - the context in which execute the operation
        Throws:
        SOperationExecutionException
      • execute

        void execute​(java.util.List<SOperation> operations,
                     long leftOperandContainerId,
                     java.lang.String leftOperandContainerType,
                     SExpressionContext expressionContext)
              throws SOperationExecutionException
        Execute the given operation in the given context and update data that are in the given data container
        Parameters:
        operations - the operations to execute
        leftOperandContainerId - the id of the container (used for left operand)
        leftOperandContainerType - the type of the container (used for left operand)
        expressionContext - the context in which execute the operation
        Throws:
        SOperationExecutionException