com.silverpeas.workflow.api.instance
Interface UpdatableHistoryStep

All Superinterfaces:
Comparable<HistoryStep>, HistoryStep
All Known Implementing Classes:
HistoryStepImpl

public interface UpdatableHistoryStep
extends HistoryStep


Method Summary
 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 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
 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 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 interface com.silverpeas.workflow.api.instance.HistoryStep
deleteActionRecord, getAction, getActionDate, getActionRecord, getActionStatus, getId, getProcessInstance, getResolvedState, getResultingState, getUser, getUserRoleName, setActionRecord
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

setProcessInstance

void setProcessInstance(ProcessInstance processInstance)
Set the process instance

Parameters:
instance - process instance

setUserId

void setUserId(String userId)
Set the actor id of the action logged in this History step

Parameters:
userId - the actor id

setAction

void setAction(String action)
Set the action name logged in this History step

Parameters:
action - the action name

setActionDate

void setActionDate(Date actionDate)
Set the date when the action has been done

Parameters:
actionDate - the action date

setResolvedState

void setResolvedState(String state)
Set the name of state that has been resolved

Parameters:
state - the resolved state name

setResultingState

void setResultingState(String state)
Set the name of state that must result from logged action

Parameters:
state - state name

setActionStatus

void setActionStatus(int actionStatus)
Set the resulting status of action logged in this history step

Parameters:
actionStatus - action status

setUserRoleName

void setUserRoleName(String userRoleName)
Set the role under which the user did the action

Parameters:
userRoleName - the role's name


Copyright © 2016 Silverpeas. All Rights Reserved.