/* * (non-Javadoc) * * @see * org.openiam.idm.srvc.user.service.UserDataService#getPhoneList(java.lang * .String) */ @Transactional(readOnly = true) public List<Phone> getPhoneList(String userId) { if (userId == null) throw new NullPointerException("userId is null"); List<Phone> phoneList = null; List<PhoneEntity> phoneEntityList = phoneDao.findByParentAsList(userId, ContactConstants.PARENT_TYPE_USER); return phoneDozerConverter.convertToDTOList(phoneEntityList, true); }