|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.extend.modules.actionhit.business.ActionHitDAO
public class ActionHitDAO
DAO to manage ActionHit
| Constructor Summary | |
|---|---|
ActionHitDAO()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionHitDAO()
| Method Detail |
|---|
public void create(ActionHit actionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface IActionHitDAOactionHit - Action hit to saveplugin - The plugin
public 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 plugin
public void updateHit(ActionHit actionHit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateHit in interface IActionHitDAOactionHit - The action hit to updateplugin - The plugin
public 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 plugin
public void deleteByResource(String strExtendableResourceType,
String strIdExtendableResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IActionHitDAO
deleteByResource 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 plugin
public 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 plugin
public 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 plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||