use of se.riv.infrastructure.directory.privatepractitioner.v1.SpecialitetType in project webcert by sklintyg.
the class ElegWebCertUserDetailsService method decorateWebCertUserWithSpecialiceringar.
private void decorateWebCertUserWithSpecialiceringar(HoSPersonType hosPerson, WebCertUser webCertUser) {
List<String> specialiteter = new ArrayList<>();
for (SpecialitetType st : hosPerson.getSpecialitet()) {
specialiteter.add(st.getNamn());
}
webCertUser.setSpecialiseringar(specialiteter);
}
Aggregations