Class NewsletterUtil
java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.util.NewsletterUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDomainUrl
(MailActionService.MailInfo mailInfo) static <T> T
getMailInfoAttribute
(MailActionService.MailInfo mailInfo, String name, Class<T> expectedClass) static String
static String
getReceiverUid
(MailActionService.MailInfo mailInfo, Entity receiverEntity) getUrlMap
(MailActionService.MailInfo mailInfo) static boolean
isNewsletterMail
(MailActionService.MailInfo mailInfo) static String
requireStringMailInfoAttribute
(MailActionService.MailInfo mailInfo, String name)
-
Method Details
-
isNewsletterMail
-
getReceiverUid
-
getDomainUrl
-
getNewsletterPageUrl
-
getUrlMap
-
requireStringMailInfoAttribute
public static String requireStringMailInfoAttribute(MailActionService.MailInfo mailInfo, String name) -
getMailInfoAttribute
@Nullable public static <T> T getMailInfoAttribute(MailActionService.MailInfo mailInfo, String name, Class<T> expectedClass)
-