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

All Known Implementing Classes:
PluginApplicationDAO

public interface IPluginApplicationDAO

IPluginApplicationDAO Interface


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

Method Detail

insert

void insert(PluginApplication 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(PluginApplication 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

PluginApplication 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

java.util.Collection<PluginApplication> 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

java.util.Collection<PluginApplication> 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


Copyright © 2012 Mairie de Paris. All Rights Reserved.