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