mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Refractor Operations Mgt
This commit is contained in:
parent
6f59913621
commit
2d5f8fe937
@ -36,8 +36,7 @@ public interface OperationManager {
|
|||||||
* @throws OperationManagementException If some unusual behaviour is observed while adding the
|
* @throws OperationManagementException If some unusual behaviour is observed while adding the
|
||||||
* operation
|
* operation
|
||||||
*/
|
*/
|
||||||
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws
|
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws OperationManagementException;
|
||||||
OperationManagementException, DeviceManagementException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to retrieve the list of all operations to a device.
|
* Method to retrieve the list of all operations to a device.
|
||||||
|
|||||||
@ -424,7 +424,7 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws
|
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws
|
||||||
OperationManagementException, DeviceManagementException {
|
OperationManagementException {
|
||||||
return operationManager.addOperation(operation, devices);
|
return operationManager.addOperation(operation, devices);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -120,8 +120,8 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean addOperation(Operation operation,
|
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices)
|
||||||
List<DeviceIdentifier> devices) throws OperationManagementException, DeviceManagementException {
|
throws OperationManagementException {
|
||||||
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().addOperation(operation, devices);
|
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().addOperation(operation, devices);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user