Class TypeInterventionEPHelper

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

public final class TypeInterventionEPHelper extends Object
Helper to build queries to manage the TYPE_INTERVENTION_EP 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 coursePartCode, String coursePartNature, String courseLink, Long oseCatalog)
      Query to insert a line in the table.
      Parameters:
      coursePartCode - The course part code
      coursePartNature - The course part nature
      courseLink - the course link
      oseCatalog - The OSE catalog
      Returns:
      The query to insert values in the table