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

Method Detail

delete

void delete(int nIdStylesheet)
Delete the StyleSheet from the database whose identifier is specified in parameter

Parameters:
nIdStylesheet - the identifier of the StyleSheet to delete

insert

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

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

load

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

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

selectStyleSheetList

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

Parameters:
nModeId - The Mode identifier
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)
Update the record in the table

Parameters:
stylesheet - The stylesheet to store

insertExtension

void insertExtension(int nId,
                     java.lang.String strExtension)
Insertion of the extension of an export file in the database

Parameters:
strExtension - the extension file

selectExtension

java.lang.String selectExtension(int nId)
Select the extension file related to the export stylesheet

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

updateExtension

void updateExtension(int nId,
                     java.lang.String strExtension)
Update the the extension file whose identifier is specified in parameter

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.