mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Cleaning up SPIs
This commit is contained in:
parent
3ebb14acdd
commit
6e8559545d
@ -16,4 +16,5 @@
|
||||
package org.wso2.carbon.device.mgt.common;
|
||||
|
||||
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
|
||||
*/
|
||||
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<Device> getAllDeviceInfo();
|
||||
List<Device> getAllDeviceInfo(String type);
|
||||
|
||||
Device getDeviceInfo();
|
||||
Device getDeviceInfo(String type, String deviceId);
|
||||
|
||||
void setOwnership();
|
||||
void setOwnership(String ownershipType);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user