Nuxeo Enterprise Platform 5.4

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 java.lang.Object

Helper for Mail Core.

Author:
Catalin Baican

Field Summary
static java.lang.String DELETED_LIFECYCLE_STATE
           
static long EMAILS_LIMIT_DEFAULT
           
static java.lang.String INBOX
           
static java.lang.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 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
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.