|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.StateHome
public final class StateHome
This class provides instances management methods (create, find, ...) for State objects
Method Summary | |
---|---|
static void |
create(fr.paris.lutece.portal.business.workflow.State state,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of state |
static fr.paris.lutece.portal.business.workflow.State |
findByPrimaryKey(int nIdState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the state Object |
static 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 |
static fr.paris.lutece.portal.business.workflow.State |
getInitialState(int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the initial state of the workflow |
static java.util.List<fr.paris.lutece.portal.business.workflow.State> |
getListStateByFilter(StateFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select states by filter |
static void |
remove(int nIdState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove state which is specified in parameter |
static void |
update(fr.paris.lutece.portal.business.workflow.State state,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of state which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void create(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
state
- The instance of state which contains the informations to storeplugin
- the pluginpublic static void update(fr.paris.lutece.portal.business.workflow.State state, fr.paris.lutece.portal.service.plugin.Plugin plugin)
state
- The instance of state which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdState
- The state id to removeplugin
- the Pluginpublic static fr.paris.lutece.portal.business.workflow.State findByPrimaryKey(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdState
- the state idplugin
- the plugin
public static fr.paris.lutece.portal.business.workflow.State findByResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource
- the resource idstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
public static java.util.List<fr.paris.lutece.portal.business.workflow.State> getListStateByFilter(StateFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the state filterplugin
- the plugin
public static fr.paris.lutece.portal.business.workflow.State getInitialState(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWorkflow
- yhe workflow idplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |