Liferay 6.2-ce-ga5

com.liferay.portlet.messageboards.pop
Class MessageListenerImpl

java.lang.Object
  extended by com.liferay.portlet.messageboards.pop.MessageListenerImpl
All Implemented Interfaces:
MessageListener

public class MessageListenerImpl
extends Object
implements MessageListener


Constructor Summary
MessageListenerImpl()
           
 
Method Summary
 boolean accept(String from, String recipient, javax.mail.Message message)
           
 void deliver(String from, String recipient, javax.mail.Message message)
           
protected  Company getCompany(String messageIdString)
           
 String getId()
           
protected  String getMessageIdString(String recipient, javax.mail.Message message)
           
protected  boolean isAutoReply(javax.mail.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageListenerImpl

public MessageListenerImpl()
Method Detail

accept

public boolean accept(String from,
                      String recipient,
                      javax.mail.Message message)
Specified by:
accept in interface MessageListener

deliver

public void deliver(String from,
                    String recipient,
                    javax.mail.Message message)
             throws MessageListenerException
Specified by:
deliver in interface MessageListener
Throws:
MessageListenerException

getId

public String getId()
Specified by:
getId in interface MessageListener

getCompany

protected Company getCompany(String messageIdString)
                      throws Exception
Throws:
Exception

getMessageIdString

protected String getMessageIdString(String recipient,
                                    javax.mail.Message message)
                             throws Exception
Throws:
Exception

isAutoReply

protected boolean isAutoReply(javax.mail.Message message)
                       throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

Liferay 6.2-ce-ga5