HasDatabaseNotifications

This is a delegate component and requires ColdBox 7+. It should be added to an INotifiable instance.

getNotifications

Returns all database notifications for this Notifiable.

Return: A DatabaseNotificationCursor to interact with a paginated list of notifications for this notifiable.

Throws: Megaphone.Configuration.MissingChannel

Throws: Megaphone.Configuration.InvalidChannelProvider

getReadNotifications

Returns all read database notifications for this Notifiable.

Return: A DatabaseNotificationCursor to interact with a paginated list of read notifications for this notifiable.

Throws: Megaphone.Configuration.MissingChannel

Throws: Megaphone.Configuration.InvalidChannelProvider

getUnreadNotifications

Returns all unread database notifications for this Notifiable.

Return: A DatabaseNotificationCursor to interact with a paginated list of unread notifications for this notifiable.

Throws: Megaphone.Configuration.MissingChannel

Throws: Megaphone.Configuration.InvalidChannelProvider

Last updated