Cleaning up SPIs

revert-dabc3590
prabathabey 10 years ago
parent 3ebb14acdd
commit 6e8559545d

@ -16,4 +16,5 @@
package org.wso2.carbon.device.mgt.common; package org.wso2.carbon.device.mgt.common;
public final class DeviceManagementConstants { public final class DeviceManagementConstants {
} }

@ -28,22 +28,22 @@ public interface DeviceManagerService {
/* /*
Method corresponding to enrolling a particular device of type mobile, IoT, etc within CDM 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 isRegistered();
boolean isActive(); boolean isActive();
boolean setActive(); void setActive(boolean status);
List<Device> getAllDeviceInfo(); List<Device> getAllDeviceInfo(String type);
Device getDeviceInfo(); Device getDeviceInfo(String type, String deviceId);
void setOwnership(); void setOwnership(String ownershipType);
} }

Loading…
Cancel
Save