fr.paris.lutece.plugins.extend.modules.rating.service
public class RatingHistoryService extends Object implements IRatingHistoryService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
| Constructor and Description |
|---|
RatingHistoryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(RatingHistory ratingHistory)
Insert.
|
RatingHistory |
findByHistoryExtenderId(long lIdHistoryExtenderId)
Find a
RatingHistory |
void |
remove(int nId)
Delete.
|
void |
removeByResource(String strIdExtendableResource,
String strExtendableResourceType)
Delete by resource
|
public static final String BEAN_SERVICE
public void remove(int nId)
IRatingHistoryServiceremove in interface IRatingHistoryServicenId - the n id ratingpublic void removeByResource(String strIdExtendableResource, String strExtendableResourceType)
IRatingHistoryServiceremoveByResource in interface IRatingHistoryServicestrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typepublic void create(RatingHistory ratingHistory)
IRatingHistoryServicecreate in interface IRatingHistoryServiceratingHistory - the ratingHistorypublic RatingHistory findByHistoryExtenderId(long lIdHistoryExtenderId)
IRatingHistoryServiceRatingHistoryfindByHistoryExtenderId in interface IRatingHistoryServicelIdHistoryExtenderId - the extender idRatingHistoryCopyright © 2014 Mairie de Paris. All rights reserved.