|
|
|
@ -17,6 +17,7 @@
|
|
|
|
|
package org.wso2.carbon.device.mgt.mobile.impl.android;
|
|
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.Device;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceManagementException;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.spi.DeviceManagerService;
|
|
|
|
|
|
|
|
|
@ -45,20 +46,17 @@ public class AndroidDeviceManagerService implements DeviceManagerService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void disEnrollDevice(String type, String deviceId)
|
|
|
|
|
throws DeviceManagementException {
|
|
|
|
|
public void disenrollDevice(DeviceIdentifier deviceId) throws DeviceManagementException {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean isRegistered(String type, String deviceId)
|
|
|
|
|
throws DeviceManagementException {
|
|
|
|
|
public boolean isRegistered(DeviceIdentifier deviceId) throws DeviceManagementException {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean isActive(String type, String deviceId)
|
|
|
|
|
throws DeviceManagementException {
|
|
|
|
|
public boolean isActive(DeviceIdentifier deviceId) throws DeviceManagementException {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -68,18 +66,18 @@ public class AndroidDeviceManagerService implements DeviceManagerService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<Device> getAllDeviceInfo(String type) throws DeviceManagementException {
|
|
|
|
|
public List<Device> getAllDevices(String type) throws DeviceManagementException {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Device getDeviceInfo(String type, String deviceId)
|
|
|
|
|
throws DeviceManagementException {
|
|
|
|
|
public Device getDevice(DeviceIdentifier deviceId) throws DeviceManagementException {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void setOwnership(String ownershipType) throws DeviceManagementException {
|
|
|
|
|
public void setOwnership(DeviceIdentifier deviceId, String ownershipType) throws DeviceManagementException {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|