1 25 package org.ofbiz.workflow; 26 27 import java.util.Map ; 28 import java.util.Iterator ; 29 import java.util.List ; 30 31 38 public interface WfProcessMgr { 39 40 44 public int howManyProcess() throws WfException; 45 46 50 public Iterator getIteratorProcess() throws WfException; 51 52 57 public List getSequenceProcess(int maxNumber) throws WfException; 58 59 64 public boolean isMemberOfProcess(WfProcess member) throws WfException; 65 66 70 public List processMgrStateType() throws WfException; 71 72 77 public void setProcessMgrState(String newState) throws WfException, TransitionNotAllowed; 78 79 83 public String name() throws WfException; 84 85 89 public String description() throws WfException; 90 91 95 public String category() throws WfException; 96 97 101 public String version() throws WfException; 102 103 107 public Map contextSignature() throws WfException; 108 109 113 public Map resultSignature() throws WfException; 114 115 119 public Map getInitialContext() throws WfException; 120 121 130 public WfProcess createProcess(WfRequester requester) 131 throws WfException, NotEnabled, InvalidRequester, RequesterRequired; 132 133 } | Popular Tags |