org.nuxeo.ecm.platform.mail.action
Class Visitor
java.lang.Object
org.nuxeo.ecm.platform.mail.action.Visitor
public class Visitor
- extends java.lang.Object
- Author:
- Alexandre Russel
Method Summary |
void |
visit(javax.mail.Folder folder)
|
void |
visit(javax.mail.Folder folder,
ExecutionContext initialContext)
Visit every message of given folder and every message of its subfolders. |
void |
visit(javax.mail.Message[] messages,
ExecutionContext initialContext)
Visit given messages |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Visitor
public Visitor(MessageActionPipe pipe)
visit
public void visit(javax.mail.Folder folder)
throws java.lang.Exception
- Throws:
java.lang.Exception
visit
public void visit(javax.mail.Folder folder,
ExecutionContext initialContext)
throws java.lang.Exception
- Visit every message of given folder and every message of its subfolders.
- Parameters:
folder
- initialContext
- context variables passed to each execution context
- Throws:
java.lang.Exception
visit
public void visit(javax.mail.Message[] messages,
ExecutionContext initialContext)
throws java.lang.Exception
- Visit given messages
- Parameters:
messages
- initialContext
- context variables passed to each execution context
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.