Package com.day.cq.mailer.email
Interface RetrieverEmailTemplateFactory<Type extends Email>
-
- Type Parameters:
Type- Type of email
public interface RetrieverEmailTemplateFactory<Type extends Email>An interface to reference a an OSGI Service for creatingEmailTemplates. that are build form a a web page
This allow to share an instance wide configuration, like a From address or charSet- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailTemplate<? extends Type>create(java.net.URI uri)
-
-
-
Method Detail
-
create
EmailTemplate<? extends Type> create(java.net.URI uri) throws RepositoryException
- Parameters:
uri- to use as content of the Template to build- Returns:
- template or
nullif not able to build one - Throws:
RepositoryException- in case of exception building the template
-
-