mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Added updateDeviceInfo method to DeviceManagerService.
This commit is contained in:
parent
843322d33f
commit
d5d332e91c
@ -91,6 +91,13 @@ public interface DeviceManagerService {
|
|||||||
*/
|
*/
|
||||||
Device getDeviceInfo(String type, String deviceId) throws DeviceManagementException;
|
Device getDeviceInfo(String type, String deviceId) throws DeviceManagementException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to update device information.
|
||||||
|
* @param device Updated device information related data
|
||||||
|
* @throws DeviceManagementException If some unusual behaviour is observed while enrolling a device
|
||||||
|
*/
|
||||||
|
void updateDeviceInfo(Device device) throws DeviceManagementException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to set the ownership type of a particular device. i.e. BYOD, COPE
|
* Method to set the ownership type of a particular device. i.e. BYOD, COPE
|
||||||
* @param ownershipType Type of ownership
|
* @param ownershipType Type of ownership
|
||||||
|
|||||||
@ -71,6 +71,11 @@ public class AndroidDeviceManagerService implements DeviceManagerService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateDeviceInfo(Device device) throws DeviceManagementException{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
||||||
|
|
||||||
|
|||||||
@ -70,6 +70,11 @@ public class IOSDeviceManagerService implements DeviceManagerService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateDeviceInfo(Device device) throws DeviceManagementException{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
||||||
|
|
||||||
|
|||||||
@ -70,6 +70,11 @@ public class WindowsDeviceManagerService implements DeviceManagerService{
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateDeviceInfo(Device device) throws DeviceManagementException{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user