org.silverpeas.wysiwyg.control.result
Class MailContentProcess

java.lang.Object
  extended by org.silverpeas.wysiwyg.control.result.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
static class MailContentProcess.MailResult
          Container of Mail transformation resulting.
 
Constructor Summary
MailContentProcess()
           
 
Method Summary
 MailContentProcess.MailResult execute(String wysiwygContent)
          Executes the process on the given WYSIWYG content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailContentProcess

public MailContentProcess()
Method Detail

execute

public MailContentProcess.MailResult execute(String wysiwygContent)
                                      throws Exception
Description copied from interface: WysiwygContentTransformerProcess
Executes the process on the given WYSIWYG content.

Specified by:
execute in interface WysiwygContentTransformerProcess<MailContentProcess.MailResult>
Parameters:
wysiwygContent - the WYSIWYG content source.
Returns:
the typed result of the WYSIWYG transformation process.
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.