public interface ITemplateDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Template |
load(String strMediaType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Template> |
selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Template objects and returns them as a List
|
void |
store(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
template
- instance of the Template object to insertplugin
- the Pluginvoid store(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
template
- the reference of the Templateplugin
- the Pluginvoid delete(int nIdTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTemplate
- int identifier of the Template to deleteplugin
- the PluginTemplate load(String strMediaType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strMediaType
- The type of the Templateplugin
- the PluginCopyright © 2018 City of Paris. All rights reserved.