public final class ExtrasAttributesDAO extends Object implements IExtrasAttributesDAO
Constructor and Description |
---|
ExtrasAttributesDAO() |
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(ExtrasAttributes extrasAttributes,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ExtrasAttributes |
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
|
List<ExtrasAttributes> |
selectExtrasAttributessList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the extrasAttributes objects and returns them as a collection
|
List<Integer> |
selectIdExtrasAttributessList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the extrasAttributes objects and returns them as a collection
|
void |
store(ExtrasAttributes extrasAttributes,
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(ExtrasAttributes extrasAttributes, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IExtrasAttributesDAO
extrasAttributes
- instance of the ExtrasAttributes object to insertplugin
- the Pluginpublic ExtrasAttributes load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IExtrasAttributesDAO
nKey
- The identifier of the extrasAttributesplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IExtrasAttributesDAO
nKey
- The identifier of the ExtrasAttributes to deleteplugin
- the Pluginpublic void store(ExtrasAttributes extrasAttributes, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IExtrasAttributesDAO
extrasAttributes
- the reference of the ExtrasAttributesplugin
- the Pluginpublic List<ExtrasAttributes> selectExtrasAttributessList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectExtrasAttributessList
in interface IExtrasAttributesDAO
plugin
- the Pluginpublic List<Integer> selectIdExtrasAttributessList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdExtrasAttributessList
in interface IExtrasAttributesDAO
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.