| Package | Description |
|---|---|
| org.wso2.carbon.device.mgt.common.notification.mgt |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NotificationManagementService.addNotification(DeviceIdentifier deviceId,
Notification notification)
Method to add a notification to the database.
|
List<Notification> |
NotificationManagementService.getAllNotifications()
Method to fetch all the notifications in the database.
|
PaginationResult |
NotificationManagementService.getAllNotifications(PaginationRequest request) |
Notification |
NotificationManagementService.getNotification(int notificationId) |
List<Notification> |
NotificationManagementService.getNotificationsByStatus(Notification.Status status) |
PaginationResult |
NotificationManagementService.getNotificationsByStatus(Notification.Status status,
PaginationRequest request) |
boolean |
NotificationManagementService.updateNotification(Notification notification)
Method to update a notification in the database.
|
boolean |
NotificationManagementService.updateNotificationStatus(int notificationId,
Notification.Status status)
Method to update the notification status of a Notification in the database.
|
Copyright © 2017 WSO2. All rights reserved.