public class ActionHitDAO extends Object implements IActionHitDAO
Constructor and Description |
---|
ActionHitDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(ActionHit actionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an action hit
|
void |
delete(int nIdActionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an action hit
|
void |
deleteByResource(String strExtendableResourceType,
String strIdExtendableResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete action hits associated with a given resource
|
List<ActionHit> |
findActionHitsByAction(String strActionName,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of action hits associated to a given action and a given
resource type
|
List<ActionHit> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find every action hit
|
List<ActionHit> |
findAllByResource(String strExtendableResourceType,
String strIdExtendableResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of action hits associated with a given resource.
|
ActionHit |
findByActionNameAndResource(String strActionName,
String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get an action hit from its id
|
void |
updateHit(ActionHit actionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an action hit
|
public void create(ActionHit actionHit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create
in interface IActionHitDAO
actionHit
- Action hit to saveplugin
- The pluginpublic ActionHit findByActionNameAndResource(String strActionName, String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByActionNameAndResource
in interface IActionHitDAO
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 ofplugin
- The pluginpublic void updateHit(ActionHit actionHit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateHit
in interface IActionHitDAO
actionHit
- The action hit to updateplugin
- The pluginpublic void delete(int nIdActionHit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IActionHitDAO
nIdActionHit
- The if of the action hit to deleteplugin
- The pluginpublic void deleteByResource(String strExtendableResourceType, String strIdExtendableResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IActionHitDAO
deleteByResource
in interface IActionHitDAO
strExtendableResourceType
- The type of the resource to remove hits
ofstrIdExtendableResource
- The id of the resource to remove hits ofplugin
- The pluginpublic List<ActionHit> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll
in interface IActionHitDAO
plugin
- The pluginpublic List<ActionHit> findAllByResource(String strExtendableResourceType, String strIdExtendableResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAllByResource
in interface IActionHitDAO
strExtendableResourceType
- The resource type of hitsstrIdExtendableResource
- The id of the extendable resource to get
hits ofplugin
- The pluginpublic List<ActionHit> findActionHitsByAction(String strActionName, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findActionHitsByAction
in interface IActionHitDAO
strActionName
- The name of the action to get the hits ofstrExtendableResourceType
- The resource typeplugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.