Class HtmlPage

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

    public class HtmlPage
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
    This class represents business object HtmlPage
    Author:
    lenaini
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESOURCE_TYPE  
      static java.lang.String ROLE_NONE  
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlPage()
      Creates a new instance of HtmlPage
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Timestamp getDateEnd()  
      java.sql.Timestamp getDateStart()  
      java.lang.String getDescription()
      Returns the description of this htmlpage.
      java.lang.String getHtmlContent()
      Returns the htmlcontent of this htmlpage.
      int getId()
      Returns the identifier of this htmlpage.
      java.lang.String getRole()
      Gets the contactList role
      int getStatus()
      Returns the status of this htmlpage.
      java.lang.String getWorkgroup()
      Returns the workgroup
      java.lang.String getWorkgroupKey()
      Return the WorkgroupKey Contact Label
      static void init()
      Initialize the HtmlPageList
      boolean isEnabled()  
      void setDateEnd​(java.sql.Timestamp dateEnd)  
      void setDateStart​(java.sql.Timestamp dateStart)  
      void setDescription​(java.lang.String strDescription)
      Sets the description of the htmlpage to the specified string.
      void setHtmlContent​(java.lang.String strHtmlContent)
      Sets the htmlcontent of the htmlpage to the specified string.
      void setId​(int nId)
      Sets the identifier of the htmlpage to the specified integer.
      void setRole​(java.lang.String strRole)
      allows the contact List to be saw by a role
      void setStatus​(int nStatus)
      Sets the description of the htmlpage to the specified string.
      void setWorkgroup​(java.lang.String strAdminWorkgroup)
      Sets the workgroup
      void setWorkgroupKey​(java.lang.String strWorkgroupKey)
      Sets the description of the Contact with the specified String
      • Methods inherited from class java.lang.Object

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

      • HtmlPage

        public HtmlPage()
        Creates a new instance of HtmlPage
    • Method Detail

      • init

        public static void init()
        Initialize the HtmlPageList
      • getId

        public int getId()
        Returns the identifier of this htmlpage.
        Returns:
        the htmlpage identifier
      • setId

        public void setId​(int nId)
        Sets the identifier of the htmlpage to the specified integer.
        Parameters:
        nId - the new identifier
      • getDescription

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

        public void setDescription​(java.lang.String strDescription)
        Sets the description of the htmlpage to the specified string.
        Parameters:
        strDescription - the new description
      • getHtmlContent

        public java.lang.String getHtmlContent()
        Returns the htmlcontent of this htmlpage.
        Returns:
        the htmlpage htmlcontent
      • setHtmlContent

        public void setHtmlContent​(java.lang.String strHtmlContent)
        Sets the htmlcontent of the htmlpage to the specified string.
        Parameters:
        strHtmlContent - the new htmlcontent
      • getStatus

        public int getStatus()
        Returns the status of this htmlpage.
        Returns:
        the htmlpage status
      • setStatus

        public void setStatus​(int nStatus)
        Sets the description of the htmlpage to the specified string.
        Parameters:
        strDescription - the new description
      • getRole

        public java.lang.String getRole()
        Gets the contactList role
        Returns:
        contactList's role as a String
        Since:
        v1.1
      • setRole

        public void setRole​(java.lang.String strRole)
        allows the contact List to be saw by a role
        Parameters:
        strRole - The role that can see the contact list
      • getWorkgroupKey

        public java.lang.String getWorkgroupKey()
        Return the WorkgroupKey Contact Label
        Returns:
        The label of the selected Workgroup Key
      • setWorkgroupKey

        public void setWorkgroupKey​(java.lang.String strWorkgroupKey)
        Sets the description of the Contact with the specified String
        Parameters:
        strWorkgroupKey - The workgroup key
      • getWorkgroup

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

        public void setWorkgroup​(java.lang.String strAdminWorkgroup)
        Sets the workgroup
        Parameters:
        strAdminWorkgroup - The workgroup
      • isEnabled

        public boolean isEnabled()
      • getDateStart

        public java.sql.Timestamp getDateStart()
        Returns:
        the _dateStart
      • setDateStart

        public void setDateStart​(java.sql.Timestamp dateStart)
        Parameters:
        dateStart - the _dateStart to set
      • getDateEnd

        public java.sql.Timestamp getDateEnd()
        Returns:
        the _dateEnd
      • setDateEnd

        public void setDateEnd​(java.sql.Timestamp dateEnd)
        Parameters:
        dateEnd - the _dateEnd to set