com.liferay.portlet.messageboards.pop
Class MessageListenerImpl
java.lang.Object
com.liferay.portlet.messageboards.pop.MessageListenerImpl
- All Implemented Interfaces:
- MessageListener
public class MessageListenerImpl
- extends Object
- implements MessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageListenerImpl
public MessageListenerImpl()
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