public class ChannelImpl
extends com.liferay.portal.kernel.notifications.BaseChannelImpl
| Constructor and Description |
|---|
ChannelImpl() |
ChannelImpl(long companyId,
long usedId) |
| Modifier and Type | Method and Description |
|---|---|
void |
confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids) |
void |
confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids,
boolean archive) |
void |
confirmDelivery(java.lang.String notificationEventUuid) |
void |
confirmDelivery(java.lang.String notificationEventUuid,
boolean archive) |
void |
deleteUserNotificiationEvent(java.lang.String notificationEventUuid) |
void |
deleteUserNotificiationEvents(java.util.Collection<java.lang.String> notificationEventUuids) |
protected void |
doCleanUp() |
protected java.util.List<com.liferay.portal.kernel.notifications.NotificationEvent> |
doGetNotificationEvents(boolean flush) |
protected void |
doInit() |
protected void |
doStoreNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime) |
void |
flush() |
void |
flush(long timestamp) |
java.util.List<com.liferay.portal.kernel.notifications.NotificationEvent> |
getNotificationEvents(boolean flush) |
void |
init() |
protected boolean |
isRemoveNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime) |
void |
removeTransientNotificationEvents(java.util.Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) |
void |
removeTransientNotificationEventsByUuid(java.util.Collection<java.lang.String> notificationEventUuids) |
void |
sendNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
void |
sendNotificationEvents(java.util.Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) |
void |
storeNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime) |
public ChannelImpl()
public ChannelImpl(long companyId,
long usedId)
public void confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids,
boolean archive)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(java.lang.String notificationEventUuid)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(java.lang.String notificationEventUuid,
boolean archive)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void deleteUserNotificiationEvent(java.lang.String notificationEventUuid)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void deleteUserNotificiationEvents(java.util.Collection<java.lang.String> notificationEventUuids)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void flush()
public void flush(long timestamp)
public java.util.List<com.liferay.portal.kernel.notifications.NotificationEvent> getNotificationEvents(boolean flush)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void init()
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void removeTransientNotificationEvents(java.util.Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents)
public void removeTransientNotificationEventsByUuid(java.util.Collection<java.lang.String> notificationEventUuids)
public void sendNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void sendNotificationEvents(java.util.Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void storeNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime)
protected void doCleanUp()
throws java.lang.Exception
doCleanUp in class com.liferay.portal.kernel.notifications.BaseChannelImpljava.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.notifications.NotificationEvent> doGetNotificationEvents(boolean flush)
throws java.lang.Exception
java.lang.Exceptionprotected void doInit()
protected void doStoreNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime)
protected boolean isRemoveNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent,
long currentTime)