Class MailContentProcess
- java.lang.Object
-
- org.silverpeas.core.contribution.content.wysiwyg.service.process.MailContentProcess
-
- All Implemented Interfaces:
WysiwygContentTransformerProcess<MailContentProcess.MailResult>
public class MailContentProcess extends Object implements WysiwygContentTransformerProcess<MailContentProcess.MailResult>
Transforms all referenced content links in order to be handled in mail sending. A content can be for example an attachment.- Author:
- Yohann Chastagnier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MailContentProcess.MailResult
Container of Mail transformation resulting.static class
MailContentProcess.WysiwygCkeditorMediaLinkUrlToDataSourceScanner
-
Constructor Summary
Constructors Constructor Description MailContentProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailContentProcess.MailResult
execute(String wysiwygContent)
Executes the process on the given WYSIWYG content.
-
-
-
Method Detail
-
execute
public MailContentProcess.MailResult execute(String wysiwygContent) throws org.silverpeas.kernel.SilverpeasException
Description copied from interface:WysiwygContentTransformerProcess
Executes the process on the given WYSIWYG content.- Specified by:
execute
in interfaceWysiwygContentTransformerProcess<MailContentProcess.MailResult>
- Parameters:
wysiwygContent
- the WYSIWYG content source.- Returns:
- the typed result of the WYSIWYG transformation process.
- Throws:
org.silverpeas.kernel.SilverpeasException
-
-