diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementServiceProviderImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementServiceProviderImpl.java index c5421a6b6c1..15e65021410 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementServiceProviderImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementServiceProviderImpl.java @@ -153,6 +153,11 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ return devicesList; } + @Override + public List getDeviceListOfUser(String username) throws DeviceManagementException { + return null; + } + @Override public Device getDevice(DeviceIdentifier deviceId) throws DeviceManagementException { DeviceManager dms = diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/Device.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/Device.java index 2a898ce7b43..260f5463116 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/Device.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/Device.java @@ -33,10 +33,7 @@ public class Device implements Serializable { private String ownerId; private String ownerShip; private int tenantId; -<<<<<<< HEAD private int deviceTypeId; -======= - private Integer deviceTypeId; private DeviceType deviceType; public DeviceType getDeviceType() { @@ -46,7 +43,6 @@ public class Device implements Serializable { public void setDeviceType(DeviceType deviceType) { this.deviceType = deviceType; } ->>>>>>> 4754da70be87f5a756e59ef32714355063bd6bed public int getDeviceTypeId() { return deviceTypeId; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/testng.xml b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/testng.xml index 998633e06b3..797d214a0e8 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/testng.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/testng.xml @@ -28,7 +28,7 @@ - + \ No newline at end of file