Scenario Interface

com.bea.campaign
Scenario Interface

public interface Scenario

    extends ScenarioInfo

A scenario's runtime definition.


All Superinterfaces
Cloneable, Comparable, ScenarioInfo, Serializable

Field Summary

public static final short
AND
Boolean AND logic.
public static final short
OR
Boolean OR logic.
 

Method Summary

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

Field Detail

AND

public static final short AND
Boolean AND logic.


OR

public static final short OR
Boolean OR logic.

 

Method Detail

checksClassifications() Method

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


getClassifiersRulesetName() Method

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


getLastModified() Method

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


getScenarioRulesetName() Method

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


getValidClassificationNames() Method

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() Method

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

Returns

AND or OR.

getValidEventTypes() Method

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

Returns

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