@StableMinor(version="12.0", sinceVersion="11.2") public interface IEmailTemplate
Modifier and Type | Method and Description |
---|---|
ISingleMail |
format(String to,
IEmailTemplateVariableResolver variableResolver)
Returns the formated email.
|
String |
getBodyTemplate()
Returns the body template.
|
String |
getId()
Returns the identifier of the template.
|
Locale |
getLocale()
Returns the locale of the template.
|
Set<String> |
getRequiredVariables()
Returns the variables this template needs to be fully filled.
|
String |
getSenderAddress()
Returns the senderAddress of the template.
|
String |
getServiceInstanceId()
Returns the identifier of the service instance in witch the template was created on.
|
String |
getSubjectTemplate()
Returns the subject template.
|
String |
getTitle()
Returns the (informative only) title of the template.
|
String getId()
String getSubjectTemplate()
String getTitle()
String getBodyTemplate()
String getSenderAddress()
Locale getLocale()
String getServiceInstanceId()
Set<String> getRequiredVariables()
ISingleMail format(String to, IEmailTemplateVariableResolver variableResolver) throws UnresolvedVariableException, PortalException
to
- the receipt of the email.variableResolver
- the variable resolver.UnresolvedVariableException
- if some variable couldn't be resolved.PortalException
- if some other error occur.LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.