コード例 #1
0
 @Override
 public User findUserById(Long userId) {
   return commonDao.getObjectByID(User.class, userId);
 }
コード例 #2
0
 @Override
 public void deleteRegisteredDeviceById(Long id) {
   RegisteredDevice registeredDevice = commonService.getObjectByID(RegisteredDevice.class, id);
   if (registeredDevice != null) commonService.deleteObject(registeredDevice);
 }