Package com.saperion.ngc.util
Class ConfigNamesAndSections
- java.lang.Object
-
- com.saperion.ngc.util.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.
-
-
-
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 formlayoutVersion
- 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 ddcformName
- name of the formid
- id of the result setrev
- 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
-
-