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

All Known Implementing Classes:
PluginPortletDAO

public interface IPluginPortletDAO

IPluginPortletDAO Interface


Method Summary
 void delete(int nIdPluginPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(PluginPortlet pluginPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 PluginPortlet load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.util.Collection<PluginPortlet> selectPluginPortletsList(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          A collection of portlets related to the generated plugin
 java.util.Collection<PluginPortlet> selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the pluginPortlet objects and returns them as a collection
 void store(PluginPortlet pluginPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
pluginPortlet - instance of the PluginPortlet object to inssert
plugin - the Plugin

store

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

Parameters:
pluginPortlet - the reference of the PluginPortlet
plugin - the Plugin

delete

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

Parameters:
nIdPluginPortlet - int identifier of the PluginPortlet to delete
plugin - the Plugin

load

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

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

selectPluginPortletsList

java.util.Collection<PluginPortlet> selectPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginPortlet objects and returns them as a collection

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

selectPluginPortletsList

java.util.Collection<PluginPortlet> selectPluginPortletsList(int nKey,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
A collection of portlets related to the generated plugin

Parameters:
nKey - The identifier of the plugin
plugin - The plugin
Returns:
A list of portlets for the generated plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.