com.bea.commerce.campaign
Interface Campaign
- All Superinterfaces:
- CampaignInfo, java.lang.Cloneable, java.lang.Comparable, ScenarioContainer, java.io.Serializable
- public interface Campaign
- extends CampaignInfo, ScenarioContainer
The runtime definition of a campaign.
Field Summary |
static short |
AND
Boolean AND logic. |
static short |
OR
Boolean OR logic. |
Method Summary |
short |
getGoalLogic()
Tell if all goals need to be met, or just one. |
java.util.List |
getGoals()
Get the list of goals. |
long |
getLastModified()
Get the time this campaign was last modified. |
java.util.List |
getLinkedScenarioIds()
Get the list of ids of the linked scenarios. |
boolean |
isActive()
Determine if this campaign is currently active, based upon all
campaign information. |
Methods inherited from interface com.bea.commerce.campaign.CampaignInfo |
clone, getActiveFlag, getDescription, getGoalDescription, getName, getSponsor, getStartDate, getStopDate, getUniqueId, getValueProposition, isShutdown |
Methods inherited from interface java.lang.Comparable |
compareTo |
AND
public static final short AND
- Boolean AND logic.
OR
public static final short OR
- Boolean OR logic.
getLastModified
public long getLastModified()
- Get the time this campaign was last modified.
isActive
public boolean isActive()
- Determine if this campaign is currently active, based upon all
campaign information.
- Specified by:
isActive
in interface ScenarioContainer
getGoals
public java.util.List getGoals()
- Get the list of goals.
getGoalLogic
public short getGoalLogic()
- Tell if all goals need to be met, or just one.
- Returns:
- AND or OR.
getLinkedScenarioIds
public java.util.List getLinkedScenarioIds()
- Get the list of ids of the linked scenarios.
- Returns:
- a list of String scenario ids.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved