|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.extend.modules.hit.business.HitDAO
public class HitDAO
InteractionHitDAO
| Constructor Summary | |
|---|---|
HitDAO()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HitDAO()
| Method Detail |
|---|
public void insert(Hit hit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IHitDAOhit - the hitplugin - the plugin
public void store(Hit hit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IHitDAOhit - the hitplugin - the plugin
public void delete(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IHitDAOnIdHit - the n id hitplugin - the 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 plugin
public Hit load(int nIdHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IHitDAOnIdHit - the n id hitplugin - the 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 plugin
public 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 plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||