|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmdImpl
The CampaignInitiativeScheduleAddCmdImpl class implements the 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.
Field Summary | |
protected java.lang.Integer |
_eMarketingSpotId
e-Marketing spot ID. |
protected java.sql.Timestamp |
_endDate
Initiative schedule end date. |
protected java.lang.Integer |
_initiativeId
Campaign initiative ID. |
protected java.lang.Integer |
_initiativeScheduleId
Initiative schedule ID. |
protected java.lang.Integer |
_priority
Initiative schedule priority. |
protected java.sql.Timestamp |
_startDate
Initiative schedule start date. |
static java.lang.String |
COPYRIGHT
Copyright. |
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmd |
defaultCommandClassName, Name |
Constructor Summary | |
CampaignInitiativeScheduleAddCmdImpl()
|
Method Summary | |
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 |
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 class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
protected java.lang.Integer _eMarketingSpotId
protected java.sql.Timestamp _endDate
protected java.lang.Integer _initiativeId
protected java.lang.Integer _initiativeScheduleId
protected java.lang.Integer _priority
protected java.sql.Timestamp _startDate
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CampaignInitiativeScheduleAddCmdImpl()
Method Detail |
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 AbstractECCommand
true
if the command is ready to go.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |