|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.instance.HistoryStepImpl
public class HistoryStepImpl
| Constructor Summary | |
|---|---|
HistoryStepImpl()
Default constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(HistoryStep arg0)
|
void |
deleteActionRecord()
Delete the data associated to this step. |
String |
getAction()
Get the action name logged in this History step |
Date |
getActionDate()
Get the date when the action has been done |
DataRecord |
getActionRecord()
Get the data associated to this step. |
int |
getActionStatus()
Get the resulting status of action logged in this history step |
String |
getId()
For persistence in database Get this object id |
ProcessInstance |
getProcessInstance()
Get the process instance |
String |
getResolvedState()
Get the name of state that has been resolved |
String |
getResultingState()
Get the name of state that has been resolved |
User |
getUser()
Get the actor of the action logged in this History step |
String |
getUserId()
Get the actor id of the action logged in this History step |
String |
getUserRoleName()
Get the role under which the user did the action |
void |
setAction(String action)
Set the action name logged in this History step |
void |
setActionDate(Date actionDate)
Set the date when the action has been done |
void |
setActionRecord(DataRecord data)
Set the data associated to this step. |
void |
setActionStatus(int actionStatus)
Set the resulting status of action logged in this history step -1 : Process failed 0 : To Be Processed 1 : Processed 2 : Affectations Done 3 : Saved (to be continued) |
void |
setId(String id)
For persistence in database Set this object id |
void |
setProcessInstance(ProcessInstance processInstance)
Set the process instance |
void |
setResolvedState(String state)
Set the name of state that has been resolved |
void |
setResultingState(String state)
Set the name of state that must result from logged action |
void |
setTodayAsActionDate()
Set the today as date when the action has been done |
void |
setUserId(String userId)
Set the actor id of the action logged in this History step |
void |
setUserRoleName(String userRoleName)
Set the role under which the user did the action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HistoryStepImpl()
| Method Detail |
|---|
public String getId()
getId in interface HistorySteppublic void setId(String id)
this - object idpublic ProcessInstance getProcessInstance()
getProcessInstance in interface HistorySteppublic void setProcessInstance(ProcessInstance processInstance)
setProcessInstance in interface UpdatableHistoryStepinstance - process instance
public User getUser()
throws WorkflowException
getUser in interface HistoryStepWorkflowExceptionpublic String getUserId()
public void setUserId(String userId)
setUserId in interface UpdatableHistoryStepuserId - the actor idpublic String getUserRoleName()
getUserRoleName in interface HistorySteppublic void setUserRoleName(String userRoleName)
setUserRoleName in interface UpdatableHistoryStepuserRoleName - the role's namepublic String getAction()
getAction in interface HistorySteppublic void setAction(String action)
setAction in interface UpdatableHistoryStepaction - the action namepublic Date getActionDate()
getActionDate in interface HistorySteppublic void setActionDate(Date actionDate)
setActionDate in interface UpdatableHistoryStepactionDate - the action datepublic void setTodayAsActionDate()
public String getResolvedState()
getResolvedState in interface HistorySteppublic void setResolvedState(String state)
setResolvedState in interface UpdatableHistoryStepstate - the resolved state namepublic String getResultingState()
getResultingState in interface HistorySteppublic void setResultingState(String state)
setResultingState in interface UpdatableHistoryStepstate - state namepublic int getActionStatus()
getActionStatus in interface HistorySteppublic void setActionStatus(int actionStatus)
setActionStatus in interface UpdatableHistoryStepactionStatus - action status
public DataRecord getActionRecord()
throws WorkflowException
getActionRecord in interface HistoryStepWorkflowException
public void setActionRecord(DataRecord data)
throws WorkflowException
setActionRecord in interface HistoryStepWorkflowException
public void deleteActionRecord()
throws WorkflowException
deleteActionRecord in interface HistoryStepWorkflowExceptionpublic int compareTo(HistoryStep arg0)
compareTo in interface Comparable<HistoryStep>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||