Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.mail.actionpipe
Class StartAction

java.lang.Object
  extended by org.nuxeo.cm.mail.actionpipe.AbstractCaseManagementMailAction
      extended by org.nuxeo.cm.mail.actionpipe.StartAction
All Implemented Interfaces:
MailActionPipeConstants, org.nuxeo.ecm.platform.mail.action.MessageAction

public class StartAction
extends AbstractCaseManagementMailAction

Start action, skipping read emails.

Message is marked read so that it's not treated again. It's also flagged in case the pipe does not finish because it cannot be treated correctly.

Author:
Anahide Tchertchian

Field Summary
 
Fields inherited from interface org.nuxeo.cm.mail.actionpipe.MailActionPipeConstants
ATTACHMENTS_KEY, BODY_KEY, CASEMANAGEMENT_SERVICE_KEY, CORE_SESSION_ID_KEY, MESSAGE_ID_KEY, MIMETYPE_SERVICE_KEY, ORIGINAL_CC_RECIPIENTS_KEY, ORIGINAL_RECEPTION_DATE_KEY, ORIGINAL_SENDER_NAME_KEY, ORIGINAL_SENDERS_KEY, ORIGINAL_TO_RECIPIENTS_KEY, RECEPTION_DATE_KEY, SENDER_EMAIL_KEY, SENDER_KEY, SUBJECT_KEY
 
Constructor Summary
StartAction()
           
 
Method Summary
 boolean execute(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
           
 void reset(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartAction

public StartAction()
Method Detail

execute

public boolean execute(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
                throws Exception
Throws:
Exception

reset

public void reset(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
           throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.