com.ibm.commerce.emarketing.commands

Class ResendEmailActivityTaskCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.TaskCommandImpl
            • com.ibm.commerce.emarketing.commands.ResendEmailActivityTaskCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, ResendEmailActivityTaskCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class ResendEmailActivityTaskCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements ResendEmailActivityTaskCmd
    The default implementation of ResendEmailActivityTaskCmd.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      short getMaxRetriesForActivity()
      Gets the maximum retries of the e-mail activity.
      void performExecute()
      Performs the execution of the command.
      void setActivityId(java.lang.Integer activityId)
      Sets the ID of the e-mail activity to resend.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

    • Constructor Detail

      • ResendEmailActivityTaskCmdImpl

        public ResendEmailActivityTaskCmdImpl()
    • Method Detail

      • getMaxRetriesForActivity

        public short getMaxRetriesForActivity()
        Gets the maximum retries of the e-mail activity.
        Specified by:
        getMaxRetriesForActivity in interface ResendEmailActivityTaskCmd
        Returns:
        the maximum retries of the e-mail activity.
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the execution of the command.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException - Thrown when EmailPromotionAccessBean, EmailRetryPolicyStoreRelationAccessBean, EmailBouncedRecipientAccessBean or EmailRetryPolicyAccessBean cannot record data successfully.
      • setActivityId

        public void setActivityId(java.lang.Integer activityId)
        Sets the ID of the e-mail activity to resend.
        Specified by:
        setActivityId in interface ResendEmailActivityTaskCmd
        Parameters:
        activityId - The ID of the e-mail activity.