$getNotificationService()
Overview
public any function $getNotificationService()
Returns an instance of the Notification Service. See Notifications for a full guide.
Example
var unreadNotifications = $getNotificationService().getUnreadNotificationCount(
userId = $getAdminLoggedInUserId()
);