Interface VariantToBeEditedHook

All Superinterfaces:
Hook
All Known Implementing Classes:
TableFilterAdjustVariantHooker

@HookConfig public interface VariantToBeEditedHook extends Hook
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    variantToBeEdited(Report referenceVariant, ReportDto reportDto, String executorToken)
    Called just before the edits in a variant are going to be saved.
  • Method Details

    • variantToBeEdited

      void variantToBeEdited(Report referenceVariant, ReportDto reportDto, String executorToken) throws ServerCallFailedException
      Called just before the edits in a variant are going to be saved.
      Parameters:
      referenceVariant - the original, not yet saved report. This shows the current state of the report in the database.
      reportDto - the report with the changes.
      executorToken - the executor token.
      Throws:
      ServerCallFailedException