|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RulesManager
This interface defines a stateless API for executing named rule sets and/or rules using the underlying BEA rules engine. This interface is exposed as a stateless session EJB that can be created using the RulesManagerHome.
RulesManagerHome
| Field Summary | |
|---|---|
static String |
RULESET_REPOSITORY_CLASS_NAMEThe environment entry key for reading the RuleSetRepository implementation class name. |
| Fields inherited from interface com.bea.p13n.rules.manager.RuleSetRepository |
|---|
BINARY_FORMAT, STRING_FORMAT |
| Method Summary | |
|---|---|
Iterator |
evaluateRule(String ruleSetUri, String ruleName, Object[] inputObjects)Applies a named rule to the set of objects provided by the caller and returns an iterator over the resultant set of objects. |
Iterator |
evaluateRule(String ruleSetUri, String ruleName, Object[] inputObjects, ObjectFilter filter)Applies a named rule to the set of objects provided by the caller and returns an iterator over the resultant set of objects that pass the given filter. |
Iterator |
evaluateRuleSet(String ruleSetUri, Object[] inputObjects)Applies a named set of rules to the set of objects provided by the caller and returns an iterator over the resultant set of objects. |
Iterator |
evaluateRuleSet(String ruleSetUri, Object[] inputObjects, ObjectFilter filter)Applies a named set of rules to the set of objects provided by the caller and returns an iterator over the resultant set of objects that pass the given filter. |
String |
getRuleSet(String ruleSetUri)Deprecated replaced by RuleSetRepository.getRuleSet(String, int) |
| Methods inherited from interface javax.ejb.EJBObject |
|---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Methods inherited from interface com.bea.p13n.rules.manager.RuleSetRepository |
|---|
getRuleSet, getRuleSets, removeRuleSet, setRuleSet |
| Field Detail |
|---|
static final String RULESET_REPOSITORY_CLASS_NAME
RuleSetRepository implementation class name. All methods defined on the RuleSetRespository interface are delegated to an instance of this class.
| Method Detail |
|---|
Iterator evaluateRuleSet(String ruleSetUri,
Object[] inputObjects)
throws RemoteException,
IllegalArgumentException,
ApplicationException
ruleSetUri - The URI of the rule set which contains the set of rules.inputObjects - The set of objects to which the rules are to be applied.IllegalArgumentException - if ruleSetUri is null or zero-length, or if inputObjects is null.ApplicationException - if the rule set execution subsystem is unable to execute the rule set.RemoteException - if a communication error occurs during the execution of a remote method call.
Iterator evaluateRuleSet(String ruleSetUri,
Object[] inputObjects,
ObjectFilter filter)
throws RemoteException,
IllegalArgumentException,
ApplicationException
ruleSetUri - The URI of the rule set which contains the set of rules.inputObjects - The set of objects to which the rules are to be appliedfilter - An ObjectFilter used to filter the results of rule exection.IllegalArgumentException - if ruleSetUri is null or zero-length, or if inputObjects is null.ApplicationException - if the rule set execution subsystem is unable to execute the rule set.RemoteException - if a communication error occurs during the execution of a remote method call.
Iterator evaluateRule(String ruleSetUri,
String ruleName,
Object[] inputObjects)
throws RemoteException,
IllegalArgumentException,
ApplicationException
ruleSetUri - The URI of the rule set which contains the rule to be executed.ruleName - The name of the rule to be executed.inputObjects - The set of objects to which the rule is to be appliedIllegalArgumentException - if ruleSetUri or ruleName are null or zero-length, or if inputObjects is null.ApplicationException - if the rule set execution subsystem is unable to execute the rule.RemoteException - if a communication error occurs during the execution of a remote method call.
Iterator evaluateRule(String ruleSetUri,
String ruleName,
Object[] inputObjects,
ObjectFilter filter)
throws RemoteException,
IllegalArgumentException,
ApplicationException
ruleSetUri - The URI of the rule set which contains the rule to be executed.ruleName - The name of the rule to be executed.inputObjects - The set of objects to which the rule is to be appliedfilter - An ObjectFilter used to filter the results of rule exection.IllegalArgumentException - if ruleSetUri or ruleName are null or zero-length, or if inputObjects is null.ApplicationException - if the rule set execution subsystem is unable to execute the rule.RemoteException - if a communication error occurs during the execution of a remote method call.
String getRuleSet(String ruleSetUri)
throws RuleSetNotFoundException,
ApplicationException,
IllegalArgumentException,
RemoteException
RuleSetRepository.getRuleSet(String, int)ruleSetUri - the URI of the target rule set.RuleSetNotFoundException - if the rule set referenced by the supplied URI cannot be located by the rule set repository subsystem.ApplicationException - if the rule set repository subsystem is unable to retrieve the rule set.IllegalArgumentException - if the ruleSetUri is an invalid rule set URI.RemoteException - if a communication error occurs during the execution of a remote method call.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.