1 25 package org.ofbiz.workflow; 26 27 import java.util.Iterator ; 28 import java.util.Map ; 29 import java.util.List ; 30 31 38 public interface WfProcess extends WfExecutionObject { 39 40 45 public WfRequester requester() throws WfException; 46 47 53 public void setRequester(WfRequester newValue) throws WfException, CannotChangeRequester; 54 55 59 public int howManyStep() throws WfException; 60 61 65 public Iterator getIteratorStep() throws WfException; 66 67 72 public List getSequenceStep(int maxNumber) throws WfException; 73 74 79 public boolean isMemberOfStep(WfActivity member) throws WfException; 80 81 86 public WfProcessMgr manager() throws WfException; 87 88 94 public Map result() throws WfException, ResultNotAvailable; 95 96 102 public void receiveResults(WfActivity activity, Map results) throws WfException; 103 104 109 public void activityComplete(WfActivity activity) throws WfException; 110 111 117 public void start() throws WfException, CannotStart, AlreadyRunning; 118 119 126 public void start(String activityId) throws WfException, CannotStart, AlreadyRunning; 127 128 134 public Iterator getActivitiesInState(String state) throws WfException, InvalidState; 135 136 } | Popular Tags |