|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.model.PluginModelDAO
public final class PluginModelDAO
This class provides Data Access methods for PluginModel objects
| Constructor Summary | |
|---|---|
PluginModelDAO()
|
|
| Method Summary | |
|---|---|
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(java.lang.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,
java.lang.String strPluginName)
Returns the identifier of the generated plugin |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginModelDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(PluginModel pluginModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPluginModelDAOpluginModel - instance of the PluginModel object to insertplugin - The plugin
public PluginModel load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPluginModelDAOnId - The identifier of the pluginModelplugin - The plugin
public void delete(int nPluginModelId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPluginModelDAOnPluginModelId - The identifier of the pluginModelplugin - The plugin
public void store(PluginModel pluginModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPluginModelDAOpluginModel - The reference of the pluginModelplugin - The pluginpublic java.util.Collection<PluginModel> selectPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginModelsList in interface IPluginModelDAOplugin - The plugin
public int selectPluginModelByName(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPluginName)
selectPluginModelByName in interface IPluginModelDAOplugin - The PluginstrPluginName - The name of the generated plugin
public boolean pluginExists(java.lang.String strPluginName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginExists in interface IPluginModelDAOstrPluginName - The name given to the pluginplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||