@Override public User findUserById(Long userId) { return commonDao.getObjectByID(User.class, userId); }
@Override public void deleteRegisteredDeviceById(Long id) { RegisteredDevice registeredDevice = commonService.getObjectByID(RegisteredDevice.class, id); if (registeredDevice != null) commonService.deleteObject(registeredDevice); }