Class TemplateStepDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.modules.template.business.TemplateStepDAO
-
- All Implemented Interfaces:
ITemplateStepDAO
public final class TemplateStepDAO extends Object implements ITemplateStepDAO
This class provides Data Access methods for Step objects
-
-
Constructor Summary
Constructors Constructor Description TemplateStepDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableList<Template>findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load all templatesvoidinsert(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Templateload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidstore(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceITemplateStepDAO- Parameters:
template- instance of the Step object to insertplugin- the Plugin
-
load
public Template load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceITemplateStepDAO- Parameters:
nKey- The identifier of the templateplugin- the Plugin- Returns:
- The instance of the template
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceITemplateStepDAO- Parameters:
nKey- The identifier of the Template to deleteplugin- the Plugin
-
store
public void store(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceITemplateStepDAO- Parameters:
template- the reference of the Templateplugin- the Plugin
-
findAll
public List<Template> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ITemplateStepDAOLoad all templates- Specified by:
findAllin interfaceITemplateStepDAO- Parameters:
plugin- the Plugin- Returns:
- The instance of the template
-
-