mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #472 from rasika/release-2.0.x
Fixing enrollment broken issue
This commit is contained in:
commit
6edbb8330f
@ -220,6 +220,12 @@ public interface DeviceManagementProviderService {
|
||||
|
||||
boolean setActive(DeviceIdentifier deviceId, boolean status) throws DeviceManagementException;
|
||||
|
||||
/**
|
||||
* Returns the device of specified id.
|
||||
* @param deviceId device Id
|
||||
* @return Device returns null when device is not avaialble.
|
||||
* @throws DeviceManagementException
|
||||
*/
|
||||
Device getDevice(DeviceIdentifier deviceId) throws DeviceManagementException;
|
||||
|
||||
Device getDevice(DeviceIdentifier deviceId, Date since) throws DeviceManagementException;
|
||||
|
||||
@ -828,7 +828,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug(msg);
|
||||
}
|
||||
throw new DeviceManagementException(msg);
|
||||
return null;
|
||||
}
|
||||
DeviceInfo info = deviceInfoDAO.getDeviceInformation(device.getId());
|
||||
DeviceLocation location = deviceInfoDAO.getDeviceLocation(device.getId());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user