public class SidebarConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
implements java.io.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 java.lang.String |
CONFIG_ELEMENT_ID |
| Constructor and Description |
|---|
SidebarConfigElement()
Default constructor
|
SidebarConfigElement(java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
java.util.List |
getChildren() |
java.lang.String |
getDefaultPlugin() |
SidebarConfigElement.SidebarPluginConfig |
getPlugin(java.lang.String id)
Returns the named plugin
|
java.util.Map |
getPlugins() |
void |
setDefaultPlugin(java.lang.String defaultPlugin)
Sets the plugin to use as the default
|
public static final java.lang.String CONFIG_ELEMENT_ID
public SidebarConfigElement()
public SidebarConfigElement(java.lang.String name)
name - Name of the element this config element representspublic java.util.List getChildren()
getChildren in interface org.springframework.extensions.config.ConfigElementgetChildren in class org.springframework.extensions.config.element.ConfigElementAdapterorg.alfresco.config.ConfigElement#getChildren()public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
combine in interface org.springframework.extensions.config.ConfigElementcombine in class org.springframework.extensions.config.element.ConfigElementAdapterorg.alfresco.config.ConfigElement#combine(org.alfresco.config.ConfigElement)public SidebarConfigElement.SidebarPluginConfig getPlugin(java.lang.String id)
id - The id of the plugin to retrievepublic java.util.Map getPlugins()
public java.lang.String getDefaultPlugin()
public void setDefaultPlugin(java.lang.String defaultPlugin)
defaultPlugin - Id of the default pluginCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.