Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.mail.actionpipe
Class ExtractMessageInformation

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

public class ExtractMessageInformation
extends AbstractCaseManagementMailAction

Extract attached files and info from the message

Message body is parsed to extract some metadata information

Author:
Laurent Doguin

Field Summary
static String DEFAULT_BINARY_MIMETYPE
           
static String MESSAGE_RFC822_MIMETYPE
           
 
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
ExtractMessageInformation()
           
 
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
 

Field Detail

DEFAULT_BINARY_MIMETYPE

public static final String DEFAULT_BINARY_MIMETYPE
See Also:
Constant Field Values

MESSAGE_RFC822_MIMETYPE

public static final String MESSAGE_RFC822_MIMETYPE
See Also:
Constant Field Values
Constructor Detail

ExtractMessageInformation

public ExtractMessageInformation()
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.