|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.model.StatesImpl
public class StatesImpl
Class implementing the representation of the <states> element of a Process Model.
| Constructor Summary | |
|---|---|
StatesImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
addState(State state)
Add an state to the collection |
State |
createState()
Create an State |
State |
getState(String name)
Get the state definition with given name |
State[] |
getStates()
Get the states defined for this process model |
Iterator<State> |
iterateState()
Iterate through the State objects |
void |
removeState(String strStateName)
Remove an state from the collection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatesImpl()
| Method Detail |
|---|
public void addState(State state)
States
addState in interface Statesstate - to be addedpublic State createState()
States
createState in interface Statespublic State getState(String name)
States
getState in interface Statesname - state name
public State[] getStates()
States
getStates in interface Statespublic Iterator<State> iterateState()
States
iterateState in interface States
public void removeState(String strStateName)
throws WorkflowException
States
removeState in interface StatesstrStateName - the name of the state to be removed.
WorkflowException - when the state cannot be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||