1 25 package org.ofbiz.workflow; 26 27 import java.util.Iterator ; 28 import java.util.List ; 29 30 37 public interface WfResource { 38 39 44 public int howManyWorkItem() throws WfException; 45 46 51 public Iterator getIteratorWorkItem() throws WfException; 52 53 59 public List getSequenceWorkItem(int maxNumber) throws WfException; 60 61 67 public boolean isMemberOfWorkItems(WfAssignment member) throws WfException; 68 69 74 public String resourceKey() throws WfException; 75 76 81 public String resourceName() throws WfException; 82 83 88 public String resourceRoleId() throws WfException; 89 90 95 public String resourcePartyId() throws WfException; 96 97 104 public void release(WfAssignment fromAssignment, String releaseInfo) throws WfException, NotAssigned; 105 106 } | Popular Tags |