Uses of Class
io.meeds.portal.mail.model.EmailBrand
Packages that use EmailBrand
-
Uses of EmailBrand in io.meeds.portal.mail.model
Methods in io.meeds.portal.mail.model that return EmailBrandModifier and TypeMethodDescriptionstatic EmailBrandEmailBrand.current()The brand of the site, for a template that has no branding service at hand; the default brand when the site cannot be reached.static EmailBrandEmailBrand.from(org.exoplatform.portal.branding.BrandingService brandingService) -
Uses of EmailBrand in io.meeds.portal.mail.util
Methods in io.meeds.portal.mail.util with parameters of type EmailBrandModifier and TypeMethodDescriptionstatic StringEmailLayout.actionLink(EmailBrand brand, String label, String href, boolean primary) A button for an email that is laid out by its own template, such as a notification: a flat button with rounded corners.static StringEmailLayout.fontStack(EmailBrand brand) static StringEmailLayout.headerRow(EmailBrand brand, String title) The header of an email as a table row, for the emails that are laid out by their own template (the notifications) and only share the look of the header: the company name and the title in the brand colorstatic StringEmailLayout.headerRow(EmailBrand brand, String title, String lang) The same header for a reader whose language is written from right to left, whenlangsays sostatic StringEmailLayout.linkColor(EmailBrand brand) static StringEmailLayout.render(EmailModel model, EmailBrand brand) static StringEmailPreview.render(String template, EmailBrand brand, ResourceBundle bundle, String lang, String siteUrl) static StringEmailPreview.render(String template, EmailBrand brand, ResourceBundle bundle, String lang, String siteUrl, EmailPreviewReader reader) Same asEmailPreview.render(String, EmailBrand, ResourceBundle, String, String)with the person who reads the preview, so that the greeting is the one the administrator would get; a blank value is replaced by a sample one