public final class PluginModelDAO extends Object implements IPluginModelDAO
| Constructor and Description | 
|---|
| PluginModelDAO() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | delete(int nPluginModelId,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table | 
| void | insert(PluginModel pluginModel,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table. | 
| PluginModel | load(int nId,
    fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the pluginModel from the table | 
| int | newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)Generates a new primary key | 
| boolean | pluginExists(String strPluginName,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)Verifies whether the plugin exists | 
| int | selectPluginModelByName(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                       String strPluginName)Returns the identifier of the generated plugin | 
| Collection<PluginModel> | selectPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the pluginModels and returns them as a collection | 
| void | store(PluginModel pluginModel,
     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(PluginModel pluginModel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPluginModelDAOpluginModel - instance of the PluginModel object to insertplugin - The pluginpublic PluginModel load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPluginModelDAOnId - The identifier of the pluginModelplugin - The pluginpublic void delete(int nPluginModelId,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPluginModelDAOnPluginModelId - The identifier of the pluginModelplugin - The pluginpublic void store(PluginModel pluginModel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPluginModelDAOpluginModel - The reference of the pluginModelplugin - The pluginpublic Collection<PluginModel> selectPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginModelsList in interface IPluginModelDAOplugin - The pluginpublic int selectPluginModelByName(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                   String strPluginName)
selectPluginModelByName in interface IPluginModelDAOplugin - The PluginstrPluginName - The name of the generated pluginpublic boolean pluginExists(String strPluginName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginExists in interface IPluginModelDAOstrPluginName - The name given to the pluginplugin - The pluginCopyright © 2020 City of Paris. All rights reserved.