|
||||||||||
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 HistoryStep
public void setId(String id)
this
- object idpublic ProcessInstance getProcessInstance()
getProcessInstance
in interface HistoryStep
public void setProcessInstance(ProcessInstance processInstance)
setProcessInstance
in interface UpdatableHistoryStep
instance
- process instancepublic User getUser() throws WorkflowException
getUser
in interface HistoryStep
WorkflowException
public String getUserId()
public void setUserId(String userId)
setUserId
in interface UpdatableHistoryStep
userId
- the actor idpublic String getUserRoleName()
getUserRoleName
in interface HistoryStep
public void setUserRoleName(String userRoleName)
setUserRoleName
in interface UpdatableHistoryStep
userRoleName
- the role's namepublic String getAction()
getAction
in interface HistoryStep
public void setAction(String action)
setAction
in interface UpdatableHistoryStep
action
- the action namepublic Date getActionDate()
getActionDate
in interface HistoryStep
public void setActionDate(Date actionDate)
setActionDate
in interface UpdatableHistoryStep
actionDate
- the action datepublic void setTodayAsActionDate()
public String getResolvedState()
getResolvedState
in interface HistoryStep
public void setResolvedState(String state)
setResolvedState
in interface UpdatableHistoryStep
state
- the resolved state namepublic String getResultingState()
getResultingState
in interface HistoryStep
public void setResultingState(String state)
setResultingState
in interface UpdatableHistoryStep
state
- state namepublic int getActionStatus()
getActionStatus
in interface HistoryStep
public void setActionStatus(int actionStatus)
setActionStatus
in interface UpdatableHistoryStep
actionStatus
- action statuspublic DataRecord getActionRecord() throws WorkflowException
getActionRecord
in interface HistoryStep
WorkflowException
public void setActionRecord(DataRecord data) throws WorkflowException
setActionRecord
in interface HistoryStep
WorkflowException
public void deleteActionRecord() throws WorkflowException
deleteActionRecord
in interface HistoryStep
WorkflowException
public 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 |