public final class MappingEntryDAO extends Object implements IMappingEntryDAO
Constructor and Description |
---|
MappingEntryDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(MappingEntry mappingEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
MappingEntry |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Integer> |
selectIdMappingEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the mappingEntry objects and returns them as a collection
|
Collection<MappingEntry> |
selectMappingEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the mappingEntry objects and returns them as a collection
|
void |
store(MappingEntry mappingEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(MappingEntry mappingEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IMappingEntryDAO
mappingEntry
- instance of the MappingEntry object to insertplugin
- the Pluginpublic MappingEntry load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IMappingEntryDAO
nKey
- The identifier of the mappingEntryplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IMappingEntryDAO
nKey
- The identifier of the MappingEntry to deleteplugin
- the Pluginpublic void store(MappingEntry mappingEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IMappingEntryDAO
mappingEntry
- the reference of the MappingEntryplugin
- the Pluginpublic Collection<MappingEntry> selectMappingEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMappingEntrysList
in interface IMappingEntryDAO
plugin
- the Pluginpublic Collection<Integer> selectIdMappingEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdMappingEntrysList
in interface IMappingEntryDAO
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.