From 66afd0be4b04f60aecf9b2ce8bdf6215caf73d99 Mon Sep 17 00:00:00 2001 From: manoj Date: Mon, 6 Jul 2015 14:03:37 +0530 Subject: [PATCH] Change updateApplicationList method --- .../api/mgt/ApplicationManagementProviderService.java | 8 ++++++++ .../app/mgt/ApplicationManagerProviderServiceImpl.java | 1 + 2 files changed, 9 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/ApplicationManagementProviderService.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/ApplicationManagementProviderService.java index 7ed2af3ba64..70ff9225f93 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/ApplicationManagementProviderService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/ApplicationManagementProviderService.java @@ -1,7 +1,15 @@ package org.wso2.carbon.device.mgt.core.api.mgt; +import org.wso2.carbon.device.mgt.common.DeviceIdentifier; +import org.wso2.carbon.device.mgt.common.app.mgt.Application; +import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManagementException; import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager; +import java.util.List; + public interface ApplicationManagementProviderService extends ApplicationManager { + public void updateApplicationListInstallInDevice(DeviceIdentifier deviceIdentifier, + List applications) throws ApplicationManagementException; + } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/app/mgt/ApplicationManagerProviderServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/app/mgt/ApplicationManagerProviderServiceImpl.java index 72d08261c1e..82529a25b1b 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/app/mgt/ApplicationManagerProviderServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/app/mgt/ApplicationManagerProviderServiceImpl.java @@ -166,6 +166,7 @@ public class ApplicationManagerProviderServiceImpl implements ApplicationManagem return pluginRepository; } + @Override public void updateApplicationListInstallInDevice( DeviceIdentifier deviceIdentifier, List applications) throws ApplicationManagementException {