fr.paris.lutece.plugins.extend.modules.hit.service
Class HitService

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.hit.service.HitService
All Implemented Interfaces:
IHitService

public class HitService
extends java.lang.Object
implements IHitService

HitService


Constructor Summary
HitService()
           
 
Method Summary
 void create(Hit hit)
          Creates the.
 Hit findByParameters(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType)
          Find by id extender.
 Hit findByPrimaryKey(int nIdHit)
          Find.
 void incrementHit(Hit hit)
          Increment hit.
 void remove(int nIdExtender)
          Removes.
 void removeByResource(java.lang.String strIdResource, java.lang.String strResourceType)
          Removes.
 void update(Hit hit)
          Update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitService

public HitService()
Method Detail

create

public void create(Hit hit)
Creates the.

Specified by:
create in interface IHitService
Parameters:
hit - the hit

update

public void update(Hit hit)
Update.

Specified by:
update in interface IHitService
Parameters:
hit - the hit

remove

public void remove(int nIdExtender)
Removes.

Specified by:
remove in interface IHitService
Parameters:
nIdExtender - the n id hit

removeByResource

public void removeByResource(java.lang.String strIdResource,
                             java.lang.String strResourceType)
Removes.

Specified by:
removeByResource in interface IHitService

incrementHit

public void incrementHit(Hit hit)
Increment hit.

Specified by:
incrementHit in interface IHitService
Parameters:
hit - the hit

findByPrimaryKey

public Hit findByPrimaryKey(int nIdHit)
Find.

Specified by:
findByPrimaryKey in interface IHitService
Parameters:
nIdHit - the n id extender
Returns:
the hit

findByParameters

public Hit findByParameters(java.lang.String strIdExtendableResource,
                            java.lang.String strExtendableResourceType)
Find by id extender.

Specified by:
findByParameters in interface IHitService
Parameters:
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
Returns:
the hit


Copyright © 2012 Mairie de Paris. All Rights Reserved.