Class NewsletterLinksMailActionExtension
java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.stats.NewsletterLinksMailActionExtension
- All Implemented Interfaces:
MailActionExtension
@Component
public class NewsletterLinksMailActionExtension
extends Object
implements MailActionExtension
Modify all newsletter links to track the clicks.
Set the attribute `data-no-tracking` on all links which should be ignored.
-
Constructor Summary
ConstructorDescriptionNewsletterLinksMailActionExtension
(CommandExecutor commandExecutor, EntityDefaultValueService defaultValueService, ContentTreeService contentTreeService, SecurityManager securityManager, NewsletterReceiverService newsletterReceiverService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
perform
(Entity baseEntity, Mail mail, Entity receiverEntity, MailActionService.MailInfo mailInfo)
-
Constructor Details
-
NewsletterLinksMailActionExtension
public NewsletterLinksMailActionExtension(CommandExecutor commandExecutor, EntityDefaultValueService defaultValueService, ContentTreeService contentTreeService, SecurityManager securityManager, NewsletterReceiverService newsletterReceiverService, org.slf4j.Logger log)
-
-
Method Details
-
perform
public void perform(Entity baseEntity, Mail mail, Entity receiverEntity, MailActionService.MailInfo mailInfo) - Specified by:
perform
in interfaceMailActionExtension
-