public class ParseMailBody extends AbstractCaseManagementMailAction
| Modifier and Type | Field and Description |
|---|---|
static Integer |
GROUP_TO_FIND_INDEX
The group used to find the index of the header in the body
|
static Map<String,Integer> |
monthMap |
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 and Description |
|---|
ParseMailBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
static void |
initializeMonthMap() |
static void |
parse(Object content,
Map<String,Object> resultMap) |
void |
reset(ExecutionContext context) |
public static final Integer GROUP_TO_FIND_INDEX
public static final void initializeMonthMap()
public boolean execute(ExecutionContext context) throws Exception
MessageActionIf it returns false, the following actions from the pipe are not executed.
ExceptionExecutionContextpublic static void parse(Object content, Map<String,Object> resultMap) throws Exception
Exceptionpublic void reset(ExecutionContext context) throws Exception
ExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.