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
getCategoryId
protected long getCategoryId(String recipient)
getCompany
protected Company getCompany(String recipient)
throws Exception
- Throws:
Exception
getMessageId
protected String getMessageId(String recipient,
javax.mail.Message message)
throws Exception
- Throws:
Exception
getOffset
protected int getOffset()
getParentMessageId
protected long getParentMessageId(String recipient,
javax.mail.Message message)
throws Exception
- Throws:
Exception