Class DemandTypePortletDAO
java.lang.Object
fr.paris.lutece.plugins.crm.business.portlet.DemandTypePortletDAO
- All Implemented Interfaces:
IDemandTypePortletDAO,fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
This class provides Data Access methods for DemandTypePortlet objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nPortletId) voidinsert(fr.paris.lutece.portal.business.portlet.Portlet portlet) fr.paris.lutece.portal.business.portlet.Portletload(int nPortletId) intselectCountPortletByIdCategory(int nIdCategory) return number of Demand Type portlet who are associate to the type demand category idvoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet)
-
Constructor Details
-
DemandTypePortletDAO
public DemandTypePortletDAO()
-
-
Method Details
-
insert
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet) - Specified by:
insertin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
-
delete
public void delete(int nPortletId) - Specified by:
deletein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
-
load
public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId) - Specified by:
loadin interfacefr.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:
selectCountPortletByIdCategoryin interfaceIDemandTypePortletDAO- 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:
storein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
-