public interface IModelDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Model model,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Model |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Model> |
selectModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the model objects and returns them as a List
|
void |
store(Model model,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Model model, fr.paris.lutece.portal.service.plugin.Plugin plugin)
model - instance of the Model object to inssertplugin - the Pluginvoid store(Model model, fr.paris.lutece.portal.service.plugin.Plugin plugin)
model - the reference of the Modelplugin - the Pluginvoid delete(int nIdModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdModel - int identifier of the Model to deleteplugin - the PluginModel load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the keyplugin - the PluginCopyright © 2015 City of Paris. All rights reserved.