fr.paris.lutece.plugins.jsr168.business.portlet
Class Jsr168PortletDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.jsr168.business.portlet.Jsr168PortletDAO
All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class Jsr168PortletDAO
extends java.lang.Object
implements fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

this class provides Data Access methods for HtmlPortlet objects


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.
 fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
          loads the data of portlet from the table
 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
 

Method Detail

insert

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

Specified by:
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the object to be inserted

delete

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

Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - the Jsr 168 Portlet identifier

load

public fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
loads the data of portlet from the table

Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nIdPortlet - The Jsr 168 Portlet identifier
Returns:
the Html Portlet object

store

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

Specified by:
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the instance of Portlet class to be updated


Copyright © 2008 Mairie de Paris. All Rights Reserved.