mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing enrollment broken issue
This commit is contained in:
parent
f2f304ccc4
commit
641cc58bbf
@ -220,6 +220,12 @@ public interface DeviceManagementProviderService {
|
|||||||
|
|
||||||
boolean setActive(DeviceIdentifier deviceId, boolean status) throws DeviceManagementException;
|
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) throws DeviceManagementException;
|
||||||
|
|
||||||
Device getDevice(DeviceIdentifier deviceId, Date since) throws DeviceManagementException;
|
Device getDevice(DeviceIdentifier deviceId, Date since) throws DeviceManagementException;
|
||||||
|
|||||||
@ -828,7 +828,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
log.debug(msg);
|
log.debug(msg);
|
||||||
}
|
}
|
||||||
throw new DeviceManagementException(msg);
|
return null;
|
||||||
}
|
}
|
||||||
DeviceInfo info = deviceInfoDAO.getDeviceInformation(device.getId());
|
DeviceInfo info = deviceInfoDAO.getDeviceInformation(device.getId());
|
||||||
DeviceLocation location = deviceInfoDAO.getDeviceLocation(device.getId());
|
DeviceLocation location = deviceInfoDAO.getDeviceLocation(device.getId());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user