public class AndroidDeviceManager extends Object implements org.wso2.carbon.device.mgt.common.DeviceManager
| Constructor and Description |
|---|
AndroidDeviceManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLicense(org.wso2.carbon.device.mgt.common.license.mgt.License license) |
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.configuration.mgt.PlatformConfiguration |
getConfiguration() |
org.wso2.carbon.device.mgt.common.Device |
getDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId) |
org.wso2.carbon.device.mgt.common.FeatureManager |
getFeatureManager() |
org.wso2.carbon.device.mgt.common.license.mgt.License |
getLicense(String languageCode) |
boolean |
isActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId) |
boolean |
isClaimable(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier) |
boolean |
isEnrolled(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId) |
boolean |
modifyEnrollment(org.wso2.carbon.device.mgt.common.Device device) |
boolean |
requireDeviceAuthorization() |
boolean |
saveConfiguration(org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration tenantConfiguration) |
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 |
setStatus(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier,
String currentUser,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.Status status) |
boolean |
updateDeviceInfo(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier,
org.wso2.carbon.device.mgt.common.Device device) |
public org.wso2.carbon.device.mgt.common.FeatureManager getFeatureManager()
getFeatureManager in interface org.wso2.carbon.device.mgt.common.DeviceManagerpublic boolean saveConfiguration(org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration tenantConfiguration)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
saveConfiguration in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration getConfiguration()
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
getConfiguration in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean enrollDevice(org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
enrollDevice in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean modifyEnrollment(org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
modifyEnrollment in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean disenrollDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
disenrollDevice in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean isEnrolled(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
isEnrolled in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean isActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
isActive in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean setActive(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
boolean status)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
setActive in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic org.wso2.carbon.device.mgt.common.Device getDevice(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
getDevice in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean setOwnership(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceId,
String ownershipType)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
setOwnership in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean isClaimable(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
isClaimable in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic boolean setStatus(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier,
String currentUser,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.Status status)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
setStatus in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic org.wso2.carbon.device.mgt.common.license.mgt.License getLicense(String languageCode) throws org.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementException
getLicense in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementExceptionpublic void addLicense(org.wso2.carbon.device.mgt.common.license.mgt.License license)
throws org.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementException
addLicense in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementExceptionpublic boolean requireDeviceAuthorization()
requireDeviceAuthorization in interface org.wso2.carbon.device.mgt.common.DeviceManagerpublic boolean updateDeviceInfo(org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier,
org.wso2.carbon.device.mgt.common.Device device)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
updateDeviceInfo in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic List<org.wso2.carbon.device.mgt.common.Device> getAllDevices() throws org.wso2.carbon.device.mgt.common.DeviceManagementException
getAllDevices in interface org.wso2.carbon.device.mgt.common.DeviceManagerorg.wso2.carbon.device.mgt.common.DeviceManagementExceptionCopyright © 2017 WSO2. All rights reserved.