fr.paris.lutece.plugins.workflow.business
Class ActionDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.ActionDAO
All Implemented Interfaces:
IActionDAO

public class ActionDAO
extends java.lang.Object
implements IActionDAO

class ActionDAO


Constructor Summary
ActionDAO()
           
 
Method Summary
 void delete(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the action Object
 void insert(fr.paris.lutece.portal.business.workflow.Action action, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 fr.paris.lutece.portal.business.workflow.Action load(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the action Object
 fr.paris.lutece.portal.business.workflow.Action loadWithIcon(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the action Object with icon associated
 java.util.List<fr.paris.lutece.portal.business.workflow.Action> selectActionsByFilter(ActionFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select all actions by filter
 void store(fr.paris.lutece.portal.business.workflow.Action action, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionDAO

public ActionDAO()
Method Detail

insert

public void insert(fr.paris.lutece.portal.business.workflow.Action action,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
Insert a new record in the table.

Specified by:
insert in interface IActionDAO
Parameters:
action - instance of the Action object to insert
plugin - the plugin

store

public void store(fr.paris.lutece.portal.business.workflow.Action action,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
update record in the table.

Specified by:
store in interface IActionDAO
Parameters:
action - instance of the Action object to update
plugin - the plugin

load

public fr.paris.lutece.portal.business.workflow.Action load(int nIdAction,
                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
Load the action Object

Specified by:
load in interface IActionDAO
Parameters:
nIdAction - the state id
plugin - the plugin
Returns:
the Action Object

loadWithIcon

public fr.paris.lutece.portal.business.workflow.Action loadWithIcon(int nIdAction,
                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
Load the action Object with icon associated

Specified by:
loadWithIcon in interface IActionDAO
Parameters:
nIdAction - the state id
plugin - the plugin
Returns:
the Action Object

delete

public void delete(int nIdAction,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
Delete the action Object

Specified by:
delete in interface IActionDAO
Parameters:
nIdAction - the action id
plugin - the plugin

selectActionsByFilter

public java.util.List<fr.paris.lutece.portal.business.workflow.Action> selectActionsByFilter(ActionFilter filter,
                                                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IActionDAO
select all actions by filter

Specified by:
selectActionsByFilter in interface IActionDAO
Parameters:
filter - the action filter
plugin - the plugin
Returns:
a list of action


Copyright © 2011 Mairie de Paris. All Rights Reserved.