© 2002 BEA Systems, Inc.


com.bea.campaign
Interface Campaign


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.campaign.CampaignInfo
clone, getActiveFlag, getDescription, getGoalDescription, getName, getSponsor, getStartDate, getStopDate, getUniqueId, getValueProposition, isShutdown
 
Methods inherited from interface com.bea.campaign.ScenarioContainer
getContainerType
 

Field Detail

AND

public static final short AND
Boolean AND logic.

OR

public static final short OR
Boolean OR logic.
Method Detail

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.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved