Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.mail.action
Class StoreMessageAction

java.lang.Object
  extended by org.nuxeo.ecm.platform.mail.action.StoreMessageAction
All Implemented Interfaces:
MessageAction

public class StoreMessageAction
extends java.lang.Object
implements MessageAction

Author:
Alexandre Russel

Field Summary
static java.lang.String MAIL_MESSAGE
           
 
Constructor Summary
StoreMessageAction(java.lang.String parentPath)
           
 
Method Summary
 boolean execute(ExecutionContext context)
          Executes one action.
 void reset(ExecutionContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIL_MESSAGE

public static final java.lang.String MAIL_MESSAGE
See Also:
Constant Field Values
Constructor Detail

StoreMessageAction

public StoreMessageAction(java.lang.String parentPath)
Method Detail

execute

public boolean execute(ExecutionContext context)
                throws java.lang.Exception
Description copied from interface: MessageAction
Executes one action.

If it returns false, the following actions from the pipe are not executed.

Specified by:
execute in interface MessageAction
Throws:
java.lang.Exception
See Also:
ExecutionContext

reset

public void reset(ExecutionContext context)
           throws java.lang.Exception
Specified by:
reset in interface MessageAction
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.