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

All Known Implementing Classes:
ResourceKeyDAO

public interface IResourceKeyDAO

IResourceKeyDAO Interface


Method Summary
 void deleteByPlugin(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Deletes all the resources from a Plugin
 void insert(ResourceKey resourceKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Collection<ResourceKey> selectResourceKeysList(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select a list of resource keys
 

Method Detail

insert

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

Parameters:
resourceKey - instance of the ResourceKey object to inssert
plugin - the Plugin

selectResourceKeysList

Collection<ResourceKey> selectResourceKeysList(int nPluginId,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a list of resource keys

Parameters:
nPluginId - The id of the plugin
plugin - The Plugin
Returns:
A collection of all the resource keys related to a generated plugin

deleteByPlugin

void deleteByPlugin(int nPluginId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes all the resources from a Plugin

Parameters:
nPluginId - The generated plugin id
plugin - The plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.