com.ibm.commerce.emarketing.engine

Interface PersonalizedEmailContent

  • All Superinterfaces:
    EmailContent
    All Known Implementing Classes:
    PersonalizedContentManagedEmailContent, PersonalizedURLEmailContent


    public interface PersonalizedEmailContent
    extends EmailContent
    An extension to the EmailContent interface that identifies implementors as e-mail content that is capable of personalizing its content based on the recipient ID passed to it. Implementations of this class are to be used when one wishes to have EmailDistributor implementations iterate through each EmailRecipient object's id, passing it to an implementator of this interface before request the content of the message from it.
    • Method Detail

      • getRecipient

        Recipient getRecipient()
        Returns the Recipient on behalf of which the e-mail content will be personalized.
        Returns:
        the Recipient for which the content will be personalized.
      • getSendEmail

        boolean getSendEmail()
        This method gets the setting whether the e-mail should be sent to the customer. The e-mail should not be sent if the entire e-mail content could not be generated.
        Returns:
        This method returns if the e-mail should be sent. The default setting for the class is true.
      • setRecipient

        void setRecipient(Recipient recipient)
        Sets the Recipient on behalf of which the e-mail content will be personalized.
        Parameters:
        recipient - the Recipient for which the content will be personalized.