Class ConfigNamesAndSections

java.lang.Object
com.saperion.ngc.util.ConfigNamesAndSections

public final class ConfigNamesAndSections extends Object
Generator names and sections of configuration settings in the backend.
  • Method Details

    • getFormLayoutName

      public static String getFormLayoutName(String formName, long layoutVersion)
      Generates the name of the setting used to store a form's layout.
      Parameters:
      formName - the name of the form
      layoutVersion - the version of the form's layout
      Returns:
      name of the setting
    • getFormLayoutSection

      public static String getFormLayoutSection()
      Generates the name of the section used to store form layouts for the current user.
      Returns:
      section name
    • getResultSetLayoutName

      public static String getResultSetLayoutName(String ddcName, String formName, int id, int rev)
      Generates the name of the setting used to store the layout of a result set.
      Parameters:
      ddcName - name of the ddc
      formName - name of the form
      id - id of the result set
      rev - revision of the result set
      Returns:
      name of the setting
    • getResultSetLayoutSection

      public static String getResultSetLayoutSection()
      Generates the name of the section used to store result set layouts for the current user.
      Returns:
      section name