|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.StateDAO
public class StateDAO
class StateDAO
Constructor Summary | |
---|---|
StateDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the state Object |
fr.paris.lutece.portal.business.workflow.State |
findByResource(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the state Object from the given resource |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateDAO()
Method Detail |
---|
public void insert(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
insert
in interface IStateDAO
state
- instance of the State object to insertplugin
- the pluginpublic void store(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
store
in interface IStateDAO
state
- instance of the State object to updateplugin
- the pluginpublic fr.paris.lutece.portal.business.workflow.State load(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
load
in interface IStateDAO
nIdState
- the state idplugin
- the plugin
public fr.paris.lutece.portal.business.workflow.State findByResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
findByResource
in interface IStateDAO
nIdResource
- the resource idstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
public void delete(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
delete
in interface IStateDAO
nIdState
- the state idplugin
- the pluginpublic java.util.List<fr.paris.lutece.portal.business.workflow.State> selectStatesByFilter(StateFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IStateDAO
selectStatesByFilter
in interface IStateDAO
filter
- StateFilter Objectplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |