Class CheminPedagogiqueHelper

java.lang.Object
org.ametys.odf.ose.export.impl.odf.db.CheminPedagogiqueHelper

public final class CheminPedagogiqueHelper extends Object
Helper to build queries to manage the CHEMIN_PEDAGOGIQUE table.
  • Method Details

    • initialize

      Queries to create the table and associated view.
      Returns:
      List of queries for table and view creation
    • deleteFrom

      Query to delete all lines from the table.
      Returns:
      The query for deletion
    • insertInto

      public static ParameterizableQuery insertInto(String stepCode, String elpCode, Long oseCatalog, AtomicInteger order)
      Query to insert a line in the table.
      Parameters:
      stepCode - The step code
      elpCode - The ELP code
      oseCatalog - The OSE catalog
      order - The order, incremented once at each call
      Returns:
      The query to insert values in the table