Class QuicklinksPortletDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.quicklinks.business.portlet.QuicklinksPortletDAO
-
- All Implemented Interfaces:
IQuicklinksPortletDAO,fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
public final class QuicklinksPortletDAO extends Object implements IQuicklinksPortletDAO
This class provides Data Access methods for QuicklinksPortlet objects
-
-
Constructor Summary
Constructors Constructor Description QuicklinksPortletDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nPortletId)Deletes records for a portlet identifier in the table quicklinks_portletvoidinsert(fr.paris.lutece.portal.business.portlet.Portlet portlet)Insert a new record in the table quicklinks_portletfr.paris.lutece.portal.business.portlet.Portletload(int nPortletId)Loads the data of Quicklinks Portlet whose identifier is specified in parameterintselectCountPortletByIdQuicklinks(int nIdQuicklinks)return number of quicklinks portlet who are associate to the id quicklinksvoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table quicklinks_portlet- Specified by:
insertin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Specified by:
insertin interfaceIQuicklinksPortletDAO- Parameters:
portlet- the instance of the Portlet object to insert
-
delete
public void delete(int nPortletId)
Deletes records for a portlet identifier in the table quicklinks_portlet- Specified by:
deletein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Specified by:
deletein interfaceIQuicklinksPortletDAO- Parameters:
nPortletId- the portlet identifier
-
load
public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
Loads the data of Quicklinks Portlet whose identifier is specified in parameter- Specified by:
loadin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Specified by:
loadin interfaceIQuicklinksPortletDAO- Parameters:
nPortletId- The Portlet identifier- Returns:
- theDocumentListPortlet object
-
selectCountPortletByIdQuicklinks
public int selectCountPortletByIdQuicklinks(int nIdQuicklinks)
return number of quicklinks portlet who are associate to the id quicklinks- Specified by:
selectCountPortletByIdQuicklinksin interfaceIQuicklinksPortletDAO- Parameters:
nIdQuicklinks- the id of the quicklinks- Returns:
- number of quicklinks portlet who are associate to the id quicklinks
-
store
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table- Specified by:
storein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Specified by:
storein interfaceIQuicklinksPortletDAO- Parameters:
portlet- A portlet
-
-