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

    Modifier and Type
    Method
    Description
    void
    execute(List<SOperation> operations, long leftOperandContainerId, String leftOperandContainerType, SExpressionContext expressionContext)
    Execute the given operation in the given context and update data that are in the given data container
    void
    execute(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, String dataContainerType, SExpressionContext expressionContext)
    Execute the given operation in the given context and update data that are in the given data container
  • Method Details

    • execute

      void execute(SOperation operation, long dataContainerId, 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(List<SOperation> operations, long leftOperandContainerId, 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
    • execute

      void execute(List<SOperation> operations, SExpressionContext expressionContext) throws SOperationExecutionException
      Execute the given operation in the given context and update data that are in the same context
      Parameters:
      operations -
      expressionContext -
      Throws:
      SOperationExecutionException