| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.mail.AbstractMailListener
public abstract class AbstractMailListener
| Field Summary | |
|---|---|
| protected  int | order | 
| static String | REVISION | 
| Constructor Summary | |
|---|---|
| AbstractMailListener() | |
| Method Summary | |
|---|---|
|  int | compareTo(Object obj)Compare this object with the specified object for order. | 
|  boolean | equals(MailListener obj)Indicates wheter some other object is "equal to" this one. | 
|  boolean | fetchMessage(MailMessage mail,
             boolean stored,
             Map<String,Object> context)Invoked after a mail was fetch. | 
|  int | getOrder()Returns object orders value. | 
|  void | setOrder(int order)Sets the listener order | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String REVISION
protected int order
| Constructor Detail | 
|---|
public AbstractMailListener()
| Method Detail | 
|---|
public boolean fetchMessage(MailMessage mail,
                            boolean stored,
                            Map<String,Object> context)
MailListener
fetchMessage in interface MailListenermail - the javax.mail.Message fetchedstored - boolean to store MailMessage in JCMScontext - a context used to store information
MailListener.fetchMessage(MailMessage, boolean, Map)public final int getOrder()
public final void setOrder(int order)
order - public final int compareTo(Object obj)
compareTo in interface Comparableobj - the Object to be compared.Comparable.compareTo(java.lang.Object)public final boolean equals(MailListener obj)
obj - the Object to be compared.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||