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(State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 State load(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the state Object
 java.util.List<State> selectStatesByFilter(StateFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select all states by filter
 void store(State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

insert

void insert(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(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

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<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.