public class RatingHistoryDAO extends Object implements IRatingHistoryDAO
Constructor and Description |
---|
RatingHistoryDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(RatingHistory ratingHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.
|
RatingHistory |
findByHistoryExtenderId(long lIdHistoryExtenderId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a
RatingHistory |
void |
remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete.
|
void |
removeByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by resource
|
public void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRatingHistoryDAO
remove
in interface IRatingHistoryDAO
nId
- the n id ratingplugin
- the pluginpublic void removeByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRatingHistoryDAO
removeByResource
in interface IRatingHistoryDAO
strIdExtendableResource
- the str id extendable resourcestrExtendableResourceType
- the str extendable resource typeplugin
- the pluginpublic void create(RatingHistory ratingHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRatingHistoryDAO
create
in interface IRatingHistoryDAO
ratingHistory
- the ratingHistoryplugin
- the pluginpublic RatingHistory findByHistoryExtenderId(long lIdHistoryExtenderId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRatingHistoryDAO
RatingHistory
findByHistoryExtenderId
in interface IRatingHistoryDAO
lIdHistoryExtenderId
- the extender idplugin
- the pluginRatingHistory
Copyright © 2015 City of Paris. All rights reserved.