fr.paris.lutece.plugins.extend.modules.rating.business
Interface IRatingDAO

All Known Implementing Classes:
RatingDAO

public interface IRatingDAO

ICommentDAO.


Method Summary
 void delete(int nIdRating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete.
 void deleteByResource(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete by id hub resource.
 void insert(Rating rating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert.
 Rating load(int nIdRating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load.
 Rating loadByResource(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select by id hub resource.
 void store(Rating rating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Store.
 

Method Detail

delete

void delete(int nIdRating,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete.

Parameters:
nIdRating - the n id rating
plugin - the plugin

deleteByResource

void deleteByResource(java.lang.String strIdExtendableResource,
                      java.lang.String strExtendableResourceType,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by id hub resource.

Parameters:
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
plugin - the plugin

insert

void insert(Rating rating,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.

Parameters:
rating - the rating
plugin - the plugin

load

Rating load(int nIdRating,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load.

Parameters:
nIdRating - the n id rating
plugin - the plugin
Returns:
the rating

store

void store(Rating rating,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Store.

Parameters:
rating - the rating
plugin - the plugin

loadByResource

Rating loadByResource(java.lang.String strIdExtendableResource,
                      java.lang.String strExtendableResourceType,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select by id hub resource.

Parameters:
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
plugin - the plugin
Returns:
the rating


Copyright © 2012 Mairie de Paris. All Rights Reserved.