com.ibm.commerce.emarketing.commands

Interface SendEmailActivityTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    SendEmailActivityTaskCmdImpl


    public interface SendEmailActivityTaskCmd
    extends com.ibm.commerce.command.TaskCommand
    The interface for any TaskCommand that is to be used to send e-mail activities.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
      static java.lang.String defaultCommandClassName
      Default implementation class for this command.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setEmailPromotionId(java.lang.Integer newEmailPromotionId)
      Sets the EmailPromotionId for this command.
      void setMemberGroupIds(java.lang.String[] mbrGrpIds, java.lang.String anyOrAll)
      This method sets the additonal member group IDs of the customer segment to which to send the the bulk email.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Default implementation class for this command.
    • Method Detail

      • setEmailPromotionId

        void setEmailPromotionId(java.lang.Integer newEmailPromotionId)
        Sets the EmailPromotionId for this command.
        Parameters:
        Integer - emailPromotionId
      • setMemberGroupIds

        void setMemberGroupIds(java.lang.String[] mbrGrpIds,
                               java.lang.String anyOrAll)
        This method sets the additonal member group IDs of the customer segment to which to send the the bulk email. These IDs are in addition to the member group passed in through the request property parameter memberGroupId to this command.
        Parameters:
        mbrGrpIds - The set of IDs of the member groups to which to send the bulk email.
        anyOrAll - Should the email be sent to the customers in each of the specified groups (any), or should the email be sent to those who are in all of the specified groups (all). Valid values are: any, all.