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

All Known Implementing Classes:
FeatureDAO

public interface IFeatureDAO

IPluginFeatureDAO Interface


Method Summary
 void delete(int nIdPluginFeature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Feature pluginFeature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Feature load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<Feature> selectFeatureByPlugin(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a list of features by plugin
 fr.paris.lutece.util.ReferenceList selectFeatureByPluginCombo(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the list of admin features associated with the generated plugin
 void store(Feature pluginFeature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
pluginFeature - instance of the PluginFeature object to inssert
plugin - the Plugin

store

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

Parameters:
pluginFeature - the reference of the PluginFeature
plugin - the Plugin

delete

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

Parameters:
nIdPluginFeature - int identifier of the PluginFeature to delete
plugin - the Plugin

load

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

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

selectFeatureByPlugin

Collection<Feature> selectFeatureByPlugin(int nPluginId,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of features by plugin

Parameters:
nPluginId - The id of the generated plugin
plugin - The plugin
Returns:
A collection of features related to the plugin

selectFeatureByPluginCombo

fr.paris.lutece.util.ReferenceList selectFeatureByPluginCombo(int nPluginId,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of admin features associated with the generated plugin

Parameters:
nPluginId - The generated plugin id
plugin - The plugin
Returns:
The referencelist of features by plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.