Class NewsLetterTemplate

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESOURCE_TYPE
      The resource type key
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the description of the template
      java.lang.String getFileKey()
      Returns the file name of the template
      int getId()
      Returns the identifier of the template
      java.lang.String getPictureKey()
      Returns the picture of the template
      java.lang.String getResourceId()
      Returns the Resource Type Code that identify the resource type
      java.lang.String getResourceTypeCode()
      Returns the resource Id of the current object
      int getSectionNumber()
      Get the number of sections of this template
      java.lang.String getTopicType()
      Returns the topic type of the template
      java.lang.String getWorkgroup()
      Return the workgroup
      static void init()
      Initialisation method
      void setDescription​(java.lang.String strDescription)
      Sets the description of the template
      void setFileKey​(java.lang.String strFileName)
      Sets the file name of the template
      void setId​(int nId)
      Sets the identifier of the template
      void setPictureKey​(java.lang.String strPicture)
      Sets the picture of the template
      void setSectionNumber​(int nSectionNumber)
      Set the number of sections of this template
      void setTopicType​(java.lang.String strTopicType)
      Sets the topic type of the template
      void setWorkgroup​(java.lang.String strWorkgroup)
      Set the workgroup
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESOURCE_TYPE

        public static final java.lang.String RESOURCE_TYPE
        The resource type key
        See Also:
        Constant Field Values
    • Constructor Detail

      • NewsLetterTemplate

        public NewsLetterTemplate()
    • Method Detail

      • init

        public static void init()
        Initialisation method
      • 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 java.lang.String getTopicType()
        Returns the topic type of the template
        Returns:
        the topic type of the template
      • setTopicType

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

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

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

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

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

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

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

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

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

        public java.lang.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 java.lang.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