public class CampaignInitiativeScheduleAddCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CampaignInitiativeScheduleAddCmd
CampaignInitiativeScheduleAddCmd
interface to provide
the task command that schedules an initiative onto an e-Marketing Spot. Different
implementations of this interface can be provided for different stores.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, Name
Constructor and Description |
---|
CampaignInitiativeScheduleAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getInitiativeScheduleId()
Returns the initiative schedule ID of the newly created initiative schedule.
|
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void |
performExecute()
Performs the execution of the command.
|
void |
setCollateralId(java.lang.Integer collateralId)
Sets the collateral ID of the 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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public CampaignInitiativeScheduleAddCmdImpl()
public java.lang.Integer getInitiativeScheduleId()
getInitiativeScheduleId
in interface CampaignInitiativeScheduleAddCmd
public boolean isReadyToCallExecute()
false
if the initiative ID, e-Marketing Spot ID, start date or end date are null.isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
true
if the command is ready to go.public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
ECCommand#performExecute()
public void setCollateralId(java.lang.Integer collateralId)
setCollateralId
in interface CampaignInitiativeScheduleAddCmd
collateralId
- The collateral ID of the initiative schedule.public void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
setEMarketingSpotId
in interface CampaignInitiativeScheduleAddCmd
eMarketingSpotId
- The e-Marketing Spot ID of the initiative schedule.public void setEndDate(java.sql.Timestamp endDate)
setEndDate
in interface CampaignInitiativeScheduleAddCmd
endDate
- The end date of the initiative schedule.public void setInitiativeId(java.lang.Integer initiativeId)
setInitiativeId
in interface CampaignInitiativeScheduleAddCmd
initiativeId
- The initiative ID of the initiative schedule.public void setPriority(java.lang.Integer priority)
setPriority
in interface CampaignInitiativeScheduleAddCmd
priority
- The priority of the initiative schedule.public void setStartDate(java.sql.Timestamp startDate)
setStartDate
in interface CampaignInitiativeScheduleAddCmd
startDate
- The start date of the initiative schedule.