BEA Systems, Inc.

com.beasys.commerce.reasoning.rules.editor.jspbeans
Class WhenClassifierBean

java.lang.Object
  |
  +--com.beasys.commerce.reasoning.rules.editor.jspbeans.WhenClassifierBean

public class WhenClassifierBean
extends java.lang.Object


Constructor Summary
WhenClassifierBean()
           
 
Method Summary
protected  void addSimpleCondition(com.beasys.commerce.axiom.reasoning.rules.When aWhen, java.lang.String scName)
          Adds a simple condition to a When phrase
 java.util.ArrayList getSimpleConditionNames(com.beasys.commerce.axiom.reasoning.rules.When whenPhrase)
           
protected  void removeSimpleCondition(com.beasys.commerce.axiom.reasoning.rules.When aWhen, java.lang.String scName)
          Removes a simple condition from a When phrase
 void resetWhenClassifiers(com.beasys.commerce.axiom.reasoning.rules.When whenPhrase, javax.servlet.http.HttpServletRequest request)
          Selects and de-selects simple conditions from a When phrase based on form input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhenClassifierBean

public WhenClassifierBean()
Method Detail

getSimpleConditionNames

public java.util.ArrayList getSimpleConditionNames(com.beasys.commerce.axiom.reasoning.rules.When whenPhrase)
Returns:
an ArrayList of SimpleCondition names for the given When phrase

resetWhenClassifiers

public void resetWhenClassifiers(com.beasys.commerce.axiom.reasoning.rules.When whenPhrase,
                                 javax.servlet.http.HttpServletRequest request)
Selects and de-selects simple conditions from a When phrase based on form input.

removeSimpleCondition

protected void removeSimpleCondition(com.beasys.commerce.axiom.reasoning.rules.When aWhen,
                                     java.lang.String scName)
Removes a simple condition from a When phrase
Parameters:
aWhen - the When phrase to remove from
scName - the name of the SimpleCondition to remove

addSimpleCondition

protected void addSimpleCondition(com.beasys.commerce.axiom.reasoning.rules.When aWhen,
                                  java.lang.String scName)
Adds a simple condition to a When phrase
Parameters:
aWhen - the When phrase to add to
scName - the name of the SimpleCondition to add

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved