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 IActionHitDAOactionHit - 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 IActionHitDAOstrActionName - 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 IActionHitDAOactionHit - The action hit to updateplugin - The pluginpublic void delete(int nIdActionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IActionHitDAOnIdActionHit - The if of the action hit to deleteplugin - The pluginpublic void deleteByResource(String strExtendableResourceType, String strIdExtendableResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IActionHitDAOdeleteByResource in interface IActionHitDAOstrExtendableResourceType - 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 IActionHitDAOplugin - The pluginpublic List<ActionHit> findAllByResource(String strExtendableResourceType, String strIdExtendableResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAllByResource in interface IActionHitDAOstrExtendableResourceType - 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 IActionHitDAOstrActionName - The name of the action to get the hits ofstrExtendableResourceType - The resource typeplugin - The pluginCopyright © 2020 City of Paris. All rights reserved.