|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdatableProcessInstance
| Method Summary | |
|---|---|
void |
addActiveState(State state)
|
void |
addHistoryStep(HistoryStep step)
|
void |
addInterestedUser(Actor actor,
State state)
|
void |
addInterestedUser(User user,
State state,
String role)
Add an user in the interested user list |
void |
addTimeout(State state)
|
void |
addWorkingUser(Actor actor,
State state)
|
void |
addWorkingUser(User user,
State state,
String role)
|
void |
cancelQuestion(Question question)
Cancel a question without response |
void |
computeValid()
|
void |
lock()
Lock this instance by admin for all states |
void |
reDoState(String state,
Date actionDate)
Cancel all the atomic operations since the step where first action had occured |
void |
removeActiveState(State state)
|
void |
removeInterestedUser(User user,
State state,
String role)
Remove an user from the interested user list |
void |
removeInterestedUsers(State state)
Remove all interested users for given state |
void |
removeTimeout(State state)
|
void |
removeWorkingUser(User user,
State state,
String role)
|
void |
removeWorkingUsers(State state)
Remove all working users for given state |
void |
saveActionRecord(HistoryStep step,
DataRecord formData)
Save a new version of given form (including values) |
void |
setErrorStatus(boolean errorStatus)
Set the error status of this instance |
void |
setField(String name,
Field value)
|
void |
setInstanceId(String instanceId)
Set the workflow instance id |
void |
setModelId(String modelId)
Set the workflow model id |
void |
setTimeoutStatus(boolean timeoutStatus)
Set the timeout status of this instance |
void |
unLock()
Lock this instance by admin for all states |
void |
updateHistoryStep(HistoryStep step)
|
| Methods inherited from interface com.silverpeas.workflow.api.instance.ProcessInstance |
|---|
addQuestion, answerQuestion, create, delete, getActionRecord, getActiveStates, getActors, getAllDataRecord, getAssignedStates, getBackSteps, getErrorStatus, getField, getFolder, getFormRecord, getHistoryStep, getHistorySteps, getInstanceId, getLockingUser, getModelId, getMostRecentStep, getMostRecentStep, getNewActionRecord, getParticipant, getParticipants, getPendingQuestions, getProcessModel, getQuestions, getRelevantQuestions, getRowDataRecord, getSavedStep, getSentQuestions, getTimeOutAction, getTimeoutStatus, getTitle, getUsersInGroup, getUsersInRole, getWorkingUsers, getWorkingUsers, getWorkingUsers, isLockedByAdmin, isStateInBackStatus, isValid, lock, unLock, update |
| Method Detail |
|---|
void setInstanceId(String instanceId)
instanceId - instance idvoid setModelId(String modelId)
instanceId - model id
void addHistoryStep(HistoryStep step)
throws WorkflowException
step -
WorkflowException
void updateHistoryStep(HistoryStep step)
throws WorkflowException
step -
WorkflowException
void reDoState(String state,
Date actionDate)
throws WorkflowException
state - the name of state where ac action has been discussedactionDate - date of state re-resolving
WorkflowException
void setField(String name,
Field value)
throws WorkflowException
itemName - value -
WorkflowException
void saveActionRecord(HistoryStep step,
DataRecord formData)
throws WorkflowException
step - the new stepformData - Form's values as a DataRecord object
WorkflowException
void addActiveState(State state)
throws WorkflowException
state -
WorkflowException
void removeActiveState(State state)
throws WorkflowException
state -
WorkflowException
void addTimeout(State state)
throws WorkflowException
state -
WorkflowException
void removeTimeout(State state)
throws WorkflowException
state -
WorkflowException
void addWorkingUser(User user,
State state,
String role)
throws WorkflowException
user -
WorkflowException
void addWorkingUser(Actor actor,
State state)
throws WorkflowException
WorkflowException
void removeWorkingUser(User user,
State state,
String role)
throws WorkflowException
user -
WorkflowException
void removeWorkingUsers(State state)
throws WorkflowException
state - state for which the user is interested
WorkflowException
void addInterestedUser(User user,
State state,
String role)
throws WorkflowException
user - user to addstate - state for which the user is interestedrole - role name under which the user is interested
WorkflowException
void addInterestedUser(Actor actor,
State state)
throws WorkflowException
WorkflowException
void removeInterestedUser(User user,
State state,
String role)
throws WorkflowException
user - user to removestate - state for which the user is interestedrole - role name under which the user is interested
WorkflowException
void removeInterestedUsers(State state)
throws WorkflowException
state - state for which the user is interested
WorkflowException
void lock()
throws WorkflowException
WorkflowException
void unLock()
throws WorkflowException
WorkflowExceptionvoid setErrorStatus(boolean errorStatus)
errorStatus - true if this instance is in errorvoid computeValid()
void cancelQuestion(Question question)
throws WorkflowException
question - the question to cancel
WorkflowExceptionvoid setTimeoutStatus(boolean timeoutStatus)
timeoutStatus - true if this instance is in an active state for a long long time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||