fr.paris.lutece.plugins.calendar.business.stylesheet
Interface ICalendarStyleSheetDAO

All Known Implementing Classes:
CalendarStyleSheetDAO

public interface ICalendarStyleSheetDAO

Author:
LEVY

Method Summary
 void delete(int nIdStylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the StyleSheet from the database whose identifier is specified in parameter
 void insert(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, java.lang.String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 void insertExtension(int nId, java.lang.String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insertion of the extension of an export file in the database
 fr.paris.lutece.portal.business.stylesheet.StyleSheet load(int nIdStylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of Stylesheet from the table
 java.lang.String selectExtension(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select the extension file related to the export stylesheet
 java.util.Collection<fr.paris.lutece.portal.business.stylesheet.StyleSheet> selectStyleSheetList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of stylesheet
 void store(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 void updateExtension(int nId, java.lang.String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the the extension file whose identifier is specified in parameter
 

Method Detail

delete

void delete(int nIdStylesheet,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the StyleSheet from the database whose identifier is specified in parameter

Parameters:
nIdStylesheet - the identifier of the StyleSheet to delete
plugin - Plugin

insert

void insert(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet,
            java.lang.String strExtension,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
stylesheet - The StyleSheet object
strExtension - the export file extension
plugin - Plugin

load

fr.paris.lutece.portal.business.stylesheet.StyleSheet load(int nIdStylesheet,
                                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Stylesheet from the table

Parameters:
nIdStylesheet - the identifier of the Stylesheet to load
plugin - Plugin
Returns:
stylesheet

selectStyleSheetList

java.util.Collection<fr.paris.lutece.portal.business.stylesheet.StyleSheet> selectStyleSheetList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of stylesheet

Parameters:
nModeId - The Mode identifier
plugin - Plugin
Returns:
the list of the StyleSheet in form of a collection of StyleSheet objects

store

void store(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
stylesheet - The stylesheet to store
plugin - Plugin

insertExtension

void insertExtension(int nId,
                     java.lang.String strExtension,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insertion of the extension of an export file in the database

Parameters:
strExtension - the extension file
plugin - Plugin

selectExtension

java.lang.String selectExtension(int nId,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the extension file related to the export stylesheet

Parameters:
nId - the identifier of the stylesheet
plugin - Plugin
Returns:
the extension file

updateExtension

void updateExtension(int nId,
                     java.lang.String strExtension,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the extension file whose identifier is specified in parameter

Parameters:
nId - the stylesheet id
strExtension - the new extension file
plugin - Plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.