public class WFRule
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
WFRule()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static boolean | 
checkGroup(WKRole role,
          Group group,
          int currentWeight,
          Publication pub)  | 
protected static boolean | 
checkGroupList(WKRole role,
              ObjectIntTreeMap grpVoteMap,
              Publication pub)  | 
protected static boolean | 
checkMemberList(Publication pub,
               WKRole role,
               java.util.TreeSet<Member> mbrVoteSet)  | 
static boolean | 
checkRule(java.util.Set<WFRole> roleSet,
         ObjectIntTreeMap grpVoteMap,
         java.util.TreeSet<Member> mbrVoteSet,
         Publication pub,
         Member mbr)
This method determines whether a transition can be performed. 
 | 
public static final java.lang.String REVISION
public static boolean checkRule(java.util.Set<WFRole> roleSet, ObjectIntTreeMap grpVoteMap, java.util.TreeSet<Member> mbrVoteSet, Publication pub, Member mbr)
roleSet - the set of WFRole bound to the transitiongrpVoteMap - an HashMap with Group as keys, and an int[] for value This HashMap represent the current state of vote in the WFNotes associated with a transitionmbrVoteSet - a list of memberpub - the publication to be checkedmbr - the member who performs this ruleprotected static boolean checkMemberList(Publication pub, WKRole role, java.util.TreeSet<Member> mbrVoteSet)
protected static boolean checkGroupList(WKRole role, ObjectIntTreeMap grpVoteMap, Publication pub)
protected static boolean checkGroup(WKRole role, Group group, int currentWeight, Publication pub)
Copyright © 2001-2018 Jalios SA. All Rights Reserved.