Interface IWhatsNew

All Superinterfaces:
fr.paris.lutece.portal.business.XmlContent
All Known Implementing Classes:
WhatsNew, WhatsNewTypeDocument, WhatsNewTypePage, WhatsNewTypePortlet

public interface IWhatsNew extends fr.paris.lutece.portal.business.XmlContent
IWhatsNew
  • Field Summary

    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Build the url of the whatsnew
    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
    Get the HTML code of the moderated elements
    Returns the title of the whatsnew object
    Get the type of the whatsnew
    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 of the whatsnew
    void
    Sets the type of the whatsnew object to the specified String
    void
    Set the whatsnew type
  • Method Details

    • getWhatsNewType

      WhatsNewType getWhatsNewType()
      Returns the type of the whatsnew object
      Returns:
      the type of the whatsnew object
    • getTitle

      String getTitle()
      Returns the title of the whatsnew object
      Returns:
      the title of the whatsnew object
    • getDescription

      String getDescription()
      Returns the description of the whatsnew object
      Returns:
      the description of the whatsnew object
    • getDateUpdate

      Timestamp getDateUpdate()
      Returns the date of the last update of the whatsnew object
      Returns:
      the date of the last update of the whatsnew object
    • setWhatsNewType

      void setWhatsNewType(WhatsNewType whatsNewType)
      Sets the type of the whatsnew object to the specified String
      Parameters:
      whatsNewType - the new type of the whatsnew object
    • setWhatsNewType

      void setWhatsNewType(Locale locale)
      Set the whatsnew type
      Parameters:
      locale - Locale
    • setTitle

      void setTitle(String strTitle)
      Sets the title of the whatsnew object to the specified String
      Parameters:
      strTitle - the new title of the whatsnew object
    • setDescription

      void setDescription(String strDescription)
      Sets the description of the whatsnew object to the specified String
      Parameters:
      strDescription - the new description of the whatsnew object
    • setDateUpdate

      void setDateUpdate(Timestamp date)
      Sets the date of the last update of the whatsnew object
      Parameters:
      date - the date update of the whatsnew object
    • getDocumentId

      int getDocumentId()
      Get the document ID
      Returns:
      Returns the _nDocumentId.
    • setDocumentId

      void setDocumentId(int nDocumentId)
      Set the document ID
      Parameters:
      nDocumentId - The _nDocumentId to set.
    • getPageId

      int getPageId()
      Get the page ID
      Returns:
      Returns the _nPageId.
    • setPageId

      void setPageId(int nPageId)
      Set the page ID
      Parameters:
      nPageId - The _nPageId to set.
    • getPortletId

      int getPortletId()
      Get the portlet ID
      Returns:
      Returns the _nPortletId.
    • setPortletId

      void setPortletId(int nPortletId)
      Set the portlet ID
      Parameters:
      nPortletId - The _nPortletId to set.
    • getType

      String getType()
      Get the type of the whatsnew
      Returns:
      the type of the whatsnew
    • setType

      void setType(String strType)
      Set the type of the whatsnew
      Parameters:
      strType - the type
    • getTemplateModeratedElement

      String getTemplateModeratedElement()
      Get the HTML code of the moderated elements
      Returns:
      HTML code
    • buildUrl

      String buildUrl()
      Build the url of the whatsnew
      Returns:
      the url
    • getXmlDocument

      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 fr.paris.lutece.portal.business.XmlContent
      Parameters:
      request - The HTTP Servlet request
      Returns:
      the Xml document with header
    • getXml

      String getXml(javax.servlet.http.HttpServletRequest request)
      Builds the XML content of this whatsnew object and returns it
      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