Novell exteNd
Director 5.2 API

com.sssw.re.api
Interface EbiCondition


public interface EbiCondition

Interface that defines the necessary support for a class to be considered a "condition" in the Rules subsystem.

Typically, conditions are implemented as JavaBeans with properties that can be set in the Rule Editor. You can write an action using a generic property panel or create a custom panel by implementing public java.awt.Component getParameterPanel(). For implementation details, see Defining properties for custom Conditons and Actions in Director On-line help.


Method Summary
 boolean doCondition(EbiContext context)
          Perform the condition and return if it is satisfied or not.
 

Method Detail

doCondition

public boolean doCondition(EbiContext context)
                    throws EboConditionException
Perform the condition and return if it is satisfied or not.
Parameters:
context - Rule context of the request
Returns:
true if a valid access exists false otherwise
Throws:
EboConditionException - if a problem occurs during the the condition validation. If an exception is thrown, rule processing is terminated and any notification listeners are notified.

Novell exteNd
Director 5.2 API