|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.configuration.CmsPropertyConfig
public class CmsPropertyConfig
This class represents the property configuration for a sitemap region.
(This is mostly a wrapper around CmsXmlContentProperty. We don't use that class directly because we may want to put server-specific logic in here, and CmsXmlContentProperty is used as a bean for RPC data transfer to the client.)
| Field Summary |
|---|
| Fields inherited from interface org.opencms.ade.configuration.I_CmsConfigurationObject |
|---|
DEFAULT_ORDER |
| Constructor Summary | |
|---|---|
CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled)
Creates a new propery configuration bean. |
|
CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled,
int order)
Creates a new property configuration bean. |
|
| Method Summary | |
|---|---|
CmsPropertyConfig |
clone()
|
String |
getKey()
The name of the configuration object. |
String |
getName()
Gets the name of the property. |
int |
getOrder()
Gets the order. |
CmsXmlContentProperty |
getPropertyData()
Returns the property configuration data. |
boolean |
isDisabled()
Returns true if the entry disables a property, rather than adding it. |
CmsPropertyConfig |
merge(CmsPropertyConfig child)
Merges this configuration object with a child configuration object. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled)
propData - the property datadisabled - true if this property is disabled
public CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled,
int order)
propData - the property datadisabled - true if this property is disabledorder - the number used for sorting the property configurations| Method Detail |
|---|
public CmsPropertyConfig clone()
clone in class ObjectObject.clone()public String getKey()
I_CmsConfigurationObjectThis name should be unique for each single configuration
getKey in interface I_CmsConfigurationObject<CmsPropertyConfig>I_CmsConfigurationObject.getKey()public String getName()
public int getOrder()
public CmsXmlContentProperty getPropertyData()
public boolean isDisabled()
isDisabled in interface I_CmsConfigurationObject<CmsPropertyConfig>public CmsPropertyConfig merge(CmsPropertyConfig child)
I_CmsConfigurationObject
merge in interface I_CmsConfigurationObject<CmsPropertyConfig>child - the child configuration object
I_CmsConfigurationObject.merge(org.opencms.ade.configuration.I_CmsConfigurationObject)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||