diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java index 2493dd3cca9..4af0069f6cf 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java @@ -16,4 +16,5 @@ package org.wso2.carbon.device.mgt.common; public final class DeviceManagementConstants { + } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/spi/DeviceManagerService.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/spi/DeviceManagerService.java index 18b819706ec..c8690f82087 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/spi/DeviceManagerService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/spi/DeviceManagerService.java @@ -28,22 +28,22 @@ public interface DeviceManagerService { /* Method corresponding to enrolling a particular device of type mobile, IoT, etc within CDM */ - void enrolDevice(); + void enrolDevice(Device device); - void modifyEnrolment(); + void modifyEnrolment(Device device); - void disEnrollDevice(); + void disEnrollDevice(String type, String deviceId); boolean isRegistered(); boolean isActive(); - boolean setActive(); + void setActive(boolean status); - List getAllDeviceInfo(); + List getAllDeviceInfo(String type); - Device getDeviceInfo(); + Device getDeviceInfo(String type, String deviceId); - void setOwnership(); + void setOwnership(String ownershipType); }