Class CmsTemplatePluginFinder
- java.lang.Object
-
- org.opencms.ade.configuration.plugins.CmsTemplatePluginFinder
-
public class CmsTemplatePluginFinder extends java.lang.Object
Helper class for finding the list of active template plugins for the current page.
-
-
Constructor Summary
Constructors Constructor Description CmsTemplatePluginFinder(CmsJspStandardContextBean standardContextBean)
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.common.collect.Multimap<java.lang.String,CmsTemplatePlugin>
getActiveTemplatePluginsFromSitePlugins(CmsADEConfigData config)
Gets the active plugins from site plugins only.com.google.common.collect.Multimap<java.lang.String,CmsTemplatePlugin>
getTemplatePlugins()
Gets the multimap of plugins for the current page by group, with each group sorted and de-duplicated.
-
-
-
Constructor Detail
-
CmsTemplatePluginFinder
public CmsTemplatePluginFinder(CmsJspStandardContextBean standardContextBean)
Creates a new instance.- Parameters:
standardContextBean
- the current standard context bean
-
-
Method Detail
-
getActiveTemplatePluginsFromSitePlugins
public static com.google.common.collect.Multimap<java.lang.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
public com.google.common.collect.Multimap<java.lang.String,CmsTemplatePlugin> getTemplatePlugins()
Gets the multimap of plugins for the current page by group, with each group sorted and de-duplicated.- Returns:
- the multimap of plugins
-
-