public class DeviceNotification extends Object
Constructor and Description |
---|
DeviceNotification() |
Modifier and Type | Method and Description |
---|---|
ResponsePayload |
addNotification(org.wso2.carbon.device.mgt.common.notification.mgt.Notification notification) |
List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> |
getNotifications() |
List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> |
getNotificationsByStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
ResponsePayload |
updateNotificationStatus(int id,
org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
public List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> getNotifications() throws MDMAPIException
MDMAPIException
public List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> getNotificationsByStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) throws MDMAPIException
MDMAPIException
public ResponsePayload updateNotificationStatus(int id, org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) throws MDMAPIException
MDMAPIException
public ResponsePayload addNotification(org.wso2.carbon.device.mgt.common.notification.mgt.Notification notification) throws MDMAPIException
MDMAPIException
Copyright © 2016 WSO2. All rights reserved.