Class CmsConfigParserUtils
java.lang.Object
org.opencms.jsp.search.config.parser.simplesearch.CmsConfigParserUtils
Utils to read and update the list configuration.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name for the category mode.static final String
XML content node name.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String
List configuration node name and field key.static final String[]
The parameter fields. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CmsConfigurationBean
parseListConfiguration
(CmsObject cms, CmsResource res) Parses the list configuration resource.static CmsXmlContent
updateBlackList
(CmsObject cms, CmsXmlContent content, CmsConfigurationBean configBean) Updates the black list entries in the provided xml content.
-
Field Details
-
N_BLACKLIST
List configuration node name and field key.- See Also:
-
N_CATEGORY
List configuration node name and field key.- See Also:
-
N_CATEGORY_MODE
List configuration node name for the category mode.- See Also:
-
N_DATE_RESTRICTION
XML content node name.- See Also:
-
N_DISPLAY_TYPE
List configuration node name and field key.- See Also:
-
N_FILTER_MULTI_DAY
List configuration node name and field key.- See Also:
-
N_FILTER_QUERY
List configuration node name and field key.- See Also:
-
N_GEO_FILTER
List configuration node name and field key.- See Also:
-
N_KEY
List configuration node name and field key.- See Also:
-
N_PARAMETER
List configuration node name and field key.- See Also:
-
N_RADIUS
List configuration node name and field key.- See Also:
-
N_SEARCH_FOLDER
List configuration node name and field key.- See Also:
-
N_SHOW_EXPIRED
List configuration node name and field key.- See Also:
-
N_SORT_ORDER
List configuration node name and field key.- See Also:
-
N_TITLE
List configuration node name and field key.- See Also:
-
N_VALUE
List configuration node name and field key.- See Also:
-
N_MAX_RESULTS
List configuration node name and field key.- See Also:
-
N_PRECONFIGURED_FILTER_QUERY
List configuration node name and field key.- See Also:
-
N_RULE
List configuration node name and field key.- See Also:
-
PARAMETER_FIELDS
The parameter fields.
-
-
Constructor Details
-
CmsConfigParserUtils
public CmsConfigParserUtils()
-
-
Method Details
-
parseListConfiguration
Parses the list configuration resource.- Parameters:
cms
- the CMS context to useres
- the list configuration resource- Returns:
- the configuration data bean
-
updateBlackList
public static CmsXmlContent updateBlackList(CmsObject cms, CmsXmlContent content, CmsConfigurationBean configBean) Updates the black list entries in the provided xml content.- Parameters:
cms
- the cms context.content
- the xml content to update (must be of type list_config)configBean
- the config bean to get the blacklist entries from.- Returns:
- the updated content (update is in-place).
-