Class TemplateEntryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.modules.template.business.TemplateEntryDAO
-
- All Implemented Interfaces:
ITemplateEntryDAO
public final class TemplateEntryDAO extends Object implements ITemplateEntryDAO
This class provides Data Access methods for Entry objects
-
-
Constructor Summary
Constructors Constructor Description TemplateEntryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableintinsert(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.fr.paris.lutece.plugins.genericattributes.business.Entryload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the entry from the tablevoidstore(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the entry in the table
-
-
-
Method Detail
-
insert
public int insert(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.- Specified by:
insertin interfaceITemplateEntryDAO- Parameters:
entry- instance of the Entry object to insertplugin- the plugin- Returns:
- the id of the new entry
-
load
public fr.paris.lutece.plugins.genericattributes.business.Entry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the entry from the table- Specified by:
loadin interfaceITemplateEntryDAO- Parameters:
nId- The identifier of the entryplugin- the plugin- Returns:
- the instance of the Entry
-
delete
public void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceITemplateEntryDAO- Parameters:
nIdEntry- The identifier of the entryplugin- the plugin
-
store
public void store(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the entry in the table- Specified by:
storein interfaceITemplateEntryDAO- Parameters:
entry- instance of the Entry object to updateplugin- the plugin
-
-