public class SidebarConfigElement extends org.springframework.extensions.config.element.ConfigElementAdapter implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SidebarConfigElement.SidebarPluginConfig
Inner class representing the configuration of a sidebar plugin
|
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_ELEMENT_ID |
Constructor and Description |
---|
SidebarConfigElement()
Default constructor
|
SidebarConfigElement(String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
List<org.springframework.extensions.config.ConfigElement> |
getChildren() |
String |
getDefaultPlugin() |
SidebarConfigElement.SidebarPluginConfig |
getPlugin(String id)
Returns the named plugin
|
Map<String,SidebarConfigElement.SidebarPluginConfig> |
getPlugins() |
void |
setDefaultPlugin(String defaultPlugin)
Sets the plugin to use as the default
|
public static final String CONFIG_ELEMENT_ID
public SidebarConfigElement()
public SidebarConfigElement(String name)
name
- Name of the element this config element representspublic List<org.springframework.extensions.config.ConfigElement> getChildren()
getChildren
in interface org.springframework.extensions.config.ConfigElement
getChildren
in class org.springframework.extensions.config.element.ConfigElementAdapter
ConfigElement.getChildren()
public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
combine
in interface org.springframework.extensions.config.ConfigElement
combine
in class org.springframework.extensions.config.element.ConfigElementAdapter
ConfigElement.combine(org.springframework.extensions.config.ConfigElement)
public SidebarConfigElement.SidebarPluginConfig getPlugin(String id)
id
- The id of the plugin to retrievepublic Map<String,SidebarConfigElement.SidebarPluginConfig> getPlugins()
public String getDefaultPlugin()
public void setDefaultPlugin(String defaultPlugin)
defaultPlugin
- Id of the default pluginCopyright © 2005–2017 Alfresco Software. All rights reserved.