Class NewsLetterTemplate

java.lang.Object
fr.paris.lutece.plugins.newsletter.business.NewsLetterTemplate
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class NewsLetterTemplate extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource
This class represents business objects NewsLetterTemplate
  • Field Details

  • Constructor Details

    • NewsLetterTemplate

      public NewsLetterTemplate()
  • Method Details

    • getId

      public int getId()
      Returns the identifier of the template
      Returns:
      the template identifier
    • setId

      public void setId(int nId)
      Sets the identifier of the template
      Parameters:
      nId - the template identifier
    • getTopicType

      public String getTopicType()
      Returns the topic type of the template
      Returns:
      the topic type of the template
    • setTopicType

      public void setTopicType(String strTopicType)
      Sets the topic type of the template
      Parameters:
      strTopicType - the topic type of the template
    • getDescription

      public String getDescription()
      Returns the description of the template
      Returns:
      the template description
    • setDescription

      public void setDescription(String strDescription)
      Sets the description of the template
      Parameters:
      strDescription - the template description
    • getFileKey

      public String getFileKey()
      Returns the file name of the template
      Returns:
      the template file name
    • setFileKey

      public void setFileKey(String strFileName)
      Sets the file name of the template
      Parameters:
      strFileName - the template file name
    • getPictureKey

      public String getPictureKey()
      Returns the picture of the template
      Returns:
      the template picture
    • setPictureKey

      public void setPictureKey(String strPicture)
      Sets the picture of the template
      Parameters:
      strPicture - the template picture
    • getWorkgroup

      public String getWorkgroup()
      Return the workgroup
      Specified by:
      getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
      Returns:
      The workgroup
    • setWorkgroup

      public void setWorkgroup(String strWorkgroup)
      Set the workgroup
      Parameters:
      strWorkgroup - The workgroup
    • getResourceId

      public String getResourceId()
      Returns the Resource Type Code that identify the resource type
      Specified by:
      getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
      Returns:
      The Resource Type Code
    • getResourceTypeCode

      public String getResourceTypeCode()
      Returns the resource Id of the current object
      Specified by:
      getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
      Returns:
      The resource Id of the current object
    • getSectionNumber

      public int getSectionNumber()
      Get the number of sections of this template
      Returns:
      The number of sections of this template
    • setSectionNumber

      public void setSectionNumber(int nSectionNumber)
      Set the number of sections of this template
      Parameters:
      nSectionNumber - The number of sections of this template