mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Implementing services
This commit is contained in:
parent
01d57a15d8
commit
4198764cb2
@ -357,13 +357,13 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
|
||||
|
||||
@Override
|
||||
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
|
||||
return null;
|
||||
return operationManager.getNextPendingOperation(deviceId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Operation updateOperation(int id, DeviceIdentifier deviceIdentifier,
|
||||
String payLoad) throws OperationManagementException {
|
||||
return null;
|
||||
return operationManager.updateOperation(id, deviceIdentifier, payLoad);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
||||
|
||||
@Override
|
||||
public boolean addOperation(Operation operation,
|
||||
List<DeviceIdentifier> devices) throws OperationManagementException {
|
||||
List<DeviceIdentifier> devices) throws OperationManagementException {
|
||||
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().addOperation(operation, devices);
|
||||
}
|
||||
|
||||
@ -133,13 +133,14 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
||||
|
||||
@Override
|
||||
public Operation getNextPendingOperation(DeviceIdentifier deviceId) throws OperationManagementException {
|
||||
return null;
|
||||
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().getNextPendingOperation(deviceId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Operation updateOperation(int operationId, DeviceIdentifier deviceIdentifier,
|
||||
String responsePayLoad) throws OperationManagementException {
|
||||
return null;
|
||||
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().
|
||||
updateOperation(operationId, deviceIdentifier, responsePayLoad);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user