org.nuxeo.ecm.platform.mail.utils
Class MailCoreHelper
java.lang.Object
org.nuxeo.ecm.platform.mail.utils.MailCoreHelper
public final class MailCoreHelper
- extends java.lang.Object
Helper for Mail Core.
- Author:
- Catalin Baican
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 |
PIPE_NAME
public static final java.lang.String PIPE_NAME
- See Also:
- Constant Field Values
INBOX
public static final java.lang.String INBOX
- See Also:
- Constant Field Values
DELETED_LIFECYCLE_STATE
public static final java.lang.String DELETED_LIFECYCLE_STATE
- See Also:
- Constant Field Values
EMAILS_LIMIT_DEFAULT
public static final long EMAILS_LIMIT_DEFAULT
- See Also:
- Constant Field Values
checkMail
public static void checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
throws java.lang.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:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.