public interface IHitDAO
| 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<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.
|
void insert(Hit hit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
hit - the hitplugin - the pluginvoid store(Hit hit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
hit - the hitplugin - the pluginvoid delete(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHit - the n id hitplugin - the pluginvoid deleteByResource(String strIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdResource - the id of the resource, or a wildcare to remove allstrResourceType - The resource type to deleteplugin - the pluginHit load(int nIdHit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHit - the n id hitplugin - the pluginHit loadByParameters(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the pluginList<Integer> findIdMostHitedResources(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 pluginCopyright © 2016 City of Paris. All rights reserved.