Class NewsLetterArchiveService


  • public final class NewsLetterArchiveService
    extends java.lang.Object
    The service that renders the archived newsletters
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NewsLetterArchiveService getInstance()
      Fetches the instance of the class
      java.lang.String getShowArchivePage​(javax.servlet.http.HttpServletRequest request)
      Returns the Newsletter archive XPage content depending on the request parameters and the current mode.
      • Methods inherited from class java.lang.Object

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

      • getInstance

        public static NewsLetterArchiveService getInstance()
        Fetches the instance of the class
        Returns:
        The singleton
      • getShowArchivePage

        public java.lang.String getShowArchivePage​(javax.servlet.http.HttpServletRequest request)
                                            throws fr.paris.lutece.portal.service.message.SiteMessageException
        Returns the Newsletter archive XPage content depending on the request parameters and the current mode.
        Parameters:
        request - The HTTP request.
        Returns:
        The page content.
        Throws:
        fr.paris.lutece.portal.service.message.SiteMessageException - If parameters are not correct