Class CmsTemplate

java.lang.Object
ch.tocco.nice2.optional.cms.impl.template.CmsTemplate

public class CmsTemplate extends Object
Represents a cms template with a unique id, the template content and a version number.
  • Constructor Details

    • CmsTemplate

      public CmsTemplate()
  • Method Details

    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • getLabel

      public String getLabel(String locale)
    • setLabel

      public void setLabel(String locale, String label)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getTemplate

      public String getTemplate()
    • setTemplate

      public void setTemplate(String template)
    • getVersion

      public Long getVersion()
    • setVersion

      public void setVersion(Long version)
    • isExternal

      public Boolean isExternal()
    • setExternal

      public void setExternal(Boolean external)
    • isEdited

      public Boolean isEdited()
    • setEdited

      public void setEdited(Boolean edited)
    • isEnabled

      public Boolean isEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • getTemplateModel

      public CmsTemplateModel getTemplateModel()
    • setTemplateModel

      public void setTemplateModel(CmsTemplateModel templateModel)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object