Interface IContentDefinition

All Superinterfaces:
Serializable
All Known Subinterfaces:
IBlockDefinition, IComponentDefinition, IFieldComponentDefinition

public interface IContentDefinition extends Serializable
Base interface for component/block definition
Author:
omenuel
  • Method Details

    • getName

      String getName()
      Gets the system name of a definition.
      Returns:
      A java.lang.String
    • setValue

      void setValue(String propertyName, Object value)
      Sets a value to a property
      Parameters:
      propertyName - The system name of the property.
      value - The value object to set.
    • getValue

      Object getValue(String propertyName)
      Gets the value of a property.
      Parameters:
      propertyName - The system name of the property.
      Returns:
      A Object object.
    • getValues

      Map<String,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

      Clone content definition
      Returns:
      duplicate IContentDefinition
    • clone

      IContentDefinition clone(boolean keepId)
      Clone content definition
      Parameters:
      keepId - if true keep IContentDefinition id, regenerate all id otherwise
      Returns:
      duplicate IContentDefinition