public class MobileDeviceManagementUtil extends Object
Constructor and Description |
---|
MobileDeviceManagementUtil() |
Modifier and Type | Method and Description |
---|---|
static org.wso2.carbon.device.mgt.common.operation.mgt.Operation |
convertMobileOperationToOperation(MobileOperation mobileOperation) |
static org.wso2.carbon.device.mgt.common.Device |
convertToDevice(MobileDevice mobileDevice) |
static Document |
convertToDocument(File file) |
static org.wso2.carbon.device.mgt.common.Feature |
convertToFeature(MobileFeature mobileFeature) |
static MobileDevice |
convertToMobileDevice(org.wso2.carbon.device.mgt.common.Device device) |
static MobileFeature |
convertToMobileFeature(org.wso2.carbon.device.mgt.common.Feature feature) |
static MobileOperation |
convertToMobileOperation(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation) |
static boolean |
createRegistryCollection(String path) |
static org.wso2.carbon.registry.core.Registry |
getConfigurationRegistry() |
static List<org.wso2.carbon.device.mgt.common.Feature> |
getMissingFeatures(List<org.wso2.carbon.device.mgt.common.Feature> supportedFeatures,
List<org.wso2.carbon.device.mgt.common.Feature> existingFeatures) |
static List<Integer> |
getMobileOperationIdsFromMobileDeviceOperations(List<MobileDeviceOperationMapping> mobileDeviceOperationMappings) |
static String |
getPlatformConfigPath(String platform) |
static org.wso2.carbon.registry.api.Resource |
getRegistryResource(String path) |
static String |
getResourcePath(String resourceName,
String platform) |
static boolean |
putRegistryResource(String path,
org.wso2.carbon.registry.api.Resource resource) |
public static Document convertToDocument(File file) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementException
public static MobileDevice convertToMobileDevice(org.wso2.carbon.device.mgt.common.Device device)
public static org.wso2.carbon.device.mgt.common.Device convertToDevice(MobileDevice mobileDevice)
public static MobileOperation convertToMobileOperation(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation)
public static List<Integer> getMobileOperationIdsFromMobileDeviceOperations(List<MobileDeviceOperationMapping> mobileDeviceOperationMappings)
public static org.wso2.carbon.device.mgt.common.operation.mgt.Operation convertMobileOperationToOperation(MobileOperation mobileOperation)
public static MobileFeature convertToMobileFeature(org.wso2.carbon.device.mgt.common.Feature feature)
public static org.wso2.carbon.device.mgt.common.Feature convertToFeature(MobileFeature mobileFeature)
public static org.wso2.carbon.registry.core.Registry getConfigurationRegistry() throws AndroidDeviceMgtPluginException
AndroidDeviceMgtPluginException
public static org.wso2.carbon.registry.api.Resource getRegistryResource(String path) throws AndroidDeviceMgtPluginException
AndroidDeviceMgtPluginException
public static boolean putRegistryResource(String path, org.wso2.carbon.registry.api.Resource resource) throws AndroidDeviceMgtPluginException
AndroidDeviceMgtPluginException
public static boolean createRegistryCollection(String path) throws AndroidDeviceMgtPluginException
AndroidDeviceMgtPluginException
Copyright © 2017 WSO2. All rights reserved.