Package com.jalios.jcms.mail.listener
Class MemberMailListener
- java.lang.Object
-
- com.jalios.jcms.mail.AbstractMailListener
-
- com.jalios.jcms.mail.listener.MemberMailListener
-
- All Implemented Interfaces:
MailListener
,java.lang.Comparable
public class MemberMailListener extends AbstractMailListener
This listener resolves String email addresses to JCMS Members if any was found matching the emails.- Version:
- $Revision: 107554 $
- Author:
- Jean-Philippe Encausse
-
-
Field Summary
Fields Modifier and Type Field Description Channel
channel
static java.lang.String
REVISION
-
Fields inherited from class com.jalios.jcms.mail.AbstractMailListener
order
-
-
Constructor Summary
Constructors Constructor Description MemberMailListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> context)
Invoked after a mail was fetch.protected Member
resolveAddress(java.lang.String addr)
Deprecated.protected java.util.Set<Member>
resolveAddress(java.util.Set<java.lang.String> addressSet)
Deprecated.-
Methods inherited from class com.jalios.jcms.mail.AbstractMailListener
compareTo, equals, getOrder, setOrder
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
channel
public Channel channel
-
-
Method Detail
-
fetchMessage
public boolean fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> context)
Description copied from interface:MailListener
Invoked after a mail was fetch.- Specified by:
fetchMessage
in interfaceMailListener
- Overrides:
fetchMessage
in classAbstractMailListener
- Parameters:
mail
- the javax.mail.Message fetchedstored
- boolean to store MailMessage in JCMScontext
- a context used to store information- Returns:
- boolean stored
- See Also:
MailListener.fetchMessage(MailMessage, boolean, Map)
-
resolveAddress
protected Member resolveAddress(java.lang.String addr)
Deprecated.
-
resolveAddress
protected java.util.Set<Member> resolveAddress(java.util.Set<java.lang.String> addressSet)
Deprecated.
-
-