com.ibm.commerce.negotiation.operation
Class RuleInterpreterFactory
java.lang.Object
com.ibm.commerce.negotiation.operation.RuleInterpreterFactory
- public class RuleInterpreterFactory
- extends java.lang.Object
This class manufactures RuleInterpreter Objects dynamically.
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
- Constant Field Values
RuleInterpreterFactory
public RuleInterpreterFactory()
- RuleInterpreterFactory constructor comment.
createRuleInterpreter
public static RuleInterpreter createRuleInterpreter(ControlRuleDataBean bean)
throws java.lang.Exception
- Create a RuleInterpreter Object based on the given databean. This databean should already has data in it. This method should be used when create or modify a ControlRuleDataBeean to the database.
-
- Parameters:
- bean - com.ibm.commerce.negotiation.objects.ControlRuleDataBean
- Returns:
- com.ibm.commerce.negotiation.operation.RuleInterpreter
- Throws:
- java.lang.Exception
createRuleInterpreter
public static RuleInterpreter createRuleInterpreter(ControlRuleAccessBean rule)
throws java.lang.Exception
- Create a RuleInterpreter Object based on the given control rule access bean.. This method should be used when you want to retrieve a ControlRuleDataBean from database knowing its id.
-
- Parameters:
- rule - com.ibm.commerce.negotiation.objects.ControlRuleAccessBean
- Returns:
- com.ibm.commerce.negotiation.operation.RuleInterpreter
- Throws:
- java.lang.Exception
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.