Cleaning up SPIs

This commit is contained in:
prabathabey 2014-12-04 10:06:41 +05:30
parent 3ebb14acdd
commit 6e8559545d
2 changed files with 8 additions and 7 deletions

View File

@ -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 {
} }

View File

@ -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);
} }