Interface IEmailTemplateManager
-
@StableMinor(version="16.1", sinceVersion="11.2") public interface IEmailTemplateManager
Email template manager.- Since:
- 11.2.0
- Version:
- $Revision: 26157 $ $Date: 2024-01-13 11:35:03 -0300 (Sat, 13 Jan 2024) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IEmailTemplate
get(java.lang.String id)
Returns the email template with the given identifier.java.util.Collection<IEmailTemplate>
getByServiceInstance(java.lang.String serviceInstanceId)
Returns the email templates of a given service instance.
-
-
-
Method Detail
-
get
IEmailTemplate get(java.lang.String id) throws PortalException
Returns the email template with the given identifier.- Parameters:
id
- the email template identifier.- Returns:
- the email template with the given identifier.
- Throws:
PortalObjectNotFoundException
- if no email template with the given id was found.PortalException
- if some error occur.- Since:
- 11.2.0
-
getByServiceInstance
java.util.Collection<IEmailTemplate> getByServiceInstance(java.lang.String serviceInstanceId) throws PortalException
Returns the email templates of a given service instance.- Parameters:
serviceInstanceId
- the identifier of the service instance.- Returns:
- the email templates of a given service instance.
- Throws:
PortalException
- if some error occur.- Since:
- 11.2.0
-
-