Package com.saperion.ngc.util
Class ConfigNamesAndSections
java.lang.Object
com.saperion.ngc.util.ConfigNamesAndSections
Generator names and sections of configuration settings in the backend.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFormLayoutName(String formName, long layoutVersion) Generates the name of the setting used to store a form's layout.static StringGenerates the name of the section used to store form layouts for the current user.static StringgetResultSetLayoutName(String ddcName, String formName, int id, int rev) Generates the name of the setting used to store the layout of a result set.static StringGenerates the name of the section used to store result set layouts for the current user.
-
Method Details
-
getFormLayoutName
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
Generates the name of the section used to store form layouts for the current user.- Returns:
- section name
-
getResultSetLayoutName
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
Generates the name of the section used to store result set layouts for the current user.- Returns:
- section name
-