Class HtmlPortletDAO

java.lang.Object
fr.paris.lutece.plugins.html.business.portlet.HtmlPortletDAO
All Implemented Interfaces:
IHtmlPortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

@ApplicationScoped public class HtmlPortletDAO extends Object implements IHtmlPortletDAO
this class provides Data Access methods for HtmlPortlet objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nPortletId)
    Delete record from table
    void
    insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
    Insert a new record in the table.
    fr.paris.lutece.portal.business.portlet.Portlet
    load(int nIdPortlet)
    load the data of the portlet from the table
    void
    store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
    Update the record in the table

    Methods inherited from class java.lang.Object

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

    • HtmlPortletDAO

      public HtmlPortletDAO()
  • Method Details

    • insert

      public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Insert a new record in the table.
      Specified by:
      insert in interface IHtmlPortletDAO
      Specified by:
      insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
      Parameters:
      portlet - The Instance of the Portlet
    • delete

      public void delete(int nPortletId)
      Delete record from table
      Specified by:
      delete in interface IHtmlPortletDAO
      Specified by:
      delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
      Parameters:
      nPortletId - The indentifier of the Portlet
    • store

      public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Update the record in the table
      Specified by:
      store in interface IHtmlPortletDAO
      Specified by:
      store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
      Parameters:
      portlet - The reference of the portlet
    • load

      public fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
      load the data of the portlet from the table
      Specified by:
      load in interface IHtmlPortletDAO
      Specified by:
      load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
      Parameters:
      nIdPortlet - The indentifier of the portlet
      Returns:
      portlet The instance of the object portlet