com.ibm.commerce.marketing.commands.elements

Interface EmailIndividualActionTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, MarketingCampaignElementTaskCmd, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    EmailIndividualActionTaskCmdImpl


    public interface EmailIndividualActionTaskCmd
    extends MarketingCampaignElementTaskCmd
    This command sends an email based on the specified email template to the specified user.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • getMemberIdToSendEmail

        java.lang.Long getMemberIdToSendEmail()
        This method returns the member ID to whom to send the e-mail. The default implementation tries to find a registered user associated with the current personalization ID. If none if found, then it tries to find the latest guest user associated with the personalization ID. If none is found, then it returns the current member ID. A customization could override this method if the member ID may not be associated with the personalization ID, for example, to send the e-mail to the Account Representative associated with this users B2B account. Another example is that a specific Sales Representative should be send an e-mail that the customer has places an order for over $100,000.
        Returns:
        This method returns a member ID to which the e-mail should be sent. If null is returned, then no e-mail will be sent.