fr.paris.lutece.plugins.jasper.business
Interface IJasperReportDAO

All Known Implementing Classes:
JasperReportDAO

public interface IJasperReportDAO

IJasperReportDAO Interface


Method Summary
 void delete(int nIdJasperReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(JasperReport jasperReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 JasperReport load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 JasperReport load(java.lang.String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 java.util.Collection<JasperReport> selectJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the jasperReport objects and returns them as a collection
 void store(JasperReport jasperReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(JasperReport jasperReport,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
jasperReport - instance of the JasperReport object to inssert
plugin - the Plugin

store

void store(JasperReport jasperReport,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
jasperReport - the reference of the JasperReport
plugin - the Plugin

delete

void delete(int nIdJasperReport,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdJasperReport - int identifier of the JasperReport to delete
plugin - the Plugin

load

JasperReport load(int nKey,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the jasperReport
plugin - the Plugin
Returns:
The instance of the jasperReport

selectJasperReportsList

java.util.Collection<JasperReport> selectJasperReportsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the jasperReport objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the jasperReport objects

load

JasperReport load(java.lang.String strKey,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Parameters:
strKey -
plugin -
Returns:


Copyright © 2012 Mairie de Paris. All Rights Reserved.