com.ibm.commerce.tools.campaigns
Interface CampaignInitiativeScheduleAddCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CampaignInitiativeScheduleAddCmdImpl

public interface CampaignInitiativeScheduleAddCmd
extends TaskCommand

The CampaignInitiativeScheduleAddCmd interface must be implemented to provide a task command that schedules an initiative onto an e-marketing spot. Different implementations of this interface can be provided for different stores.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static java.lang.String defaultCommandClassName
          defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmd is not defined in the CMDREG table.
static java.lang.String Name
          The name of this interface.
 
Method Summary
 java.lang.Integer getInitiativeScheduleId()
          Returns the initiaive schedule ID of the newly created initiative schedule.
 void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
          Sets the e-marketing spot ID of the initiative schedule.
 void setEndDate(java.sql.Timestamp endDate)
          Sets the end date of the initiative schedule.
 void setInitiativeId(java.lang.Integer initiativeId)
          Sets the initiative ID of the initiative schedule.
 void setPriority(java.lang.Integer priority)
          Sets the priority of the initiative schedule.
 void setStartDate(java.sql.Timestamp startDate)
          Sets the start date of the initiative schedule.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmd is not defined in the CMDREG table.

Name

public static final java.lang.String Name
The name of this interface.
Method Detail

getInitiativeScheduleId

public java.lang.Integer getInitiativeScheduleId()
Returns the initiaive schedule ID of the newly created initiative schedule. You must execute this task command before accessing this value.
Returns:
An integer of the initiative schedule ID.

setEMarketingSpotId

public void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
Sets the e-marketing spot ID of the initiative schedule.
Parameters:
eMarketingSpotId - The e-marketing spot ID of the initiative schedule.

setEndDate

public void setEndDate(java.sql.Timestamp endDate)
Sets the end date of the initiative schedule.
Parameters:
endDate - The end date of the initiative schedule.

setInitiativeId

public void setInitiativeId(java.lang.Integer initiativeId)
Sets the initiative ID of the initiative schedule.
Parameters:
initiativeId - The initiative ID of the initiative schedule.

setPriority

public void setPriority(java.lang.Integer priority)
Sets the priority of the initiative schedule.
Parameters:
priority - The priority of the initiative schedule.

setStartDate

public void setStartDate(java.sql.Timestamp startDate)
Sets the start date of the initiative schedule.
Parameters:
startDate - The start date of the initiative schedule.