Class ExportContext

java.lang.Object
fr.ifremer.isisfish.export.ExportContext

public class ExportContext extends Object
In case of manual export, on result UI, there is not opened transaction for export to run properly. For example, fr.ifremer.isisfish.datastore.ResultStorageAbstract#decorate(MatrixND, TopiaContext) need a transaction to convert semantics.
  • Field Details

    • simulationStorage

      protected SimulationStorage simulationStorage
    • db

      protected org.nuiton.topia.TopiaContext db
      TopiaContext must be used by rule action to modify data
  • Constructor Details

    • ExportContext

      public ExportContext()
  • Method Details

    • get

      public static ExportContext get()
    • remove

      public static void remove()
    • setSimulationStorage

      public void setSimulationStorage(SimulationStorage simulationStorage)
    • getSimulationStorage

      public SimulationStorage getSimulationStorage()
    • getDB

      public org.nuiton.topia.TopiaContext getDB() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException