|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRatingDAO
ICommentDAO.
| Method Summary | |
|---|---|
void |
delete(int nIdRating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete. |
void |
deleteByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by id hub resource. |
List<Integer> |
findIdMostRatedResources(String strExtendableResourceType,
int nItemsOffset,
int nMaxItemsNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the ids of resources ordered by their number of ratings |
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(String strIdExtendableResource,
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 |
|---|
void delete(int nIdRating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRating - the n id ratingplugin - the plugin
void deleteByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the plugin
void insert(Rating rating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
rating - the ratingplugin - the plugin
Rating load(int nIdRating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRating - the n id ratingplugin - the plugin
void store(Rating rating,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
rating - the ratingplugin - the plugin
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 plugin
List<Integer> findIdMostRatedResources(String strExtendableResourceType,
int nItemsOffset,
int nMaxItemsNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strExtendableResourceType - The type of resources to considernItemsOffset - The offset of the items to get, or 0 to get items
from the first onenMaxItemsNumber - The maximum number of items to return, or 0 to get
every itemsplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||