BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.service
Interface RulesService


public interface RulesService
extends javax.ejb.EJBObject

Specifies the behavior of a rules service


Method Summary
 java.util.Set applyRules(java.lang.String ruleSetURI, java.util.Set inputObjects, java.util.Set outputObjectsTypeFilter, java.util.Set outputObjectsCreatorFilter)
          Applies a named set of rules to the set of objects provided by the caller in order to produce a resultant set of objects.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

applyRules

public java.util.Set applyRules(java.lang.String ruleSetURI,
                                java.util.Set inputObjects,
                                java.util.Set outputObjectsTypeFilter,
                                java.util.Set outputObjectsCreatorFilter)
                         throws java.lang.IllegalArgumentException,
                                RulesServiceException,
                                java.rmi.RemoteException
Applies a named set of rules to the set of objects provided by the caller in order to produce a resultant set of objects.
Parameters:
ruleSetURI - The uri of the rule set which contains the set of rules that is to be applied.
inputObjects - The set of objects to which the rules are to be applied
outputObjectsTypeFilter - A set of class objects used to perform type-based selection of the return objects.
outputObjectsCreatorFilter - A set of output object creator name strings to be used to perform creator-name selection of the return objects after type-based filtering has been performed.
Returns:
A filtered set of objects which resulted from the application of the rules.
Throws:
java.lang.IllegalArgumentException - Thrown if ruleSetURI is null or zero-length, or if inputObjects is null or if outputObjectsTypeFilter is null.
RulesServiceException - thrown on an error in the rules service
java.rmi.RemoteException - thrown on a communication error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved