|
||||||||||
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.PluginApplicationDAO
public final class PluginApplicationDAO
This class provides Data Access methods for PluginApplication objects
Constructor Summary | |
---|---|
PluginApplicationDAO()
|
Method Summary | |
---|---|
void |
delete(int nPluginApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteDependency(int nIdApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the dependency |
void |
insert(PluginApplication pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
void |
insertDependency(int nIdPlugin,
int nPluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Adds the dependency |
PluginApplication |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the pluginApplication from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.Collection<PluginApplication> |
selectByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of plugin application |
java.util.Collection<PluginApplication> |
selectPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginApplications and returns them as a collection |
void |
store(PluginApplication pluginApplication,
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 PluginApplicationDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
public void insert(PluginApplication pluginApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IPluginApplicationDAO
pluginApplication
- instance of the PluginApplication object to insertplugin
- The pluginpublic void insertDependency(int nIdPlugin, int nPluginApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin
- The id of the pluginnPluginApplication
- The id of the applicationplugin
- The pluginpublic PluginApplication load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IPluginApplicationDAO
nId
- The identifier of the pluginApplicationplugin
- The plugin
public void delete(int nPluginApplicationId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IPluginApplicationDAO
nPluginApplicationId
- The identifier of the pluginApplicationplugin
- The pluginpublic void deleteDependency(int nIdApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdApplication
- The identifier of the applicationplugin
- The pluginpublic void store(PluginApplication pluginApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IPluginApplicationDAO
pluginApplication
- The reference of the pluginApplicationplugin
- The pluginpublic java.util.Collection<PluginApplication> selectPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginApplicationsList
in interface IPluginApplicationDAO
plugin
- The plugin
public java.util.Collection<PluginApplication> selectByPlugin(int nIdPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByPlugin
in interface IPluginApplicationDAO
nIdPlugin
- The id of the generated pluginplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |