com.ibm.commerce.emarketing.commands
Class EmailPromotionCreateTaskCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.emarketing.commands.EmailPromotionSaveTaskCmdImpl
com.ibm.commerce.emarketing.commands.EmailPromotionCreateTaskCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, EmailPromotionCreateTaskCmd, EmailPromotionSaveTaskCmd, TaskCommand
- public class EmailPromotionCreateTaskCmdImpl
- extends EmailPromotionSaveTaskCmdImpl
- implements EmailPromotionCreateTaskCmd
The EmailPromotionCreateCmdImpl class implements the EmailPromotionCreateCmd interface to provide the task command that creates an e-mail promotion. Different implementations of this interface can be provided for different stores.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
- See Also:
- Constant Field Values
EmailPromotionCreateTaskCmdImpl
public EmailPromotionCreateTaskCmdImpl()
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Checks to see if the command is ready to execute.
-
- Overrides:
- isReadyToCallExecute in class AbstractECTargetableCommand
-
- Returns:
- true super.isReadyToCallExecute() returns true and the e-mail message ID, job reference number, member group ID, name and store ID setters have been passed data.
performExecute
public void performExecute()
throws ECException
- Performs the execution of the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - Thrown when EmailPromotionAccessBean cannot read data or EmailPromotionMemberGroupRelationAccessBean cannot write data successfully.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.