| Constructor and Description |
|---|
HitDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete.
|
void |
deleteByResource(String strIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete hits of a given resource
|
List<Hit> |
findByResourceList(List<String> listIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get list of Hit by ids resources.
|
List<Integer> |
findIdMostHitedResources(String strExtendableResourceType,
int nItemsOffset,
int nMaxItemsNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the ids of resources ordered by their number of hits
|
void |
insert(Hit hit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.
|
Hit |
load(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load.
|
Hit |
loadByParameters(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load by id extender.
|
void |
store(Hit hit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update.
|
public void insert(Hit hit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Hit hit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteByResource(String strIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByResource in interface IHitDAOstrIdResource - the id of the resource, or a wildcare to remove allstrResourceType - The resource type to deleteplugin - the pluginpublic Hit load(int nIdHit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Hit loadByParameters(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByParameters in interface IHitDAOstrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the pluginpublic List<Integer> findIdMostHitedResources(String strExtendableResourceType, int nItemsOffset, int nMaxItemsNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findIdMostHitedResources in interface IHitDAOstrExtendableResourceType - 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 pluginpublic List<Hit> findByResourceList(List<String> listIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IHitDAOfindByResourceList in interface IHitDAOlistIdExtendableResource - the list of str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the pluginCopyright © 2022 City of Paris. All rights reserved.