public class DefaultControlsConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_ELEMENT_ID |
| Constructor and Description |
|---|
DefaultControlsConfigElement()
This constructor creates an instance with the default name.
|
DefaultControlsConfigElement(java.lang.String name)
This constructor creates an instance with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
java.util.List |
getChildren() |
java.util.List |
getControlParamsAsListFor(java.lang.String dataType)
This method returns an unmodifiable List of
ControlParam objects
associated with the specified dataType. |
ControlParam[] |
getControlParamsFor(java.lang.String dataType) |
java.lang.String[] |
getItemNames() |
java.util.List |
getItemNamesAsList() |
java.util.Map |
getItems() |
java.lang.String |
getTemplateFor(java.lang.String dataType)
This method returns a String representing the path of the template associated
with the given dataType.
|
public static final java.lang.String CONFIG_ELEMENT_ID
public DefaultControlsConfigElement()
public DefaultControlsConfigElement(java.lang.String name)
name - the name for the ConfigElement.public 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 java.lang.String[] getItemNames()
public java.util.List getItemNamesAsList()
public java.util.Map getItems()
public java.lang.String getTemplateFor(java.lang.String dataType)
dataType - the dataType for which a template is required.null if the specified
dataType is null or if there is no registered template.public ControlParam[] getControlParamsFor(java.lang.String dataType)
public java.util.List getControlParamsAsListFor(java.lang.String dataType)
ControlParam objects
associated with the specified dataType.dataType - the dataType for which control-params are required.ControlParam objects.org.alfresco.web.config.ControlParamCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.