fr.paris.lutece.plugins.workflow.business
Interface IActionDAO

All Known Implementing Classes:
ActionDAO

public interface IActionDAO

IActionDAO


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.
 

Method Detail

insert

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.

Parameters:
action - instance of the Action object to insert
plugin - the plugin

store

void store(fr.paris.lutece.portal.business.workflow.Action action,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
action - instance of the Action object to update
plugin - the plugin

load

fr.paris.lutece.portal.business.workflow.Action load(int nIdAction,
                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the action Object

Parameters:
nIdAction - the state id
plugin - the plugin
Returns:
the Action Object

loadWithIcon

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

Parameters:
nIdAction - the state id
plugin - the plugin
Returns:
the Action Object

delete

void delete(int nIdAction,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the action Object

Parameters:
nIdAction - the action id
plugin - the plugin

selectActionsByFilter

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

Parameters:
filter - the action filter
plugin - the plugin
Returns:
a list of action


Copyright © 2011 Mairie de Paris. All Rights Reserved.