| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.rules.ResolutionService
public final class ResolutionService
Static methods that make it easier to run rules. You can run rules and rule bundles individually. This service simply provides convenience methods for running a set of rules.
| Constructor Summary | |
|---|---|
| ResolutionService() | |
| Method Summary | |
|---|---|
| static Mergeable | resolveRules(RuleContext context,
             Mergeable def,
             RuleBundle bundle)Runs the rules in a rule bundle, on a Mergeableobject. | 
| static Mergeable | resolveRules(RuleContext context,
             Mergeable def,
             java.util.Vector bundles)Runs the rules in a vector of rule bundles, on a single Mergeableobject. | 
| static Mergeable | resolveRules(RuleContext context,
             java.util.Vector defaults,
             java.util.Vector bundles)Runs the rules in a vector of rule bundles, on a vector of Mergeableobjects. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ResolutionService()
| Method Detail | 
|---|
public static final Mergeable resolveRules(RuleContext context,
                                           java.util.Vector defaults,
                                           java.util.Vector bundles)
Mergeable objects.
 This method clones the first Mergeable in the specified
 vector of Mergeable objects and merges the remaining
 Mergeable with the cloned object.
 Then this method runs the rule bundles that are in the specified vector
 of RuleBundle objects, passing the merged
 Mergeable object.
 RuleBundle objects are run in the order that they appear in
 the vector.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.defaults - The vector of Mergeable objects that
                 would be used to paint the DataView if
                 no rules applied. All the Mergeable
                 objects in the vector must be compatible with
                 each other.bundles - The vector of RuleBundle objects to run.
Mergeable that has been modified by the rules
         that have been fired.
public static final Mergeable resolveRules(RuleContext context,
                                           Mergeable def,
                                           java.util.Vector bundles)
Mergeable object.
 Then this method runs the rule bundles that are in the specified vector
 of RuleBundle objects, passing a clone of the specified
 Mergeable object.
 RuleBundle objects are run
 in the order that they appear in the vector.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.def - The Mergeable object that
                 would be used to paint the DataView if
                 no rules applied.bundles - The vector of RuleBundle objects to run.
Mergeable that has been modified by the rules
         that have been fired.
public static final Mergeable resolveRules(RuleContext context,
                                           Mergeable def,
                                           RuleBundle bundle)
Mergeable object.
 Then this method runs the specified RuleBundle object,
 passing a clone of the specified Mergeable object.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.def - The Mergeable object that
                 would be used to paint the DataView if
                 no rules applied.bundle - The RuleBundle object to run.
Mergeable that has been modified by the rules
         that have been fired.| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||