fr.paris.lutece.plugins.workflow.business
Class StateFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.StateFilter

public class StateFilter
extends java.lang.Object

class WorkflowFilter


Field Summary
static int ALL_INT
           
static int FILTER_FALSE
           
static int FILTER_TRUE
           
 
Constructor Summary
StateFilter()
           
 
Method Summary
 boolean containsIdWorkflow()
           
 boolean containsIsInitialState()
           
 int getIdWorkflow()
           
 int getIsInitialState()
           
 void setIdWorkflow(int idWorkflow)
          set the id of workflow in the filter
 void setIsInitialState(int idState)
          Set 1 if the state return must be the initial state 0 if the state return must not be the initial state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_INT

public static final int ALL_INT
See Also:
Constant Field Values

FILTER_FALSE

public static final int FILTER_FALSE
See Also:
Constant Field Values

FILTER_TRUE

public static final int FILTER_TRUE
See Also:
Constant Field Values
Constructor Detail

StateFilter

public StateFilter()
Method Detail

getIsInitialState

public int getIsInitialState()
Returns:
1 if the state return must be the initial state 0 if the state return must not be the initial state

setIsInitialState

public void setIsInitialState(int idState)
Set 1 if the state return must be the initial state 0 if the state return must not be the initial state

Parameters:
idState - 1 if the state return must be the initial state 0 if the state return must not be the initial state

containsIsInitialState

public boolean containsIsInitialState()
Returns:
true if the filter contain workflow state

getIdWorkflow

public int getIdWorkflow()
Returns:
the id of workflow insert in the filter

setIdWorkflow

public void setIdWorkflow(int idWorkflow)
set the id of workflow in the filter

Parameters:
idWorkflow - the id of workflow to insert in the filter

containsIdWorkflow

public boolean containsIdWorkflow()
Returns:
true if the filter contain an id of workflow


Copyright © 2011 Mairie de Paris. All Rights Reserved.