java.lang.Object
fr.paris.lutece.plugins.whatsnew.business.WhatsNew
All Implemented Interfaces:
IWhatsNew, fr.paris.lutece.portal.business.XmlContent
Direct Known Subclasses:
WhatsNewTypeDocument, WhatsNewTypePage, WhatsNewTypePortlet

public abstract class WhatsNew extends Object implements IWhatsNew
WhatsNew
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface fr.paris.lutece.portal.business.XmlContent

    TAG_CHILD_PAGES_LIST, TAG_CURRENT_PAGE_ID, TAG_DISPLAY_ON_LARGE_DEVICE, TAG_DISPLAY_ON_NORMAL_DEVICE, TAG_DISPLAY_ON_SMALL_DEVICE, TAG_DISPLAY_ON_XLARGE_DEVICE, TAG_DISPLAY_PORTLET_TITLE, TAG_MENU, TAG_MENU_INDEX, TAG_MENU_LIST, TAG_MODE, TAG_PAGE, TAG_PAGE_DESCRIPTION, TAG_PAGE_ID, TAG_PAGE_IMAGE, TAG_PAGE_LEVEL, TAG_PAGE_NAME, TAG_PARENT_PAGE_ID, TAG_PLUGIN_NAME, TAG_PORTLET, TAG_PORTLET_ID, TAG_PORTLET_NAME, TAG_SUBLEVEL_INDEX, TAG_SUBLEVEL_MENU, TAG_SUBLEVEL_MENU_LIST
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new WhatsNew object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the date of the last update of the whatsnew object
    Returns the description of the whatsnew object
    int
    Get the document ID
    int
    Get the page ID
    int
    Get the portlet ID
    Returns the title of the whatsnew object
    Get the type
    Returns the type of the whatsnew object
    getXml(javax.servlet.http.HttpServletRequest request)
    Builds the XML content of this whatsnew object and returns it
    getXmlDocument(javax.servlet.http.HttpServletRequest request)
    Adds the XML header to the XML content of this whatsnew object and returns it
    void
    Sets the date of the last update of the whatsnew object
    void
    setDescription(String strDescription)
    Sets the description of the whatsnew object to the specified String
    void
    setDocumentId(int nDocumentId)
    Set the document ID
    void
    setPageId(int nPageId)
    Set the page ID
    void
    setPortletId(int nPortletId)
    Set the portlet ID
    void
    setTitle(String strTitle)
    Sets the title of the whatsnew object to the specified String
    void
    setType(String strType)
    Set the type
    void
    Sets the type of the whatsnew object to the specified String

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.plugins.whatsnew.business.IWhatsNew

    buildUrl, getTemplateModeratedElement, setWhatsNewType
  • Field Details

  • Constructor Details

    • WhatsNew

      public WhatsNew()
      Creates a new WhatsNew object.
  • Method Details

    • getWhatsNewType

      public WhatsNewType getWhatsNewType()
      Returns the type of the whatsnew object
      Specified by:
      getWhatsNewType in interface IWhatsNew
      Returns:
      the type of the whatsnew object
    • getTitle

      public String getTitle()
      Returns the title of the whatsnew object
      Specified by:
      getTitle in interface IWhatsNew
      Returns:
      the title of the whatsnew object
    • getDescription

      public String getDescription()
      Returns the description of the whatsnew object
      Specified by:
      getDescription in interface IWhatsNew
      Returns:
      the description of the whatsnew object
    • getDateUpdate

      public Timestamp getDateUpdate()
      Returns the date of the last update of the whatsnew object
      Specified by:
      getDateUpdate in interface IWhatsNew
      Returns:
      the date of the last update of the whatsnew object
    • setWhatsNewType

      public void setWhatsNewType(WhatsNewType whatsNewType)
      Sets the type of the whatsnew object to the specified String
      Specified by:
      setWhatsNewType in interface IWhatsNew
      Parameters:
      whatsNewType - the new type of the whatsnew object
    • setTitle

      public void setTitle(String strTitle)
      Sets the title of the whatsnew object to the specified String
      Specified by:
      setTitle in interface IWhatsNew
      Parameters:
      strTitle - the new title of the whatsnew object
    • setDescription

      public void setDescription(String strDescription)
      Sets the description of the whatsnew object to the specified String
      Specified by:
      setDescription in interface IWhatsNew
      Parameters:
      strDescription - the new description of the whatsnew object
    • setDateUpdate

      public void setDateUpdate(Timestamp date)
      Sets the date of the last update of the whatsnew object
      Specified by:
      setDateUpdate in interface IWhatsNew
      Parameters:
      date - the date update of the whatsnew object
    • getDocumentId

      public int getDocumentId()
      Get the document ID
      Specified by:
      getDocumentId in interface IWhatsNew
      Returns:
      Returns the _nDocumentId.
    • setDocumentId

      public void setDocumentId(int nDocumentId)
      Set the document ID
      Specified by:
      setDocumentId in interface IWhatsNew
      Parameters:
      nDocumentId - The _nDocumentId to set.
    • getPageId

      public int getPageId()
      Get the page ID
      Specified by:
      getPageId in interface IWhatsNew
      Returns:
      Returns the _nPageId.
    • setPageId

      public void setPageId(int nPageId)
      Set the page ID
      Specified by:
      setPageId in interface IWhatsNew
      Parameters:
      nPageId - The _nPageId to set.
    • getPortletId

      public int getPortletId()
      Get the portlet ID
      Specified by:
      getPortletId in interface IWhatsNew
      Returns:
      Returns the _nPortletId.
    • setPortletId

      public void setPortletId(int nPortletId)
      Set the portlet ID
      Specified by:
      setPortletId in interface IWhatsNew
      Parameters:
      nPortletId - The _nPortletId to set.
    • getType

      public String getType()
      Get the type
      Specified by:
      getType in interface IWhatsNew
      Returns:
      the type
    • setType

      public void setType(String strType)
      Set the type
      Specified by:
      setType in interface IWhatsNew
      Parameters:
      strType - the type
    • getXmlDocument

      public String getXmlDocument(javax.servlet.http.HttpServletRequest request)
      Adds the XML header to the XML content of this whatsnew object and returns it
      Specified by:
      getXmlDocument in interface IWhatsNew
      Specified by:
      getXmlDocument in interface fr.paris.lutece.portal.business.XmlContent
      Parameters:
      request - The HTTP Servlet request
      Returns:
      the Xml document with header
    • getXml

      public String getXml(javax.servlet.http.HttpServletRequest request)
      Builds the XML content of this whatsnew object and returns it
      Specified by:
      getXml in interface IWhatsNew
      Specified by:
      getXml in interface fr.paris.lutece.portal.business.XmlContent
      Parameters:
      request - The HTTP Servlet request
      Returns:
      the Xml content of this whatsnew object