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

All Known Implementing Classes:
StateDAO

public interface IStateDAO

IStateDAO


Method Summary
 void delete(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the state Object
 void insert(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 fr.paris.lutece.portal.business.workflow.State load(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the state Object
 java.util.List<fr.paris.lutece.portal.business.workflow.State> selectStatesByFilter(StateFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select all states by filter
 void store(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

insert

void insert(fr.paris.lutece.portal.business.workflow.State state,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
state - instance of the State object to insert
plugin - the plugin

store

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

Parameters:
state - instance of the State object to update
plugin - the plugin

load

fr.paris.lutece.portal.business.workflow.State load(int nIdState,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the state Object

Parameters:
nIdState - the state id
plugin - the plugin
Returns:
the state Object

delete

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

Parameters:
nIdState - the state id
plugin - the plugin

selectStatesByFilter

java.util.List<fr.paris.lutece.portal.business.workflow.State> selectStatesByFilter(StateFilter filter,
                                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
select all states by filter

Parameters:
filter - StateFilter Object
plugin - the plugin
Returns:
a list of state


Copyright © 2009 Mairie de Paris. All Rights Reserved.