Class InfoLetter

    • Constructor Detail

      • InfoLetter

        public InfoLetter()
        Default constructor
      • InfoLetter

        public InfoLetter​(org.silverpeas.core.WAPrimaryKey pk,
                          String instanceId,
                          String name,
                          String description,
                          String periode)
        Parameters:
        pk - the info letter identifier
        name - the name
        instanceId - the component instance identifier
        description - the description
        periode - the frequency
    • Method Detail

      • getInstanceId

        public String getInstanceId()
      • setInstanceId

        public void setInstanceId​(String instanceId)
      • getName

        public String getName()
      • setName

        public void setName​(String n)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getPeriode

        public String getPeriode()
      • setPeriode

        public void setPeriode​(String periode)
      • _getConnectionType

        public int _getConnectionType()
        Specified by:
        _getConnectionType in interface org.silverpeas.core.persistence.jdbc.bean.SilverpeasBeanIntf
        Overrides:
        _getConnectionType in class org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
      • hashCode

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

        public String _getTableName()
        Specified by:
        _getTableName in interface org.silverpeas.core.persistence.jdbc.bean.SilverpeasBeanIntf
        Overrides:
        _getTableName in class org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
      • existsTemplateContent

        public boolean existsTemplateContent()
      • getTemplateWysiwygContent

        public Optional<org.silverpeas.core.contribution.model.WysiwygContent> getTemplateWysiwygContent()
      • saveTemplateContent

        public void saveTemplateContent​(String manualContent)
        Saves given content.

        The given content MAY be directly a WYSIWYG content, in a such case the content has been edited by a WYSIWYG editor.

        The given content is not defined, in a such case the content has been MAYBE edited by a Drag And Drop Web Editor. Then the temporary content is saved into final one and the Inlined HTML is saved into WYSIWYG repository.

        Parameters:
        manualContent - a manual content. The content is specified when it comes directly from a WYSIWYG editing.
      • getTemplateIdentifier

        public org.silverpeas.core.contribution.model.ContributionIdentifier getTemplateIdentifier()