Class Display

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Display
    extends java.lang.Object
    implements java.io.Serializable
    Business class of the Form Display
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Display()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.service.image.ImageResource getIcon()
      Get the form icon
      int getIdCalendarTemplate()
      Get the Calendar Template Id
      int getIdDisplay()
      Get the Display Id
      int getIdForm()
      Get the Form Id
      int getNbWeeksToDisplay()
      Get the number of weeks during which the form is displayed to the user
      boolean isDisplayedOnPortlet()
      Get the boolean value for displayed or not the form on the portlet
      boolean isDisplayTitleFo()
      Get the display title value for the front office form
      void setDisplayTitleFo​(boolean bIsDisplayTitleFo)
      Set the display title boolean value
      void setIcon​(fr.paris.lutece.portal.service.image.ImageResource icon)
      Set the form icon
      void setIdCalendarTemplate​(int nIdCalendarTemplate)
      Set the Calendar Template Id
      void setIdDisplay​(int nIdDisplay)
      Set the Display Id
      void setIdForm​(int nIdForm)
      Set the FOrm Id
      void setIsDisplayedOnPortlet​(boolean bIsDisplayedOnPortlet)
      Set the boolean value to display or not the form on the portlet
      void setNbWeeksToDisplay​(int nbWeeksToDisplay)
      Set the number of weeks during which the form is displayed to the user
      • Methods inherited from class java.lang.Object

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

      • Display

        public Display()
    • Method Detail

      • getIdDisplay

        public int getIdDisplay()
        Get the Display Id
        Returns:
        the Display Id
      • setIdDisplay

        public void setIdDisplay​(int nIdDisplay)
        Set the Display Id
        Parameters:
        _nIdDisplay - the Id to set
      • isDisplayTitleFo

        public boolean isDisplayTitleFo()
        Get the display title value for the front office form
        Returns:
        true if the title has to be displayed
      • isDisplayedOnPortlet

        public boolean isDisplayedOnPortlet()
        Get the boolean value for displayed or not the form on the portlet
        Returns:
        true if the form has to be displayed on the portlet
      • setIsDisplayedOnPortlet

        public void setIsDisplayedOnPortlet​(boolean bIsDisplayedOnPortlet)
        Set the boolean value to display or not the form on the portlet
        Parameters:
        bIsDisplayedOnPortlet -
      • setDisplayTitleFo

        public void setDisplayTitleFo​(boolean bIsDisplayTitleFo)
        Set the display title boolean value
        Parameters:
        displayTitleFo - the boolean display title value to set
      • getIcon

        public fr.paris.lutece.portal.service.image.ImageResource getIcon()
        Get the form icon
        Returns:
        the form icon
      • setIcon

        public void setIcon​(fr.paris.lutece.portal.service.image.ImageResource icon)
        Set the form icon
        Parameters:
        icon - the icon to set
      • getNbWeeksToDisplay

        public int getNbWeeksToDisplay()
        Get the number of weeks during which the form is displayed to the user
        Returns:
        the number of weeks
      • setNbWeeksToDisplay

        public void setNbWeeksToDisplay​(int nbWeeksToDisplay)
        Set the number of weeks during which the form is displayed to the user
        Parameters:
        nbWeeksToDisplay - the number of weeks to set
      • getIdCalendarTemplate

        public int getIdCalendarTemplate()
        Get the Calendar Template Id
        Returns:
        the Calendar Template Id
      • setIdCalendarTemplate

        public void setIdCalendarTemplate​(int nIdCalendarTemplate)
        Set the Calendar Template Id
        Parameters:
        nIdCalendarTemplate - the Calendar Template Id to set
      • getIdForm

        public int getIdForm()
        Get the Form Id
        Returns:
        the Form Id
      • setIdForm

        public void setIdForm​(int nIdForm)
        Set the FOrm Id
        Parameters:
        nIdForm - the Form Id to set