public class DefaultControlsConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_ELEMENT_ID |
| Constructor and Description |
|---|
DefaultControlsConfigElement()
This constructor creates an instance with the default name.
|
DefaultControlsConfigElement(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) |
List<org.springframework.extensions.config.ConfigElement> |
getChildren() |
List<ControlParam> |
getControlParamsAsListFor(String dataType)
This method returns an unmodifiable List of
ControlParam objects
associated with the specified dataType. |
ControlParam[] |
getControlParamsFor(String dataType) |
String[] |
getItemNames() |
List<String> |
getItemNamesAsList() |
Map<String,Control> |
getItems() |
String |
getTemplateFor(String dataType)
This method returns a String representing the path of the template associated
with the given dataType.
|
public static final String CONFIG_ELEMENT_ID
public DefaultControlsConfigElement()
public DefaultControlsConfigElement(String name)
name - the name for the ConfigElement.public List<org.springframework.extensions.config.ConfigElement> 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 String[] getItemNames()
public String getTemplateFor(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(String dataType)
public List<ControlParam> getControlParamsAsListFor(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–2014 Alfresco Software. All rights reserved.