Class StoreMessageAction
- java.lang.Object
-
- org.nuxeo.ecm.platform.mail.action.StoreMessageAction
-
- All Implemented Interfaces:
MessageAction
public class StoreMessageAction extends Object implements MessageAction
- Author:
- Alexandre Russel
-
-
Field Summary
Fields Modifier and Type Field Description static StringMAIL_MESSAGEprotected StringparentPath
-
Constructor Summary
Constructors Constructor Description StoreMessageAction(String parentPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(ExecutionContext context)Executes one action.protected StringgetMailDocumentType()voidreset(ExecutionContext context)
-
-
-
Field Detail
-
MAIL_MESSAGE
public static final String MAIL_MESSAGE
- See Also:
- Constant Field Values
-
parentPath
protected final String parentPath
-
-
Constructor Detail
-
StoreMessageAction
public StoreMessageAction(String parentPath)
-
-
Method Detail
-
execute
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
Description copied from interface:MessageActionExecutes one action.If it returns false, the following actions from the pipe are not executed.
- Specified by:
executein interfaceMessageAction- Throws:
javax.mail.MessagingException- See Also:
ExecutionContext
-
getMailDocumentType
protected String getMailDocumentType()
-
reset
public void reset(ExecutionContext context)
- Specified by:
resetin interfaceMessageAction
-
-