org.wso2.carbon.device.mgt.mobile.impl.android
Class AndroidDeviceManagerService
java.lang.Object
org.wso2.carbon.device.mgt.mobile.impl.android.AndroidDeviceManagerService
- All Implemented Interfaces:
- org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
public class AndroidDeviceManagerService
- extends Object
- implements org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
This represents the Android implementation of DeviceManagerService.
|
Method Summary |
boolean |
disenrollDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
|
boolean |
enrollDevice(org.wso2.carbon.device.mgt.common.Device device)
|
List<org.wso2.carbon.device.mgt.common.Device> |
getAllDevices()
|
org.wso2.carbon.device.mgt.common.Device |
getDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
|
org.wso2.carbon.device.mgt.common.OperationManager |
getOperationManager()
|
String |
getProviderType()
|
boolean |
isActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
|
boolean |
isEnrolled(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
|
boolean |
modifyEnrollment(org.wso2.carbon.device.mgt.common.Device device)
|
boolean |
setActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
boolean status)
|
boolean |
setOwnership(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
String ownershipType)
|
boolean |
updateDeviceInfo(org.wso2.carbon.device.mgt.common.Device device)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndroidDeviceManagerService
public AndroidDeviceManagerService()
getProviderType
public String getProviderType()
- Specified by:
getProviderType in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
enrollDevice
public boolean enrollDevice(org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
enrollDevice in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
modifyEnrollment
public boolean modifyEnrollment(org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
modifyEnrollment in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
disenrollDevice
public boolean disenrollDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
disenrollDevice in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
isEnrolled
public boolean isEnrolled(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
isEnrolled in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
isActive
public boolean isActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
isActive in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
setActive
public boolean setActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
boolean status)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
setActive in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
getDevice
public org.wso2.carbon.device.mgt.common.Device getDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
getDevice in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
setOwnership
public boolean setOwnership(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
String ownershipType)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
setOwnership in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
updateDeviceInfo
public boolean updateDeviceInfo(org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
updateDeviceInfo in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
getAllDevices
public List<org.wso2.carbon.device.mgt.common.Device> getAllDevices()
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
getAllDevices in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
getOperationManager
public org.wso2.carbon.device.mgt.common.OperationManager getOperationManager()
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Specified by:
getOperationManager in interface org.wso2.carbon.device.mgt.common.spi.DeviceManagerService
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
Copyright © 2015 WSO2. All rights reserved.