fr.paris.lutece.plugins.myapps.business.portlet
Class MyAppsPortletDAO

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

public final class MyAppsPortletDAO
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 nPortletId)
          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)
            throws fr.paris.lutece.portal.service.util.AppException
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
Throws:
fr.paris.lutece.portal.service.util.AppException

delete

public void delete(int nPortletId)
            throws fr.paris.lutece.portal.service.util.AppException
Delete a record from the table

Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - the Html Portlet identifier
Throws:
fr.paris.lutece.portal.service.util.AppException

load

public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
                                                     throws fr.paris.lutece.portal.service.util.AppException
loads the data of portlet from the table

Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The Html Portlet identifier
Returns:
the Html Portlet object
Throws:
fr.paris.lutece.portal.service.util.AppException

store

public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
           throws fr.paris.lutece.portal.service.util.AppException
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
Throws:
fr.paris.lutece.portal.service.util.AppException


Copyright © 2007 Mairie de Paris. All Rights Reserved.