Interface IFormPortletDAO

  • All Superinterfaces:
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    All Known Implementing Classes:
    FormPortletDAO

    public interface IFormPortletDAO
    extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    IFormPortletDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nPortletId)
      Deletes records for a portlet identifier in the table form_portlet
      void insert​(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Insert a new record in the table form_portlet
      fr.paris.lutece.portal.business.portlet.Portlet load​(int nPortletId)
      Loads the data of Form Portlet whose identifier is specified in parameter
      int selectCountPortletByIdForm​(int nIdForm)
      return number of form portlet who are associate to the id form
      void store​(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Update the record in the table
    • Method Detail

      • delete

        void delete​(int nPortletId)
        Deletes records for a portlet identifier in the table form_portlet
        Specified by:
        delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
        Parameters:
        nPortletId - the portlet identifier
      • insert

        void insert​(fr.paris.lutece.portal.business.portlet.Portlet portlet)
        Insert a new record in the table form_portlet
        Specified by:
        insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
        Parameters:
        portlet - the instance of the Portlet object to insert
      • load

        fr.paris.lutece.portal.business.portlet.Portlet load​(int nPortletId)
        Loads the data of Form Portlet whose identifier is specified in parameter
        Specified by:
        load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
        Parameters:
        nPortletId - The Portlet identifier
        Returns:
        theDocumentListPortlet object
      • selectCountPortletByIdForm

        int selectCountPortletByIdForm​(int nIdForm)
        return number of form portlet who are associate to the id form
        Parameters:
        nIdForm - the id of the form
        Returns:
        number of form portlet who are associate to the id form
      • store

        void store​(fr.paris.lutece.portal.business.portlet.Portlet portlet)
        Update the record in the table
        Specified by:
        store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
        Parameters:
        portlet - A portlet