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(Collection<String> notificationEventUuids) |
void |
confirmDelivery(Collection<String> notificationEventUuids,
boolean archive) |
void |
confirmDelivery(String notificationEventUuid) |
void |
confirmDelivery(String notificationEventUuid,
boolean archive) |
void |
deleteUserNotificiationEvent(String notificationEventUuid) |
void |
deleteUserNotificiationEvents(Collection<String> notificationEventUuids) |
protected void |
doCleanUp() |
protected 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) |
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(Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) |
void |
removeTransientNotificationEventsByUuid(Collection<String> notificationEventUuids) |
void |
sendNotificationEvent(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
void |
sendNotificationEvents(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(Collection<String> notificationEventUuids)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(Collection<String> notificationEventUuids,
boolean archive)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(String notificationEventUuid)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void confirmDelivery(String notificationEventUuid,
boolean archive)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void deleteUserNotificiationEvent(String notificationEventUuid)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void deleteUserNotificiationEvents(Collection<String> notificationEventUuids)
throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void flush()
public void flush(long timestamp)
public 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(Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents)
public void removeTransientNotificationEventsByUuid(Collection<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(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 Exception
doCleanUp in class com.liferay.portal.kernel.notifications.BaseChannelImplExceptionprotected List<com.liferay.portal.kernel.notifications.NotificationEvent> doGetNotificationEvents(boolean flush)
throws Exception
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)