public class DeviceNotificationImpl extends Object implements DeviceNotification
| Constructor and Description |
|---|
DeviceNotificationImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addNotification(org.wso2.carbon.device.mgt.common.notification.mgt.Notification notification) |
javax.ws.rs.core.Response |
getNotifications() |
javax.ws.rs.core.Response |
getNotificationsByStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
javax.ws.rs.core.Response |
updateNotificationStatus(int id,
org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
public javax.ws.rs.core.Response getNotifications()
getNotifications in interface DeviceNotificationpublic javax.ws.rs.core.Response getNotificationsByStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status)
getNotificationsByStatus in interface DeviceNotificationpublic javax.ws.rs.core.Response updateNotificationStatus(int id,
org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status)
updateNotificationStatus in interface DeviceNotificationpublic javax.ws.rs.core.Response addNotification(org.wso2.carbon.device.mgt.common.notification.mgt.Notification notification)
addNotification in interface DeviceNotificationCopyright © 2016 WSO2. All rights reserved.