Class ConfigNamesAndSections


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getFormLayoutName​(java.lang.String formName, long layoutVersion)
      Generates the name of the setting used to store a form's layout.
      static java.lang.String getFormLayoutSection()
      Generates the name of the section used to store form layouts for the current user.
      static java.lang.String getResultSetLayoutName​(java.lang.String ddcName, java.lang.String formName, int id, int rev)
      Generates the name of the setting used to store the layout of a result set.
      static java.lang.String getResultSetLayoutSection()
      Generates the name of the section used to store result set layouts for the current user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFormLayoutName

        public static java.lang.String getFormLayoutName​(java.lang.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 java.lang.String getFormLayoutSection()
        Generates the name of the section used to store form layouts for the current user.
        Returns:
        section name
      • getResultSetLayoutName

        public static java.lang.String getResultSetLayoutName​(java.lang.String ddcName,
                                                              java.lang.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 java.lang.String getResultSetLayoutSection()
        Generates the name of the section used to store result set layouts for the current user.
        Returns:
        section name