|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.wm.app.tn.route.RoutingRuleList
public class RoutingRuleList
Field Summary | |
---|---|
static int |
MOVE_DOWN
|
static int |
MOVE_FIRST
|
static int |
MOVE_LAST
|
static int |
MOVE_UP
|
Constructor Summary | |
---|---|
RoutingRuleList()
|
Method Summary | |
---|---|
boolean |
containsRuleName(java.lang.String name)
|
boolean |
containsRuleName(java.lang.String name,
java.lang.String ruleID)
|
java.lang.String[] |
getAllMatches(BizDocEnvelope doc,
java.lang.String me,
java.util.Hashtable atts)
|
com.wm.data.IData |
getIData()
|
int |
getMatchFrom(int idx,
BizDocEnvelope doc,
java.lang.String me,
java.util.Hashtable atts)
|
RoutingRule |
getRule(int i)
|
RoutingRule[] |
list()
|
void |
moveElement(int oldx,
int newx)
Moves a routing rule in the list. |
void |
setIData(com.wm.data.IData data)
|
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Field Detail |
---|
public static final int MOVE_FIRST
public static final int MOVE_LAST
public static final int MOVE_DOWN
public static final int MOVE_UP
Constructor Detail |
---|
public RoutingRuleList()
Method Detail |
---|
public void moveElement(int oldx, int newx)
oldx
- the index of the rule to be movednewx
- the new index to give it (or one of the constants)public int getMatchFrom(int idx, BizDocEnvelope doc, java.lang.String me, java.util.Hashtable atts)
me
- the partner ID corresponding to "self"doc
- a BizDocEnvelopeidx
- an index into the routing tableincludeDisabled
- should the match include disabled rules?
public java.lang.String[] getAllMatches(BizDocEnvelope doc, java.lang.String me, java.util.Hashtable atts)
doc
- a BizDocEnvelopeme
- the partner ID corresponding to "self"attrs
- a Hashtable of attributes to match (may be null)
public RoutingRule getRule(int i)
public RoutingRule[] list()
public boolean containsRuleName(java.lang.String name)
ruleName
- the name of the rule to check against
public boolean containsRuleName(java.lang.String name, java.lang.String ruleID)
ruleName
- the name of the rule to check against
public com.wm.data.IData getIData()
getIData
in interface com.wm.util.coder.IDataCodable
public void setIData(com.wm.data.IData data)
setIData
in interface com.wm.util.coder.IDataCodable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |