com.liferay.portal.pop
Class POPNotificationsJob
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERVAL
public static final long INTERVAL
POPNotificationsJob
public POPNotificationsJob()
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