|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.brb.query.QueryNode
com.ibm.websphere.brb.query.AttributeNode
com.ibm.websphere.brb.query.FiringParametersNode
Allows the firingParameters
attribute of a rule to be queried.
A FiringParametersNode
is given an integer that indicates
the type of query to perform. You can find rules with null firing
parameters (IS_NULL) or with non-null firing parameters (IS_NOT_NULL).
Rules with null firing parameters means that the firing parameters from
the trigger point will be used.
The following example finds rules with null firing parameters:
IRuleFolder root = RuleMgmtHelper.getRootFolder(); FiringParametersNode node = new FiringParametersNode(FiringParametersNode.IS_NULL); Collection collection = root.findRules(node, true, IRule.TYPE_REFERENCE);These nodes can be combined with other
QueryNode
s by using an AndNode
or
an OrNode
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated. |
static int |
IS_NOT_NULL
Deprecated. Find rules where the firing parameters are not null. |
static int |
IS_NULL
Deprecated. Find rules where the firing parameters are null. |
Constructor Summary | |
---|---|
FiringParametersNode(int operationIn)
Deprecated. Constructs a FiringParametersNode that searches
the firingParameters field of rules with the
given comparison operator. |
Method Summary | |
---|---|
void |
buildWhereClause(java.lang.StringBuffer sb,
java.util.Vector boundAttributes)
Deprecated. FOR IBM INTERNAL USE ONLY. |
Methods inherited from class com.ibm.websphere.brb.query.QueryNode |
---|
getWhereClause, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final int IS_NULL
public static final int IS_NOT_NULL
Constructor Detail |
public FiringParametersNode(int operationIn)
FiringParametersNode
that searches
the firingParameters
field of rules with the
given comparison operator. The constants
for the operationIn
are defined in this class.
operationIn
- the type of comparison to performMethod Detail |
public void buildWhereClause(java.lang.StringBuffer sb, java.util.Vector boundAttributes)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |