public class DeviceManagementServiceImpl extends Object implements DeviceManagementService
| Constructor and Description |
|---|
DeviceManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.wso2.carbon.device.mgt.common.Device> |
getAllDevices()
Get all devices.Returns list of Windows devices registered in MDM.
|
org.wso2.carbon.device.mgt.common.Device |
getDevice(String deviceId)
Fetch Windows device details of a given device Id.
|
org.wso2.carbon.device.mgt.common.license.mgt.License |
getLicense()
Fetch the Licence agreement for specific windows platform.
|
Message |
updateDevice(String deviceId,
org.wso2.carbon.device.mgt.common.Device device)
Update Windows device details of given device id.
|
public List<org.wso2.carbon.device.mgt.common.Device> getAllDevices() throws WindowsConfigurationException
getAllDevices in interface DeviceManagementServiceWindowsConfigurationException - occurred while retrieving all the devices from DB.public org.wso2.carbon.device.mgt.common.Device getDevice(String deviceId) throws WindowsConfigurationException
getDevice in interface DeviceManagementServicedeviceId - Device IdWindowsConfigurationException - occurred while getting device from DB.public Message updateDevice(String deviceId, org.wso2.carbon.device.mgt.common.Device device) throws WindowsConfigurationException
updateDevice in interface DeviceManagementServicedeviceId - Device Id.device - Device details to be updated.WindowsConfigurationException - occurred while updating the Device Info.public org.wso2.carbon.device.mgt.common.license.mgt.License getLicense()
throws WindowsConfigurationException
getLicense in interface DeviceManagementServiceWindowsConfigurationException - occurred while getting licence for specific platform and Language.Copyright © 2016 WSO2. All rights reserved.