com.liferay.portal.pop
Class POPNotificationsJob

java.lang.Object
  extended by com.liferay.portal.pop.POPNotificationsJob
All Implemented Interfaces:
com.liferay.portal.kernel.job.IntervalJob

public class POPNotificationsJob
extends java.lang.Object
implements com.liferay.portal.kernel.job.IntervalJob

View Source

Author:
Brian Wing Shun Chan

Field Summary
static long INTERVAL
           
 
Constructor Summary
POPNotificationsJob()
           
 
Method Summary
 void execute(com.liferay.portal.kernel.job.JobExecutionContext context)
           
protected  java.lang.String getEmailAddress(javax.mail.Address[] addresses)
           
 long getInterval()
           
protected  void initInboxFolder()
           
protected  void initStore()
           
protected  void nostifyListeners(java.util.List<com.liferay.portal.kernel.pop.MessageListener> listeners, javax.mail.Message message)
           
protected  void nostifyListeners(javax.mail.Message[] messages)
           
protected  void pollPopServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERVAL

public static final long INTERVAL
Constructor Detail

POPNotificationsJob

public POPNotificationsJob()
Method Detail

execute

public void execute(com.liferay.portal.kernel.job.JobExecutionContext context)
Specified by:
execute in interface com.liferay.portal.kernel.job.IntervalJob

getInterval

public long getInterval()
Specified by:
getInterval in interface com.liferay.portal.kernel.job.IntervalJob

getEmailAddress

protected java.lang.String getEmailAddress(javax.mail.Address[] addresses)

initInboxFolder

protected void initInboxFolder()
                        throws java.lang.Exception
Throws:
java.lang.Exception

initStore

protected void initStore()
                  throws java.lang.Exception
Throws:
java.lang.Exception

nostifyListeners

protected void nostifyListeners(java.util.List<com.liferay.portal.kernel.pop.MessageListener> listeners,
                                javax.mail.Message message)
                         throws java.lang.Exception
Throws:
java.lang.Exception

nostifyListeners

protected void nostifyListeners(javax.mail.Message[] messages)
                         throws java.lang.Exception
Throws:
java.lang.Exception

pollPopServer

protected void pollPopServer()
                      throws java.lang.Exception
Throws:
java.lang.Exception