|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.extend.modules.actionhit.service.ActionHitService
public class ActionHitService
ActionbarService
| Field Summary | |
|---|---|
static String |
BEAN_NAME
Bean name |
| Constructor Summary | |
|---|---|
ActionHitService()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
createActionHit(ActionHit actionHit)
Creates an action hit |
ActionHit |
findActionHit(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType)
find an action hit |
List<ActionHit> |
findActionHitsByAction(String strActionName,
String strExtendableResourceType)
Get the list of action hits associated to a given action and a given resource type |
List<ActionHit> |
findActionHitsByResource(String strResourceType,
String strIdExtendableResource)
Get the list of action hits associated with a given resource. |
List<ActionHit> |
findAllActionHits()
Get the list of action hits |
String |
getName()
|
void |
removeActionHit(ActionHit actionHit)
Remove an action hit from its id |
void |
removeActionHit(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType)
Remove an action hit from its id |
void |
removeByResource(String strExtendableResourceType,
String strIdExtendableResource)
Remove action hits associated with a given resource |
void |
updateActionHit(ActionHit actionHit)
Update an action hit |
| Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService |
|---|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_NAME
| Constructor Detail |
|---|
public ActionHitService()
| Method Detail |
|---|
public void createActionHit(ActionHit actionHit)
actionHit - The action hit to create
public ActionHit findActionHit(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType)
strActionName - The name of the action to get the number of hit ofstrIdExtendableResource - The id of the extendable resource to get
the number of hits ofstrExtendableResourceType - The extendable resource type of the
resource to get the number of hits of
public List<ActionHit> findActionHitsByResource(String strResourceType,
String strIdExtendableResource)
strResourceType - The resource type of hitsstrIdExtendableResource - The id of the extendable resource to get
hits of
public List<ActionHit> findActionHitsByAction(String strActionName,
String strExtendableResourceType)
strActionName - The name of the action to get the hits ofstrExtendableResourceType - The resource type
public List<ActionHit> findAllActionHits()
public void updateActionHit(ActionHit actionHit)
actionHit - The action hit to update
public void removeActionHit(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType)
strActionName - The name of the action to removestrIdExtendableResource - The id of the extendable resource to
removestrExtendableResourceType - The extendable resource type of the
resource to removepublic void removeActionHit(ActionHit actionHit)
actionHit - The action hit to remove
public void removeByResource(String strExtendableResourceType,
String strIdExtendableResource)
strExtendableResourceType - The type of the resource to remove hits
ofstrIdExtendableResource - The id of the resource to remove hits ofpublic String getName()
getName in interface fr.paris.lutece.portal.service.util.LuteceService
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||