Merge pull request 'Update sendDeviceNameChangedNotification' (#56) from rushdi-entgra.io/device-mgt-core:fix-naming into master

Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/56
This commit is contained in:
Pahansith Gunathilake 2023-01-31 13:12:40 +00:00
commit 8be8b2928a
3 changed files with 3 additions and 3 deletions

View File

@ -618,7 +618,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
persistedDevice.setName(device.getName());
System.out.println("This is rename device");
boolean responseOfmodifyEnrollment = deviceManagementProviderService.modifyEnrollment(persistedDevice);
boolean responseOfDeviceNameChanged = deviceManagementProviderService.SendDeviceNameChangedNotification(
boolean responseOfDeviceNameChanged = deviceManagementProviderService.sendDeviceNameChangedNotification(
persistedDevice);
boolean response = responseOfmodifyEnrollment && responseOfDeviceNameChanged;

View File

@ -1031,5 +1031,5 @@ public interface DeviceManagementProviderService {
PaginationResult getDevicesDetails(PaginationRequest request, List<Integer> devicesIds, String groupName)
throws DeviceManagementException;
Boolean SendDeviceNameChangedNotification(Device device) throws DeviceManagementException;
Boolean sendDeviceNameChangedNotification(Device device) throws DeviceManagementException;
}

View File

@ -4878,7 +4878,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
}
@Override
public Boolean SendDeviceNameChangedNotification(Device device) throws DeviceManagementException {
public Boolean sendDeviceNameChangedNotification(Device device) throws DeviceManagementException {
try {
ProfileOperation operation = new ProfileOperation();