fr.paris.lutece.plugins.dbpage.business.portlet
Interface IDbPagePortletDAO

All Superinterfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
All Known Implementing Classes:
DbPagePortletDAO

public interface IDbPagePortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

Author:
lenaini

Method Summary
 boolean checkNoDbPagePortlet(java.lang.String strDbPageId)
          Checks whether the dbPage is registered in a Portlet
 void delete(int nPortletId)
          Delete record from 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)
          load the data of dbpagePortlet from the table
 void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Update the record in the table
 

Method Detail

checkNoDbPagePortlet

boolean checkNoDbPagePortlet(java.lang.String strDbPageId)
Checks whether the dbPage is registered in a Portlet

Parameters:
strDbPageId - The identifier of the DbPage
Returns:
The boolean result

delete

void delete(int nPortletId)
Delete record from table

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

insert

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 Instance of the Portlet

load

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

Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nIdPortlet - The indentifier of the portlet
Returns:
portlet The instance of the object portlet

store

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 reference of the portlet


Copyright © 2010 Mairie de Paris. All Rights Reserved.