public final class TemplateStepDAO extends Object implements ITemplateStepDAO
Constructor and Description |
---|
TemplateStepDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Template> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all templates
|
void |
insert(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Template |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
store(Template template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ITemplateStepDAO
template
- instance of the Step object to insertplugin
- the Pluginpublic Template load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ITemplateStepDAO
nKey
- The identifier of the templateplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ITemplateStepDAO
nKey
- The identifier of the Template to deleteplugin
- the Pluginpublic void store(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface ITemplateStepDAO
template
- the reference of the Templateplugin
- the Pluginpublic List<Template> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateStepDAO
findAll
in interface ITemplateStepDAO
plugin
- the PluginCopyright © 2022 City of Paris. All rights reserved.