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.DeviceManager
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
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
getDevice
in interface org.wso2.carbon.device.mgt.common.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementException
public boolean requireDeviceAuthorization()
requireDeviceAuthorization
in interface org.wso2.carbon.device.mgt.common.DeviceManager
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
public 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.DeviceManager
org.wso2.carbon.device.mgt.common.DeviceManagementException
Copyright © 2017 WSO2. All rights reserved.