fr.paris.lutece.plugins.rating.business
Interface IResourceConfDAO

All Known Implementing Classes:
ResourceConfDAO

public interface IResourceConfDAO

Interface IResourceConfDAO


Method Summary
 void delete(java.lang.String strResourceType, int nIdResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the ResourceConf whose identifier are specified in parameters
 void insert(ResourceConf resourceConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of resourceConf
 ResourceConf load(java.lang.String strResourceType, int nIdResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the document vote from the table
 void store(ResourceConf resourceConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

insert

void insert(ResourceConf resourceConf,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of resourceConf

Parameters:
resourceConf - The instance of the ResourceConf which contains the informations to store
plugin - the Plugin

load

ResourceConf load(java.lang.String strResourceType,
                  int nIdResource,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the document vote from the table

Parameters:
strResourceType - the type of the resource
nIdResource - the id of the resource
plugin - the Plugin
Returns:
an instance of DocumentVote

store

void store(ResourceConf resourceConf,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
resourceConf - instance of the ResourceConf object to update
plugin - the plugin

delete

void delete(java.lang.String strResourceType,
            int nIdResource,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the ResourceConf whose identifier are specified in parameters

Parameters:
strResourceType - The type of the resource
nIdResource - the id of the resource
plugin - the Plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.