|
||||||||||
| 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.ApplicationDAO
public final class ApplicationDAO
This class provides Data Access methods for PluginApplication objects
| Constructor Summary | |
|---|---|
ApplicationDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPluginApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete applications of a given plugin |
void |
insert(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Application |
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 |
Collection<Application> |
selectByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of plugin application |
Collection<Application> |
selectPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginApplications and returns them as a collection |
void |
store(Application 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 ApplicationDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IApplicationDAOpluginApplication - instance of the PluginApplication object to insertplugin - The plugin
public Application load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IApplicationDAOnId - The identifier of the pluginApplicationplugin - The plugin
public void delete(int nPluginApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IApplicationDAOnPluginApplicationId - The identifier of the pluginApplicationplugin - The plugin
public void deleteByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByPlugin in interface IApplicationDAOnIdPlugin - The identifier of the pluginplugin - The plugin
public void store(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IApplicationDAOpluginApplication - The reference of the pluginApplicationplugin - The pluginpublic Collection<Application> selectPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginApplicationsList in interface IApplicationDAOplugin - The plugin
public Collection<Application> selectByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByPlugin in interface IApplicationDAOnIdPlugin - The id of the generated pluginplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||