public final class CalendarStyleSheetDAO extends Object implements ICalendarStyleSheetDAO
Constructor and Description |
---|
CalendarStyleSheetDAO() |
Modifier and Type | Method and Description |
---|---|
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,
String strExtension,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertExtension(int nId,
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
|
String |
selectExtension(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the extension file related to the export stylesheet
|
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,
String strExtension,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the extension file whose identifier is specified in parameter
|
public void insert(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ICalendarStyleSheetDAO
stylesheet
- The StyleSheet objectstrExtension
- the extensionplugin
- The pluginpublic fr.paris.lutece.portal.business.stylesheet.StyleSheet load(int nIdStylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ICalendarStyleSheetDAO
nIdStylesheet
- the identifier of the Stylesheet to loadplugin
- Pluginpublic void delete(int nIdStylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ICalendarStyleSheetDAO
nIdStylesheet
- the identifier of the StyleSheet to deleteplugin
- Pluginpublic Collection<fr.paris.lutece.portal.business.stylesheet.StyleSheet> selectStyleSheetList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectStyleSheetList
in interface ICalendarStyleSheetDAO
plugin
- Pluginpublic void store(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface ICalendarStyleSheetDAO
stylesheet
- The stylesheetplugin
- Pluginpublic void insertExtension(int nId, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertExtension
in interface ICalendarStyleSheetDAO
nId
- the idstrExtension
- the extension fileplugin
- Pluginpublic String selectExtension(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectExtension
in interface ICalendarStyleSheetDAO
nId
- the identifier of the stylesheetplugin
- Pluginpublic void updateExtension(int nId, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateExtension
in interface ICalendarStyleSheetDAO
nId
- the stylesheet idstrExtension
- the new extension fileplugin
- PluginCopyright © 2015 City of Paris. All rights reserved.