Class PersonalizedNewsletterLinkMailActionExtension
java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.stats.PersonalizedNewsletterLinkMailActionExtension
- All Implemented Interfaces:
MailActionExtension
@Component
public class PersonalizedNewsletterLinkMailActionExtension
extends Object
implements MailActionExtension
This mail action extension sets the correct link href for the personalized newsletter.
The href attribute will be set on all link tags (<a>
) with attribute data-personalized-newsletter
.
URL looks like this: http://www.example.com/path/to/newsletter/page?receiver=[receiver-uid]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
perform
(Entity baseEntity, Mail mail, Entity receiverEntity, MailActionService.MailInfo mailInfo)
-
Constructor Details
-
PersonalizedNewsletterLinkMailActionExtension
public PersonalizedNewsletterLinkMailActionExtension()
-
-
Method Details
-
perform
public void perform(Entity baseEntity, Mail mail, Entity receiverEntity, MailActionService.MailInfo mailInfo) - Specified by:
perform
in interfaceMailActionExtension
-