public final class TemplateEntryDAO extends Object implements ITemplateEntryDAO
Constructor and Description |
---|
TemplateEntryDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
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.
|
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
|
void |
store(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the entry in the table
|
public int insert(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ITemplateEntryDAO
entry
- instance of the Entry object to insertplugin
- the pluginpublic fr.paris.lutece.plugins.genericattributes.business.Entry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ITemplateEntryDAO
nId
- The identifier of the entryplugin
- the pluginpublic void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ITemplateEntryDAO
nIdEntry
- The identifier of the entryplugin
- the pluginpublic void store(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface ITemplateEntryDAO
entry
- instance of the Entry object to updateplugin
- the pluginCopyright © 2022 City of Paris. All rights reserved.