Class StructuredContentDTO

java.lang.Object
org.broadleafcommerce.common.structure.dto.StructuredContentDTO
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StructuredContentDTOWrapper

public class StructuredContentDTO extends Object implements Serializable
Scoped as a prototype bean via bl-cms-applicationContext-entity. This bean is used to wrap an StructuredContentImpl so that modifications and additional properties can be used without worrying about Hibernate's persistence.
Author:
bpolster.
See Also:
  • Field Details

    • id

      protected Long id
    • contentName

      protected String contentName
    • contentType

      protected String contentType
    • localeCode

      protected String localeCode
    • priority

      protected Integer priority
    • values

      protected Map<String,Object> values
    • ruleExpression

      protected String ruleExpression
    • itemCriteriaDTOList

      protected List<ItemCriteriaDTO> itemCriteriaDTOList
  • Constructor Details

    • StructuredContentDTO

      public StructuredContentDTO()
  • Method Details

    • getPropertyValue

      public Object getPropertyValue(String propertyName)
      Attempts to obtain the given property value from the dynamic property map first, and then an actual bean property via a getter
      Parameters:
      propertyName -
      Returns:
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getContentName

      public String getContentName()
    • setContentName

      public void setContentName(String contentName)
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • getLocaleCode

      public String getLocaleCode()
    • setLocaleCode

      public void setLocaleCode(String localeCode)
    • getPriority

      public Integer getPriority()
    • setPriority

      public void setPriority(Integer priority)
    • getValues

      public Map<String,Object> getValues()
    • setValues

      public void setValues(Map<String,Object> values)
    • getRuleExpression

      public String getRuleExpression()
    • setRuleExpression

      public void setRuleExpression(String ruleExpression)
    • getItemCriteriaDTOList

      public List<ItemCriteriaDTO> getItemCriteriaDTOList()
    • setItemCriteriaDTOList

      public void setItemCriteriaDTOList(List<ItemCriteriaDTO> itemCriteriaDTOList)
    • getClone

      public StructuredContentDTO getClone()