fr.paris.lutece.plugins.mytasks.business.portlet
Class MyTasksPortletDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.mytasks.business.portlet.MyTasksPortletDAO
All Implemented Interfaces:
IMyTasksPortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class MyTasksPortletDAO
extends java.lang.Object
implements IMyTasksPortletDAO

MyTasksPortletDAO


Constructor Summary
MyTasksPortletDAO()
           
 
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 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

MyTasksPortletDAO

public MyTasksPortletDAO()
Method Detail

insert

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

Specified by:
insert in interface IMyTasksPortletDAO
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 IMyTasksPortletDAO
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 IMyTasksPortletDAO
Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The Portlet identifier
Returns:
the object

store

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

Specified by:
store in interface IMyTasksPortletDAO
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.