\NotificationAjaxServiceInterface
Define a Notification Ajax Service that can be use to display notification to the user.
Synopsis
interface NotificationAjaxServiceInterface
{
- // methods
- public array getUnreadNotificationCountForMember()
- public DataList getUnreadNotificationsForMember()
- public void markNotificationAsRead()
- public void markAllNotificationAsReadForMember()
Methods
public
- getUnreadNotificationCountForMember() — Retrieve the number of unread notification destined for a specific member.
- getUnreadNotificationsForMember() — Retrieve a list of unread notifications for the given member. The notifications are sorted in Ascending order of creation.
- markAllNotificationAsReadForMember() — Mark all notification as read for the given user.
- markNotificationAsRead() — Mark a notification as read. This will prevent it from being returned by `getUnreadNotificationsForMember()`.