public final class ActionHitHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(ActionHit actionHit)
Create an action hit
|
static void |
delete(ActionHit actionHit)
Delete an action hit
|
static void |
delete(int nIdActionHit)
Delete an action hit
|
static void |
deleteByResource(String strExtendableResourceType,
String strIdExtendableResource)
Remove action hits associated with a given resource
|
static List<ActionHit> |
findActionHitsByAction(String strActionName,
String strExtendableResourceType)
Get the list of action hits associated to a given action and a given
resource type
|
static List<ActionHit> |
findAll()
Find every action hit
|
static List<ActionHit> |
findAllByResource(String strExtendableResourceType,
String strIdExtendableResource)
Get the list of action hits associated with a given resource.
|
static ActionHit |
findByActionNameAndResource(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType)
Get an action hit from its id
|
static void |
updateHit(ActionHit actionHit)
Update an action hit
|
public static void create(ActionHit actionHit)
actionHit
- Action hit to savepublic static ActionHit findByActionNameAndResource(String strActionName, String strIdExtendableResource, String strExtendableResourceType)
strActionName
- The name of the action to getstrIdExtendableResource
- The id of the resource to get the action
ofstrExtendableResourceType
- The type of the resource to get the
action ofpublic static void updateHit(ActionHit actionHit)
actionHit
- The action hit to updatepublic static void delete(ActionHit actionHit)
actionHit
- The action hit to deletepublic static void delete(int nIdActionHit)
nIdActionHit
- The id of the action hit to deletepublic static void deleteByResource(String strExtendableResourceType, String strIdExtendableResource)
strExtendableResourceType
- The type of the resource to remove hits
ofstrIdExtendableResource
- The id of the resource to remove hits ofpublic static List<ActionHit> findAll()
public static List<ActionHit> findAllByResource(String strExtendableResourceType, String strIdExtendableResource)
strExtendableResourceType
- The resource type of hitsstrIdExtendableResource
- The id of the extendable resource to get
hits ofpublic static List<ActionHit> findActionHitsByAction(String strActionName, String strExtendableResourceType)
strActionName
- The name of the action to get the hits ofstrExtendableResourceType
- The resource typeCopyright © 2015 City of Paris. All rights reserved.