Package io.meeds.commons.digest.service
Class DigestRecipientResolver
java.lang.Object
io.meeds.commons.digest.service.DigestRecipientResolver
What the digest email needs to know about its recipient and about the
platform, gathered from the existing notification helpers so that the digest
emails come from the same sender and use the same links as the instant ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFirstName(String username) The platform itself (/portal), for the platform name and the "+ N more" links: a direct link, not the notification redirection which lands on the home page of the default site (EXO-90020)The platform sender, the same as for the instant notification emailsgetSettingsUrl(String username) The user notification settings page, the same link as the instant emails footer
-
Constructor Details
-
DigestRecipientResolver
public DigestRecipientResolver()
-
-
Method Details
-
getEmail
- Returns:
- the recipient in the "Full Name<email>" form the mail queue expects, null when the user has no email
-
getFirstName
-
getLocale
-
getSender
The platform sender, the same as for the instant notification emails -
getPlatformName
-
getPlatformUrl
The platform itself (/portal), for the platform name and the "+ N more" links: a direct link, not the notification redirection which lands on the home page of the default site (EXO-90020) -
getSettingsUrl
The user notification settings page, the same link as the instant emails footer
-