Class DemandTypePortletDAO

java.lang.Object
fr.paris.lutece.plugins.crm.business.portlet.DemandTypePortletDAO
All Implemented Interfaces:
IDemandTypePortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class DemandTypePortletDAO extends Object implements IDemandTypePortletDAO
This class provides Data Access methods for DemandTypePortlet objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nPortletId)
    void
    insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
    fr.paris.lutece.portal.business.portlet.Portlet
    load(int nPortletId)
    int
    return number of Demand Type portlet who are associate to the type demand category id
    void
    store(fr.paris.lutece.portal.business.portlet.Portlet portlet)

    Methods inherited from class java.lang.Object

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

    • DemandTypePortletDAO

      public DemandTypePortletDAO()
  • Method Details

    • insert

      public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Specified by:
      insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    • delete

      public void delete(int nPortletId)
      Specified by:
      delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    • load

      public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
      Specified by:
      load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    • selectCountPortletByIdCategory

      public int selectCountPortletByIdCategory(int nIdCategory)
      return number of Demand Type portlet who are associate to the type demand category id
      Specified by:
      selectCountPortletByIdCategory in interface IDemandTypePortletDAO
      Parameters:
      nIdCategory - the type demand category
      Returns:
      number of form portlet who are associate to the id form
    • store

      public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
      Specified by:
      store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO