Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.mail.utils
Class MailCoreHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.mail.utils.MailCoreHelper

public final class MailCoreHelper
extends Object

Helper for Mail Core.

Author:
Catalin Baican

Field Summary
static String DELETED_LIFECYCLE_STATE
           
static long EMAILS_LIMIT_DEFAULT
           
static String INBOX
           
static String PIPE_NAME
           
 
Method Summary
static void checkMail(DocumentModel currentMailFolder, CoreSession coreSession)
          Creates MailMessage documents for every unread mail found in the INBOX.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIPE_NAME

public static final String PIPE_NAME
See Also:
Constant Field Values

INBOX

public static final String INBOX
See Also:
Constant Field Values

DELETED_LIFECYCLE_STATE

public static final String DELETED_LIFECYCLE_STATE
See Also:
Constant Field Values

EMAILS_LIMIT_DEFAULT

public static final long EMAILS_LIMIT_DEFAULT
See Also:
Constant Field Values
Method Detail

checkMail

public static void checkMail(DocumentModel currentMailFolder,
                             CoreSession coreSession)
                      throws Exception
Creates MailMessage documents for every unread mail found in the INBOX. The parameters needed to connect to the email INBOX are retrieved from the MailFolder document passed as a parameter.

Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.