Interface IContentDefinition
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IBlockDefinition
,IComponentDefinition
,IFieldComponentDefinition
Base interface for component/block definition
- Author:
- omenuel
-
Method Summary
-
Method Details
-
getName
String getName()Gets the system name of a definition.- Returns:
- A java.lang.String
-
setValue
Sets a value to a property- Parameters:
propertyName
- The system name of the property.value
- The value object to set.
-
getValue
Gets the value of a property.- Parameters:
propertyName
- The system name of the property.- Returns:
- A
Object
object.
-
getValues
Get all configuration values by sysname- Parameters:
name
-- Returns:
- A java.util.Map object.
-
getParentBlock
IBlockDefinition getParentBlock()Gets the parent block.- Returns:
- A
IBlockDefinition
object.
-
clone
IContentDefinition clone()Clone content definition- Returns:
- duplicate IContentDefinition
-
clone
Clone content definition- Parameters:
keepId
- if true keep IContentDefinition id, regenerate all id otherwise- Returns:
- duplicate IContentDefinition
-