fr.paris.lutece.plugins.jasper.business.portlet
Interface IJasperPortletDAO

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

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


Method Summary
 boolean checkNoPortletLinked(int nIdJasperFeed)
          Checks if a feed is linked to a portlet
 void delete(int nPortletId)
          Deletes record from table
 void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Inserts a new record in the table.
 fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
          Loads the data of dbpagePortlet from the table
 void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Updates the record in the table
 

Method Detail

delete

void delete(int nPortletId)
Deletes 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)
Inserts 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)
Loads the data of dbpagePortlet from the table

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

store

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

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

checkNoPortletLinked

boolean checkNoPortletLinked(int nIdJasperFeed)
Checks if a feed is linked to a portlet

Parameters:
nIdJasperFeed - The identifier of the Jasper feed
Returns:
A boolean


Copyright © 2012 Mairie de Paris. All Rights Reserved.