public interface IRatingDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete.
|
void |
deleteByIdExtenderHistory(long nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete By Id extender History.
|
void |
deleteByListExtenderHistory(List<Long> listIdExtenderHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete By list Id extender History.
|
void |
deleteByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by resource
|
Rating |
findByHistoryExtenderId(long lIdHistoryExtenderId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a
Rating |
List<Rating> |
findByHistoryExtenderIds(List<Long> lIdHistoryExtenderId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a list
Rating |
List<Rating> |
findByResourceAndRatingType(List<String> listExtendableResource,
String strExtendableResourceType,
String ratingType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a list
Rating |
void |
insert(Rating rating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.
|
Optional<Rating> |
load(int nIdRating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load by primary key
|
Optional<Rating> |
load(String strIdExtendableResource,
String strExtendableResourceType,
String ratingType,
double value,
String userGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load by primary key
|
List<Rating> |
loadByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select by resource.
|
List<Rating> |
selectRatingByFilter(RatingExtenderFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
float[] |
selectRatingValue(List<String> listIdResource,
String strExtendableResourceType,
String strRatingType,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- the n id ratingplugin
- the pluginvoid deleteByIdExtenderHistory(long nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- the Id extender Historyplugin
- the pluginvoid deleteByListExtenderHistory(List<Long> listIdExtenderHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdExtenderHistory
- the list Id extender Historyplugin
- the pluginvoid deleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource
- the Extendable resource idstrExtendableResourceType
- the Extendable Resourcer typeplugin
- the pluginvoid insert(Rating rating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
rating
- the ratingplugin
- the pluginOptional<Rating> load(int nIdRating, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRating
- the rating idplugin
- the pluginRating
Optional<Rating> load(String strIdExtendableResource, String strExtendableResourceType, String ratingType, double value, String userGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource
- the str id extendable resourcestrExtendableResourceType
- the str extendable resource typeratingType
- the rating typevalue
- the rating valueplugin
- the pluginList<Rating> loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource
- the str id extendable resourcestrExtendableResourceType
- the str extendable resource typeplugin
- the pluginRating findByHistoryExtenderId(long lIdHistoryExtenderId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Rating
lIdHistoryExtenderId
- the extender idplugin
- the pluginRating
List<Rating> findByResourceAndRatingType(List<String> listExtendableResource, String strExtendableResourceType, String ratingType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Rating
listExtendableResource
- the list of extender resource idstrExtendableResourceType
- the str extendable resource typeratingType
- the rating typeplugin
- the pluginRating
List<Rating> findByHistoryExtenderIds(List<Long> lIdHistoryExtenderId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Rating
lIdHistoryExtenderId
- the list of extender idplugin
- the pluginRating
float[] selectRatingValue(List<String> listIdResource, String strExtendableResourceType, String strRatingType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
List<Rating> selectRatingByFilter(RatingExtenderFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2022 City of Paris. All rights reserved.