Interface IHtmlPageService

All Known Implementing Classes:
HtmlPageService

public interface IHtmlPageService
IHtmlPageService
  • Method Summary

    Modifier and Type
    Method
    Description
    create(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creation of an instance of htmlpage
    Get all enabled html pages from database
    Get enabled html page by id from database
    Get enabled html page by id from the cache if possible, from database otherwise
    Get all enabled html pages from cache if possible, from database otherwise
    void
    remove(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove the Htmlpage whose identifier is specified in parameter
    update(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update of the htmlpage which is specified in parameter
  • Method Details

    • getHtmlPageCache

      HtmlPage getHtmlPageCache(int nId)
      Get enabled html page by id from the cache if possible, from database otherwise
      Parameters:
      nId -
      Returns:
      htmlPage
    • getEnableHtmlPage

      HtmlPage getEnableHtmlPage(int nId)
      Get enabled html page by id from database
      Parameters:
      nId -
      Returns:
      htmlPage
    • getHtmlPageListCache

      List<HtmlPage> getHtmlPageListCache()
      Get all enabled html pages from cache if possible, from database otherwise
      Returns:
      list of htmlpage
    • getEnabledHtmlPageList

      List<HtmlPage> getEnabledHtmlPageList()
      Get all enabled html pages from database
      Returns:
      list of htmlpage
    • create

      HtmlPage create(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of htmlpage
      Parameters:
      htmlpage - The instance of the htmlpage which contains the informations to store
      plugin - The Plugin object
      Returns:
      The instance of htmlpage which has been created with its primary key.
    • update

      HtmlPage update(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update of the htmlpage which is specified in parameter
      Parameters:
      htmlpage - The instance of the htmlpage which contains the data to store
      plugin - The Plugin object
      Returns:
      The instance of the htmlpage which has been updated
    • remove

      void remove(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the Htmlpage whose identifier is specified in parameter
      Parameters:
      htmlpage - The Htmlpage object to remove
      plugin - The Plugin object