Removing obsolete dependencies to ApplicationManager interface from DeviceManagementService SPI

revert-70aa11f8
prabathabey 9 years ago
parent 4cf37bb16c
commit 47572d08f5

@ -30,7 +30,7 @@ import java.util.List;
* Composite interface that acts as the SPI exposing all device management as well as application management
* functionalities.
*/
public interface DeviceManagementService extends ApplicationManager {
public interface DeviceManagementService {
/**
* Method to retrieve the provider type that implements DeviceManager interface.
@ -58,6 +58,7 @@ public interface DeviceManagementService extends ApplicationManager {
ApplicationManager getApplicationManager();
void notifyOperationToDevices(Operation operation, List<DeviceIdentifier> deviceIds) throws DeviceManagementException;
void notifyOperationToDevices(Operation operation,
List<DeviceIdentifier> deviceIds) throws DeviceManagementException;
}

@ -74,39 +74,4 @@ public class TestDeviceManagementService implements DeviceManagementService {
}
@Override
public Application[] getApplications(String domain, int pageNumber, int size)
throws ApplicationManagementException {
return new Application[0];
}
@Override
public void updateApplicationStatus(DeviceIdentifier deviceId, Application application, String status)
throws ApplicationManagementException {
}
@Override
public String getApplicationStatus(DeviceIdentifier deviceId, Application application)
throws ApplicationManagementException {
return null;
}
@Override
public void installApplicationForDevices(Operation operation, List<DeviceIdentifier> deviceIdentifiers)
throws ApplicationManagementException {
}
@Override
public void installApplicationForUsers(Operation operation, List<String> userNameList)
throws ApplicationManagementException {
}
@Override
public void installApplicationForUserRoles(Operation operation, List<String> userRoleList)
throws ApplicationManagementException {
}
}

Loading…
Cancel
Save