public interface ApplicationManager
| Modifier and Type | Method and Description |
|---|---|
Application[] |
getApplications(String domain,
int pageNumber,
int size)
This will communicate with App manager and retrieve the list of apps in the store, when
the domain is given.
|
String |
getApplicationStatus(DeviceIdentifier deviceId,
Application application)
Retrieve the status of an application on a device.
|
Activity |
installApplicationForDevices(Operation operation,
List<DeviceIdentifier> deviceIdentifiers) |
Activity |
installApplicationForUserRoles(Operation operation,
List<String> userRoleList) |
Activity |
installApplicationForUsers(Operation operation,
List<String> userNameList) |
void |
updateApplicationStatus(DeviceIdentifier deviceId,
Application application,
String status)
Updates the application, install/uninstall status of the a certain application, on a device.
|
Application[] getApplications(String domain, int pageNumber, int size) throws ApplicationManagementException
domain - Tenant domain of the app list to be retrieved.pageNumber - Page number of the list.size - Number of items in one page.ApplicationManagementExceptionvoid updateApplicationStatus(DeviceIdentifier deviceId, Application application, String status) throws ApplicationManagementException
deviceId - Device id of the device that the status belongs to.application - Application details of the app being updated.status - Installed/UninstalledApplicationManagementExceptionString getApplicationStatus(DeviceIdentifier deviceId, Application application) throws ApplicationManagementException
deviceId - Device id of the device that the status belongs to.application - Application details of the app being searched.ApplicationManagementExceptionActivity installApplicationForDevices(Operation operation, List<DeviceIdentifier> deviceIdentifiers) throws ApplicationManagementException
ApplicationManagementExceptionActivity installApplicationForUsers(Operation operation, List<String> userNameList) throws ApplicationManagementException
ApplicationManagementExceptionActivity installApplicationForUserRoles(Operation operation, List<String> userRoleList) throws ApplicationManagementException
ApplicationManagementExceptionCopyright © 2017 WSO2. All rights reserved.