fr.paris.lutece.plugins.mylutece.modules.notification.business.portlet
Class NotificationListPortletDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.notification.business.portlet.NotificationListPortletDAO
All Implemented Interfaces:
INotificationListPortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class NotificationListPortletDAO
extends java.lang.Object
implements INotificationListPortletDAO

NotificationPortletDAO


Constructor Summary
NotificationListPortletDAO()
           
 
Method Summary
 void delete(int nPortletId)
          Delete a record from the table
 void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Insert a new record in the table Notification_portlet
 fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
          Loads the data of What's new Portlet whose identifier is specified in parameter
 void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Update the record in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationListPortletDAO

public NotificationListPortletDAO()
Method Detail

insert

public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table Notification_portlet

Specified by:
insert in interface INotificationListPortletDAO
Specified by:
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the instance of the Portlet object to insert

delete

public void delete(int nPortletId)
Delete a record from the table

Specified by:
delete in interface INotificationListPortletDAO
Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The identifier of the portlet

load

public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
Loads the data of What's new Portlet whose identifier is specified in parameter

Specified by:
load in interface INotificationListPortletDAO
Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The Portlet identifier
Returns:
the Notification object

store

public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table

Specified by:
store in interface INotificationListPortletDAO
Specified by:
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - The instance of the object portlet


Copyright © 2011 Mairie de Paris. All Rights Reserved.