NotificationService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for Notification objects.

public static class NotificationService
Inheritance:
System.Object → NotificationService

Methods

Get(int, bool) Gets an Notification object.
GetBadge(int, bool, bool) Gets the number to display on the badge for the specified user.
GetBadges(int) Get the badge values for conversations and notifications.
GetUnread(int?, NotificationQuery) Gets the unread notifications for a user. The notifications are sorted with the most recent notification first.
Insert(Notification) Inserts a notification.
ReadAll(IEntity) Marks all notifications for current user that relates to the specifed parent entity as read.
ReadAll(int?, int?) Mark all notifications for the specified user as read.
Search(NotificationQuery) Search notifications with the specified search criteria.
Update(Notification, bool) Updates the specified Notification.