Package | Description |
---|---|
org.wso2.carbon.mdm.api | |
org.wso2.carbon.mdm.api.common | |
org.wso2.carbon.mdm.api.util | |
org.wso2.carbon.mdm.beans.android | |
org.wso2.carbon.mdm.beans.ios |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
Policy.activatePolicy(List<Integer> policyIds) |
ResponsePayload |
Policy.addActivePolicy(PolicyWrapper policyWrapper) |
javax.ws.rs.core.Response |
License.addLicense(String deviceType,
org.wso2.carbon.device.mgt.common.license.mgt.License license)
This method is used to add license to a specific device type.
|
ResponsePayload |
DeviceNotification.addNotification(org.wso2.carbon.device.mgt.common.notification.mgt.Notification notification) |
ResponsePayload |
Operation.addOperation(DeviceOperationContext operationContext) |
ResponsePayload |
Policy.addPolicy(PolicyWrapper policyWrapper) |
org.wso2.carbon.policy.mgt.common.Profile |
Profile.addProfile(org.wso2.carbon.policy.mgt.common.Profile profile) |
javax.ws.rs.core.Response |
Role.addRole(RoleWrapper roleWrapper)
API is used to persist a new Role
|
javax.ws.rs.core.Response |
User.addUser(UserWrapper userWrapper)
Method to add user to emm-user-store.
|
javax.ws.rs.core.Response |
Policy.applyChanges() |
javax.ws.rs.core.Response |
Policy.bulkRemovePolicy(List<Integer> policyIds) |
ResponsePayload |
Profile.deleteProfile(int profileId) |
javax.ws.rs.core.Response |
Role.deleteRole(String roleName)
API is used to delete a role and authorizations
|
Object |
User.getAllDeviceOfUser(String username,
int startIdx,
int length)
Get a list of devices based on the username.
|
Object |
MobileDevice.getAllDevices(String type,
String user,
String role,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.Status status,
int startIdx,
int length,
String deviceName,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.OwnerShip ownership)
Get all devices.
|
List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> |
Operation.getAllOperations() |
javax.ws.rs.core.Response |
Policy.getAllPolicies() |
javax.ws.rs.core.Response |
User.getAllUserNamesByUsername(String userName)
Get the list of user names in the system.
|
javax.ws.rs.core.Response |
User.getAllUsers()
Get the list of all users with all user-related info.
|
javax.ws.rs.core.Response |
User.getAllUsersByUsername(String userName)
Get the list of user names in the system.
|
org.wso2.carbon.policy.mgt.common.monitor.ComplianceData |
Policy.getComplianceDataOfDevice(String type,
String id) |
org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration |
Configuration.getConfiguration() |
javax.ws.rs.core.Response |
MobileDevice.getDevice(String type,
String id)
Fetch device details for a given device type and device Id.
|
org.wso2.carbon.policy.mgt.common.Policy |
Policy.getDeviceActivePolicy(String type,
String id) |
List<org.wso2.carbon.device.mgt.common.Device> |
MobileDevice.getDeviceByUser(String user,
String tenantDomain)
Fetch Android device details of a given user.
|
int |
MobileDevice.getDeviceCount()
Get current device count
|
List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> |
Operation.getDeviceOperations(String type,
String id) |
org.wso2.carbon.device.mgt.common.PaginationResult |
Operation.getDeviceOperations(String type,
String id,
int startIdx,
int length,
String search) |
List<org.wso2.carbon.device.mgt.common.Device> |
MobileDevice.getDevicesByName(String deviceName,
String tenantDomain)
Get the list of devices that matches with the given name.
|
List<org.wso2.carbon.device.mgt.core.dto.DeviceType> |
MobileDevice.getDeviceTypes()
Get the list of available device types.
|
List<org.wso2.carbon.device.mgt.common.Feature> |
Feature.getFeatures(String type)
Get all features for Mobile Device Type
|
List<? extends org.wso2.carbon.device.mgt.common.app.mgt.Application> |
Operation.getInstalledApps(String type,
String id) |
javax.ws.rs.core.Response |
License.getLicense(String deviceType,
String languageCode)
This method returns the license text related to a given device type and language code.
|
javax.ws.rs.core.Response |
Role.getMatchingRoles(String filter)
Get user roles by providing a filtering criteria(except all internal roles & system roles) from system.
|
javax.ws.rs.core.Response |
User.getMatchingUsers(String filter)
Get the list of all users with all user-related info.
|
List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> |
DeviceNotification.getNotifications() |
List<org.wso2.carbon.device.mgt.common.notification.mgt.Notification> |
DeviceNotification.getNotificationsByStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
ResponsePayload |
Role.getPermissions(String roleName)
Get role permissions.
|
javax.ws.rs.core.Response |
Policy.getPolicy(int policyId) |
int |
Policy.getPolicyCount() |
ResponsePayload |
Role.getRole(String roleName)
Get user role of the system
|
javax.ws.rs.core.Response |
Role.getRoles()
Get user roles (except all internal roles) from system.
|
javax.ws.rs.core.Response |
User.getRoles(String username)
Get user's roles by username
|
javax.ws.rs.core.Response |
Role.getRoles(String userStore)
Get user roles by user store(except all internal roles) from system.
|
javax.ws.rs.core.Response |
User.getUser(String username)
Method to get user information from emm-user-store.
|
int |
User.getUserCount()
This method is used to retrieve the user count of the system.
|
javax.ws.rs.core.Response |
Policy.inactivatePolicy(List<Integer> policyIds) |
ResponsePayload |
Operation.installApplication(ApplicationWrapper applicationWrapper,
String tenantDomain) |
javax.ws.rs.core.Response |
User.inviteExistingUsersToEnrollDevice(List<String> usernames)
Method used to send an invitation email to a existing user to enroll a device.
|
javax.ws.rs.core.Response |
User.removeUser(String username)
Method to remove user from emm-user-store.
|
javax.ws.rs.core.Response |
User.resetPassword(UserCredentialWrapper credentials)
Method to change the user password.
|
ResponsePayload |
Configuration.saveTenantConfiguration(org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration configuration) |
javax.ws.rs.core.Response |
Policy.startTaskService(int monitoringFrequency) |
javax.ws.rs.core.Response |
Policy.stopTaskService() |
ResponsePayload |
Operation.uninstallApplication(ApplicationWrapper applicationWrapper,
String tenantDomain) |
ResponsePayload |
Configuration.updateConfiguration(org.wso2.carbon.device.mgt.common.configuration.mgt.TenantConfiguration configuration) |
ResponsePayload |
DeviceNotification.updateNotificationStatus(int id,
org.wso2.carbon.device.mgt.common.notification.mgt.Notification.Status status) |
ResponsePayload |
Policy.updatePolicy(PolicyWrapper policyWrapper,
int policyId) |
javax.ws.rs.core.Response |
Policy.updatePolicyPriorities(List<PriorityUpdatedPolicyWrapper> priorityUpdatedPolicies) |
ResponsePayload |
Profile.updateProfile(org.wso2.carbon.policy.mgt.common.Profile profile,
String profileId) |
javax.ws.rs.core.Response |
Role.updateRole(String roleName,
RoleWrapper roleWrapper)
API is used to update a role Role
|
javax.ws.rs.core.Response |
User.updateRoles(String username,
List<String> userList)
API is used to update roles of a user
|
javax.ws.rs.core.Response |
Policy.updateTaskService(int monitoringFrequency) |
javax.ws.rs.core.Response |
User.updateUser(UserWrapper userWrapper,
String username)
Update user in user store
|
javax.ws.rs.core.Response |
Role.updateUsers(String roleName,
List<String> userList)
API is used to update users of a role
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ErrorHandler.toResponse(MDMAPIException exception) |
Modifier and Type | Method and Description |
---|---|
static org.wso2.carbon.device.mgt.common.operation.mgt.Operation |
MDMIOSOperationUtil.createAppUninstallOperation(MobileApp application) |
static org.wso2.carbon.device.mgt.common.operation.mgt.Operation |
MDMAndroidOperationUtil.createAppUninstallOperation(MobileApp application)
This method is used to create Uninstall Application operation.
|
static org.wso2.carbon.device.mgt.common.operation.mgt.Operation |
MDMIOSOperationUtil.createInstallAppOperation(MobileApp application)
This method is used to create Install Application operation.
|
static org.wso2.carbon.device.mgt.common.operation.mgt.Operation |
MDMAndroidOperationUtil.createInstallAppOperation(MobileApp application)
This method is used to create Install Application operation.
|
static org.wso2.carbon.user.api.AuthorizationManager |
MDMAPIUtils.getAuthorizationManager() |
static int |
MDMAPIUtils.getTenantId(String tenantDomain) |
static org.wso2.carbon.user.api.UserRealm |
MDMAPIUtils.getUserRealm()
Getting the current tenant's user realm
|
static org.wso2.carbon.user.api.UserStoreManager |
MDMAPIUtils.getUserStoreManager() |
Modifier and Type | Method and Description |
---|---|
String |
WebApplication.toJSON() |
String |
EnterpriseApplication.toJSON() |
String |
AppStoreApplication.toJSON() |
Modifier and Type | Method and Description |
---|---|
String |
WebClip.toJSON() |
String |
RemoveApplication.toJSON() |
String |
EnterpriseApplication.toJSON() |
String |
AppStoreApplication.toJSON() |
Copyright © 2016 WSO2. All rights reserved.