public class MDMAPIUtils extends Object
Constructor and Description |
---|
MDMAPIUtils() |
Modifier and Type | Method and Description |
---|---|
static org.wso2.carbon.device.mgt.core.app.mgt.ApplicationManagementProviderService |
getAppManagementService() |
static org.wso2.carbon.user.api.AuthorizationManager |
getAuthorizationManager() |
static org.wso2.carbon.device.mgt.core.service.DeviceManagementProviderService |
getDeviceManagementService() |
static org.wso2.carbon.device.mgt.common.notification.mgt.NotificationManagementService |
getNotificationManagementService() |
static int |
getNotifierFrequency(org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration tenantConfiguration) |
static org.wso2.carbon.device.mgt.common.PaginationResult |
getPagingResponse(int recordsTotal,
int recordsFiltered,
int draw,
List<?> data) |
static org.wso2.carbon.policy.mgt.core.PolicyManagerService |
getPolicyManagementService() |
static org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfigurationManagementService |
getTenantConfigurationManagementService() |
static int |
getTenantId()
This method is used to get the current tenant id.
|
static int |
getTenantId(String tenantDomain) |
static org.wso2.carbon.user.api.UserRealm |
getUserRealm()
Getting the current tenant's user realm
|
static org.wso2.carbon.user.api.UserStoreManager |
getUserStoreManager() |
static org.wso2.carbon.device.mgt.common.DeviceIdentifier |
instantiateDeviceIdentifier(String deviceType,
String deviceId) |
static void |
scheduleTaskService(int notifierFrequency) |
public static int getNotifierFrequency(org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration tenantConfiguration)
public static void scheduleTaskService(int notifierFrequency)
public static org.wso2.carbon.device.mgt.core.service.DeviceManagementProviderService getDeviceManagementService()
public static int getTenantId(String tenantDomain) throws MDMAPIException
MDMAPIException
public static org.wso2.carbon.user.api.UserStoreManager getUserStoreManager() throws MDMAPIException
MDMAPIException
public static org.wso2.carbon.user.api.UserRealm getUserRealm() throws MDMAPIException
MDMAPIException
public static org.wso2.carbon.user.api.AuthorizationManager getAuthorizationManager() throws MDMAPIException
MDMAPIException
public static int getTenantId()
public static org.wso2.carbon.device.mgt.common.DeviceIdentifier instantiateDeviceIdentifier(String deviceType, String deviceId)
public static org.wso2.carbon.device.mgt.core.app.mgt.ApplicationManagementProviderService getAppManagementService()
public static org.wso2.carbon.policy.mgt.core.PolicyManagerService getPolicyManagementService()
public static org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfigurationManagementService getTenantConfigurationManagementService()
public static org.wso2.carbon.device.mgt.common.notification.mgt.NotificationManagementService getNotificationManagementService()
public static org.wso2.carbon.device.mgt.common.PaginationResult getPagingResponse(int recordsTotal, int recordsFiltered, int draw, List<?> data)
Copyright © 2016 WSO2. All rights reserved.