|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHitService
IHitService
| Method Summary | |
|---|---|
void |
create(Hit hit)
Creates the a hit extender. |
Hit |
findByParameters(String strIdExtendableResource,
String strExtendableResourceType)
Find by id extender. |
Hit |
findByPrimaryKey(int nIdExtender)
Find. |
List<Integer> |
findIdMostHitedResources(String strExtendableResourceType,
int nItemsOffset,
int nMaxItemsNumber)
Get the ids of resources ordered by their number of hits |
void |
incrementHit(Hit hit)
Increment hit. |
void |
remove(int nIdHit)
Removes a hit extender. |
void |
removeByResource(String strIdResource,
String strResourceType)
Removes a hit extender by id resource and resource type. |
void |
update(Hit hit)
Update a hit extender. |
| Method Detail |
|---|
void create(Hit hit)
hit - the hitvoid update(Hit hit)
hit - the hitvoid remove(int nIdHit)
nIdHit - the n id hit
void removeByResource(String strIdResource,
String strResourceType)
strIdResource - The id of the resource to removestrResourceType - The type of the resource to removevoid incrementHit(Hit hit)
hit - the hitHit findByPrimaryKey(int nIdExtender)
nIdExtender - the n id extender
Hit findByParameters(String strIdExtendableResource,
String strExtendableResourceType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type
List<Integer> findIdMostHitedResources(String strExtendableResourceType,
int nItemsOffset,
int nMaxItemsNumber)
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 items
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||