Liferay 6.0.5

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

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

Liferay 6.0.5