Class CmsTemplatePluginFinder
java.lang.Object
org.opencms.ade.configuration.plugins.CmsTemplatePluginFinder
Helper class for finding the list of active template plugins for the current page.
-
Constructor Summary
ConstructorDescriptionCmsTemplatePluginFinder
(CmsJspStandardContextBean standardContextBean) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<String,
CmsTemplatePlugin> Gets the active plugins from site plugins only.com.google.common.collect.Multimap<String,
CmsTemplatePlugin> Gets the multimap of plugins for the current page by group, with each group sorted and de-duplicated.
-
Constructor Details
-
CmsTemplatePluginFinder
Creates a new instance.- Parameters:
standardContextBean
- the current standard context bean
-
-
Method Details
-
getActiveTemplatePluginsFromSitePlugins
public static com.google.common.collect.Multimap<String,CmsTemplatePlugin> getActiveTemplatePluginsFromSitePlugins(CmsADEConfigData config) Gets the active plugins from site plugins only.- Parameters:
config
- the sitemap configuration for which to get the plugins- Returns:
- the multimap of active plugins by group
-
getTemplatePlugins
Gets the multimap of plugins for the current page by group, with each group sorted and de-duplicated.- Returns:
- the multimap of plugins
-