© 2005 BEA Systems, Inc.

com.bea.campaign
Interface Scenario

All Superinterfaces:
Cloneable, Comparable, ScenarioInfo, Serializable

public interface Scenario
extends ScenarioInfo

A scenario's runtime definition.


Field Summary
static short AND
          Boolean AND logic.
static short OR
          Boolean OR logic.
 
Method Summary
 boolean checksClassifications()
          Does the scenario check for Classifications.
 String getClassifiersRulesetName()
          The name of the classifier's ruleset to use.
 long getLastModified()
          The last time this scenario was modified.
 String getScenarioRulesetName()
          The name of the scenario's ruleset.
 List getValidClassificationNames()
          The list of classification names for which this scenario is valid.
 short getValidClassificationsLogic()
          Get the valid classifications boolean logic.
 Collection getValidEventTypes()
          The list of event types the scenario ruleset checks for.
 
Methods inherited from interface com.bea.campaign.ScenarioInfo
getActiveFlag, getDescription, getName, getUniqueId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

AND

public static final short AND
Boolean AND logic.

See Also:
Constant Field Values

OR

public static final short OR
Boolean OR logic.

See Also:
Constant Field Values
Method Detail

checksClassifications

public boolean checksClassifications()
Does the scenario check for Classifications.


getClassifiersRulesetName

public String getClassifiersRulesetName()
The name of the classifier's ruleset to use.


getLastModified

public long getLastModified()
The last time this scenario was modified.


getScenarioRulesetName

public String getScenarioRulesetName()
The name of the scenario's ruleset.


getValidClassificationNames

public List getValidClassificationNames()
The list of classification names for which this scenario is valid.

Empty list implies being valid for any user.

Returns:
the list of String names.

getValidClassificationsLogic

public short getValidClassificationsLogic()
Get the valid classifications boolean logic.

Returns:
AND or OR.

getValidEventTypes

public Collection getValidEventTypes()
The list of event types the scenario ruleset checks for.

Returns:
the list of valid event types (null for none).

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved