public final class OptionsDAO extends Object implements IOptionsDAO
| Constructor and Description |
|---|
OptionsDAO() |
| 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(Options options,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Options |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Options |
loadOptionByFieldName(String fieldName,
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> |
selectIdOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the options objects and returns them as a collection
|
Collection<Options> |
selectOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the options objects and returns them as a collection
|
void |
store(Options options,
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(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IOptionsDAOoptions - instance of the Options object to insertplugin - the Pluginpublic Options load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IOptionsDAOnKey - The identifier of the optionsplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IOptionsDAOnKey - The identifier of the Options to deleteplugin - the Pluginpublic void store(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IOptionsDAOoptions - the reference of the Optionsplugin - the Pluginpublic Collection<Options> selectOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectOptionssList in interface IOptionsDAOplugin - the Pluginpublic Collection<Integer> selectIdOptionssList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdOptionssList in interface IOptionsDAOplugin - the Pluginpublic Options loadOptionByFieldName(String fieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadOptionByFieldName in interface IOptionsDAOfieldName - The identifier of the optionsplugin - the PluginCopyright © 2015 City of Paris. All rights reserved.