public final class ParameterDAO extends Object implements IParameterDAO
| Constructor and Description |
|---|
ParameterDAO() |
| 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(Parameter parameter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Collection<Parameter> |
load(int nidReport,
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> |
selectIdParametersList(int nidReport,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the parameter objects and returns them as a collection
|
Collection<Parameter> |
selectParametersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the parameter objects and returns them as a collection
|
void |
store(Parameter parameter,
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(Parameter parameter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IParameterDAOparameter - instance of the Parameter object to insertplugin - the Pluginpublic Collection<Parameter> load(int nidReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IParameterDAOnidReport - The identifier of the parameterplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IParameterDAOnKey - The identifier of the Parameter to deleteplugin - the Pluginpublic void store(Parameter parameter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IParameterDAOparameter - the reference of the Parameterplugin - the Pluginpublic Collection<Parameter> selectParametersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectParametersList in interface IParameterDAOplugin - the Pluginpublic Collection<Integer> selectIdParametersList(int nidReport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdParametersList in interface IParameterDAOplugin - the PluginCopyright © 2016 City of Paris. All rights reserved.