Refractor Operations Mgt

revert-70aa11f8
manoj 10 years ago
parent 6f59913621
commit 2d5f8fe937

@ -36,8 +36,7 @@ public interface OperationManager {
* @throws OperationManagementException If some unusual behaviour is observed while adding the
* operation
*/
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws
OperationManagementException, DeviceManagementException;
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws OperationManagementException;
/**
* Method to retrieve the list of all operations to a device.

@ -424,7 +424,7 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
@Override
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices) throws
OperationManagementException, DeviceManagementException {
OperationManagementException {
return operationManager.addOperation(operation, devices);
}

@ -120,8 +120,8 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
}
@Override
public boolean addOperation(Operation operation,
List<DeviceIdentifier> devices) throws OperationManagementException, DeviceManagementException {
public boolean addOperation(Operation operation, List<DeviceIdentifier> devices)
throws OperationManagementException {
return DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().addOperation(operation, devices);
}

Loading…
Cancel
Save