com.ibm.commerce.emarketing.commands
Class EmailPromotionUpdateTaskCmdImpl

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.EmailPromotionUpdateTaskCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, EmailPromotionSaveTaskCmd, EmailPromotionUpdateTaskCmd, TaskCommand

public class EmailPromotionUpdateTaskCmdImpl
extends EmailPromotionSaveTaskCmdImpl
implements EmailPromotionUpdateTaskCmd

The default implementation of EmailPromotionUpdateTaskCmd.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.emarketing.commands. EmailPromotionUpdateTaskCmd
defaultCommandClassName
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
EmailPromotionUpdateTaskCmdImpl()
           
 
Method Summary
 boolean isReadyToCallExecute()
          Checks to see if the command is ready to execute.
 void performExecute()
          Performs the execution of the command.
 
Methods inherited from class com.ibm.commerce.emarketing.commands. EmailPromotionSaveTaskCmdImpl
getDescription, getEmailMessageId, getEmailPromotionId, getJobReferenceNumber, getMemberGroupId, getModifiedBy, getModifiedDate, getName, getStatus, getStoreEntityId, setDescription, setEmailMessageId, setEmailPromotionId, setJobReferenceNumber, setMemberGroupId, setModifiedBy, setModifiedDate, setName, setStatus, setStoreEntityId
 
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
 
Methods inherited from interface com.ibm.commerce.emarketing.commands. EmailPromotionUpdateTaskCmd
getJobReferenceNumber
 
Methods inherited from interface com.ibm.commerce.emarketing.commands. EmailPromotionSaveTaskCmd
getEmailPromotionId, setDescription, setEmailMessageId, setEmailPromotionId, setJobReferenceNumber, setMemberGroupId, setModifiedBy, setModifiedDate, setName, setStatus, setStoreEntityId
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

EmailPromotionUpdateTaskCmdImpl

public EmailPromotionUpdateTaskCmdImpl()
Method Detail

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 promotion ID, e-mail message ID, member group ID, name and store ID setters have been passed data other than null.

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 or EmailPromotionMemberGroupRelationAccessBean cannot record data successfully.