/* * (non-Javadoc) * * @see * org.openiam.idm.srvc.user.service.UserDataService#getPrimarySupervisor * (java.lang.String) */ @Transactional(readOnly = true) public Supervisor getPrimarySupervisor(String employeeId) { if (employeeId == null) throw new NullPointerException("employeeId is null"); SupervisorEntity entity = supervisorDao.findPrimarySupervisor(employeeId); return supervisorDozerConverter.convertToDTO(entity, true); }