public final class CalendarStyleSheetHome extends Object
Modifier and Type | Method and Description |
---|---|
static fr.paris.lutece.portal.business.stylesheet.StyleSheet |
create(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet,
String strExtension,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of a Stylesheet file in the database
|
static fr.paris.lutece.portal.business.stylesheet.StyleSheet |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a stylesheet file whose identifier is specified in
parameter
|
static String |
getExtension(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the extension file related to the export stylesheet
|
static Collection<fr.paris.lutece.portal.business.stylesheet.StyleSheet> |
getStyleSheetList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of StyleSheet objet
|
static 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
|
static void |
remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the StylesSheet whose identifier is specified in parameter
|
static void |
update(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the StylesSheet whose identifier is specified in parameter
|
static 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 static fr.paris.lutece.portal.business.stylesheet.StyleSheet create(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
stylesheet
- An instance of a stylesheet which contains the
informations to storestrExtension
- The extension of files generated with the stylesheetplugin
- Pluginpublic static void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- the identifier of the stylesheet to deleteplugin
- Pluginpublic static void update(fr.paris.lutece.portal.business.stylesheet.StyleSheet stylesheet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
stylesheet
- the stylesheet to updateplugin
- Pluginpublic static fr.paris.lutece.portal.business.stylesheet.StyleSheet findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- the stylesheet primary keyplugin
- Pluginpublic static Collection<fr.paris.lutece.portal.business.stylesheet.StyleSheet> getStyleSheetList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Pluginpublic static void insertExtension(int nId, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- The idstrExtension
- the extension fileplugin
- Pluginpublic static String getExtension(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- the identifier of the stylesheetplugin
- Pluginpublic static void updateExtension(int nId, String strExtension, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- the stylesheet idstrExtension
- the new extension fileplugin
- PluginCopyright © 2015 City of Paris. All rights reserved.