public class AdvancedComponentImpl extends ComponentImpl implements AdvancedComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
SUB_COMPONENT_ELEMENT_CONVERSION_ID
When instantiating an
AdvancedComponent from configuration intended for Component
this is the identifier that will be given to the single SubComponent generated. |
PROP_PROCESSORcustomProperties, description, descriptionId, id, info, modelProperties, modificationTime, resourceContainer, title, titleIdCOMPONENT, EVALUATION, EVALUATIONS, EVALUATOR, EVALUATORS, ID, INDEX, NAME, NEGATE, PARAM, PARAMS, PROPERTIES, RENDER_IF_EVALUATED, SUB_COMPONENT, SUB_COMPONENTS, TYPE, URI, URL, VALUEPROP_CHROME, PROP_COMPONENT_TYPE_ID, PROP_GUID, PROP_INDEX, PROP_REGION_ID, PROP_SCOPE, PROP_SOURCE_ID, PROP_URI, PROP_URL, TYPE_IDPROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Constructor and Description |
|---|
AdvancedComponentImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyConfig(org.dom4j.Element componentEl)
Initialises the
AdvancedComponentImpl instance by parsing the supplied XML configuration Element. |
List<SubComponent> |
getSubComponents()
Retrieve the sub component list for this component.
|
boolean |
isAdvancedConfig()
Indicates whether or not this instance was instantiated from configuration specifically tailored
for an
AdvancedComponent or for a Component. |
void |
setSubComponents(List<SubComponent> subComponents)
|
compareTo, getChrome, getComponentType, getComponentTypeId, getGUID, getIndex, getRegionId, getResolvedWebScript, getScope, getSourceId, getSourceObject, getTypeId, getURI, getURL, regenerateId, setChrome, setComponentTypeId, setGUID, setId, setIndex, setRegionId, setResolvedWebScript, setScope, setSourceId, setURI, setURLgetProcessorId, getProcessorId, getProcessorProperties, getProcessorProperties, getProcessorProperty, getProcessorProperty, getRenderModesaddResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getResource, getResourceContainer, getResources, getResourcesMap, getStoragePath, getTitle, getTitleId, isCustomProperty, isModelProperty, isSaved, removeCustomProperty, removeModelProperty, removeProperty, removeResource, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setModificationTime, setProperty, setTitle, setTitleId, toString, touch, toXML, updateResource, updateXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChrome, getComponentType, getComponentTypeId, getGUID, getIndex, getRegionId, getScope, getSourceId, getSourceObject, getURI, getURL, setChrome, setComponentTypeId, setGUID, setIndex, setRegionId, setScope, setSourceId, setURI, setURLgetBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, getTypeId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXMLcompareTogetResolvedWebScript, setResolvedWebScriptpublic static final String SUB_COMPONENT_ELEMENT_CONVERSION_ID
When instantiating an AdvancedComponent from configuration intended for Component
this is the identifier that will be given to the single SubComponent generated.
public AdvancedComponentImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
public boolean isAdvancedConfig()
Indicates whether or not this instance was instantiated from configuration specifically tailored
for an AdvancedComponent or for a Component.
isAdvancedConfig in interface AdvancedComponentpublic List<SubComponent> getSubComponents()
getSubComponents in interface AdvancedComponentList of SubComponent instances directly configured (i.e. not defined in an ExtensionModule).public void setSubComponents(List<SubComponent> subComponents)
Sets the the List of SubComponent instances that are owned by this
AdvancedComponent.
setSubComponents in interface AdvancedComponentpublic void applyConfig(org.dom4j.Element componentEl)
Initialises the AdvancedComponentImpl instance by parsing the supplied XML configuration Element.
This will build a list of SubComponent instances. Parsing of the configuration for each SubComponent
is deferred to each instance created.
applyConfig in interface AdvancedComponentCopyright © 2005–2016 Alfresco Software. All rights reserved.