fr.paris.lutece.plugins.pluginwizard.business.model
Interface IApplicationDAO

All Known Implementing Classes:
ApplicationDAO

public interface IApplicationDAO

IPluginApplicationDAO Interface


Method Summary
 void delete(int nIdPluginApplication, 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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<Application> selectByPlugin(int nKey, 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 pluginApplication objects and returns them as a collection
 void store(Application pluginApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(Application pluginApplication,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
pluginApplication - instance of the PluginApplication object to inssert
plugin - the Plugin

store

void store(Application pluginApplication,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
pluginApplication - the reference of the PluginApplication
plugin - the Plugin

delete

void delete(int nIdPluginApplication,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdPluginApplication - int identifier of the PluginApplication to delete
plugin - the Plugin

load

Application load(int nKey,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the plugin application
plugin - the Plugin
Returns:
The instance of the pluginApplication

selectPluginApplicationsList

Collection<Application> selectPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginApplication objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the pluginApplication objects

selectByPlugin

Collection<Application> selectByPlugin(int nKey,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of plugin application

Parameters:
nKey - The identifier of the generated plugin
plugin - The Plugin
Returns:
A collection of plugin applications

deleteByPlugin

void deleteByPlugin(int nIdPlugin,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete applications of a given plugin

Parameters:
nIdPlugin - The identifier of the plugin
plugin - The plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.