@StableMinor(version="12.3", sinceVersion="11.2") public interface IEmailTemplate
Modifier and Type | Method and Description |
---|---|
ISingleMail |
format(IEmailTemplateVariableResolver variableResolver)
Returns the formated email.
|
String |
getBodyTemplate()
Returns the body template.
|
String |
getId()
Returns the identifier of the template.
|
Set<String> |
getRequiredVariables()
Returns the variables this template needs to be fully filled.
|
String |
getSenderAddressTemplate()
Returns the sender address 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 getSenderAddressTemplate()
String getServiceInstanceId()
Set<String> getRequiredVariables()
ISingleMail format(IEmailTemplateVariableResolver variableResolver) throws UnresolvedVariableException, PortalException
variableResolver
- the variable resolver.UnresolvedVariableException
- if some variable couldn't be resolved.PortalException
- if some other error occur.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.