|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.instance.ActiveState
public class ActiveState
Constructor Summary | |
---|---|
ActiveState()
Default Constructor |
|
ActiveState(String state)
Constructor |
Method Summary | |
---|---|
boolean |
getBackStatus()
Get the status regarding a possible undo process |
int |
getBackStatusCastor()
|
String |
getId()
For persistence in database Get this object id |
String |
getKey()
This method has to be implemented by the referrable object it has to compute the unique key |
ProcessInstanceImpl |
getProcessInstance()
Get the instance for which user is affected |
String |
getState()
Get state name |
Date |
getTimeoutDate()
Get the date at which current state will be in timeout |
int |
getTimeoutStatus()
Get the timeout status of this active state |
void |
setBackStatus(boolean backStatus)
Set the status regarding a possible undo process |
void |
setBackStatusCastor(int backStatus)
|
void |
setId(String id)
For persistence in database Set this object id |
void |
setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance for which user is affected |
void |
setState(String state)
Set state name |
void |
setTimeoutDate(Date timeoutDate)
Set the date at which current state will be in timeout |
void |
setTimeoutStatus(int timeoutStatus)
Set the timeout status of this active state |
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActiveState()
public ActiveState(String state)
state
- state nameMethod Detail |
---|
public String getId()
public void setId(String id)
this
- object idpublic String getState()
public void setState(String state)
state
- state namepublic boolean getBackStatus()
public int getBackStatusCastor()
public void setBackStatus(boolean backStatus)
backStatus
- true if state is active to be discussedpublic void setBackStatusCastor(int backStatus)
public ProcessInstanceImpl getProcessInstance()
public void setProcessInstance(ProcessInstanceImpl processInstance)
processInstance
- instancepublic int getTimeoutStatus()
public void setTimeoutDate(Date timeoutDate)
timeoutDate
- the timeout Date to setpublic Date getTimeoutDate()
public void setTimeoutStatus(int timeoutStatus)
timeoutStatus
- true if this active state is there for a long long timepublic String getKey()
getKey
in interface ReferrableObjectIntf
getKey
in class AbstractReferrableObject
equals
,
hashCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |