Class NoeudHelper

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

public final class NoeudHelper extends Object
Helper to build queries to manage the NOEUD 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 nodeId, String code, boolean isEtape, String title, Long oseCatalog)
      Query to insert a line in the table.
      Parameters:
      nodeId - The identifier (concatenation of the catalog and the code)
      code - The code
      isEtape - true if it is a step, otherwise set it to false
      title - The title
      oseCatalog - The OSE catalog
      Returns:
      The query to insert values in the table