fr.paris.lutece.plugins.extend.modules.actionhit.business
Class ActionHit

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.actionhit.business.ActionHit

public class ActionHit
extends Object

Class that count the number of times an action is performed over a resource


Field Summary
static String RESOURCE_TYPE
          ActionHit resource type
 
Constructor Summary
ActionHit()
          Default constructor
ActionHit(String strActionName, String strIdExtendableResource, String strExtendableResourceType, int nHit)
          Creates an action hit
 
Method Summary
 String getActionName()
          Get the name of the action
 String getExtendableResourceType()
          Get the resource type associated with this action hit
 int getHit()
          Get the number of hits
 int getIdActionHit()
          Get the id of the action hit
 String getIdExtendableResource()
          Get the id of the extendable resource
 void setActionName(String strActionName)
          Set the name of the action
 void setExtendableResourceType(String strExtendableResourceType)
          Set the resource type associated with this action hit
 void setHit(int nHit)
          Set the number of hits
 void setIdActionHit(int nIdActionHit)
          Set the id of the action hit
 void setIdExtendableResource(String strIdExtendableResource)
          Set the id of the extendable resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final String RESOURCE_TYPE
ActionHit resource type

See Also:
Constant Field Values
Constructor Detail

ActionHit

public ActionHit()
Default constructor


ActionHit

public ActionHit(String strActionName,
                 String strIdExtendableResource,
                 String strExtendableResourceType,
                 int nHit)
Creates an action hit

Parameters:
strActionName - The name of the action
strIdExtendableResource - The id of the extendable resource
strExtendableResourceType - The type of the extendable resource
nHit - The number of hits
Method Detail

getIdActionHit

public int getIdActionHit()
Get the id of the action hit

Returns:
The id of the action hit

setIdActionHit

public void setIdActionHit(int nIdActionHit)
Set the id of the action hit

Parameters:
nIdActionHit - The id of the action hit

getActionName

public String getActionName()
Get the name of the action

Returns:
The name of the action

setActionName

public void setActionName(String strActionName)
Set the name of the action

Parameters:
strActionName - The name of the action

getExtendableResourceType

public String getExtendableResourceType()
Get the resource type associated with this action hit

Returns:
The resource type associated with this action hit

setExtendableResourceType

public void setExtendableResourceType(String strExtendableResourceType)
Set the resource type associated with this action hit

Parameters:
strExtendableResourceType - The resource type associated with this action hit

getIdExtendableResource

public String getIdExtendableResource()
Get the id of the extendable resource

Returns:
The id of the extendable resource

setIdExtendableResource

public void setIdExtendableResource(String strIdExtendableResource)
Set the id of the extendable resource

Parameters:
strIdExtendableResource - The id of the extendable resource

getHit

public int getHit()
Get the number of hits

Returns:
The number of hits

setHit

public void setHit(int nHit)
Set the number of hits

Parameters:
nHit - The number of hits


Copyright © 2013 Mairie de Paris. All Rights Reserved.