com.ibm.commerce.emarketing.commands

Class ListRetryRecipientsForEmailActivityTaskCmdImpl

  • 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.ListRetryRecipientsForEmailActivityTaskCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, ListRetryRecipientsForEmailActivityTaskCmd, EmailRecipientSupplier, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getEmailRecipients()
      Returns the EmailRecipient objects representing the e-mail recipients.
      java.lang.String getQuery()
      Gets the SQL query to use in order to generate the result set of email recipients.
      void performExecute()
      Performs the execution of the command.
      void setActivityId(java.lang.Integer activityId)
      Sets the ID of the e-mail activity.
      • 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

      • ListRetryRecipientsForEmailActivityTaskCmdImpl

        public ListRetryRecipientsForEmailActivityTaskCmdImpl()
    • Method Detail

      • getEmailRecipients

        public java.util.List getEmailRecipients()
        Description copied from interface: EmailRecipientSupplier
        Returns the EmailRecipient objects representing the e-mail recipients.
        Specified by:
        getEmailRecipients in interface EmailRecipientSupplier
        Returns:
        A List of EmailRecipient objects.
        See Also:
        com.ibm.commerce.emarketing.engine._emailRecipientsupplier#get_emailRecipients()
      • getQuery

        public java.lang.String getQuery()
        Gets the SQL query to use in order to generate the result set of email recipients.
        Specified by:
        getQuery in interface EmailRecipientSupplier
        Returns:
        An SQL String. Each row in the ResultSet returned from the String contains the user ID of the recipient in its first column. Every column after the first column will contain an email address that is to be used to send email to the recipient. This allows multiple email messages to be sent to the same person at different addresses.
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the execution of the command. It is called to find out who to resend the e-mail.
        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 EmailBouncedRecipientAccessBean or AddressAccessBean cannot record data successfully.
      • setActivityId

        public void setActivityId(java.lang.Integer activityId)
        Sets the ID of the e-mail activity.
        Specified by:
        setActivityId in interface ListRetryRecipientsForEmailActivityTaskCmd
        Parameters:
        activityId - The ID of the e-mail activity.
        See Also:
        com.ibm.commerce.emarketing.ListRetryRecipientsForEmailActivityTaskCmd