use of fr.univlorraine.ecandidat.entities.siscol.Mention in project esup-ecandidat by EsupPortail.
the class SiScolApogeeWSServiceImpl method getListSiScolMention.
/**
* @see fr.univlorraine.ecandidat.services.siscol.SiScolGenericService#getListSiScolMention()
*/
@Override
public List<SiScolMention> getListSiScolMention() throws SiScolException {
try {
final List<SiScolMention> liste = new ArrayList<>();
executeQueryListEntity(Mention.class).forEach(mention -> {
liste.add(new SiScolMention(mention.getCodMen(), mention.getLibMen(), mention.getLicMen(), MethodUtils.getBooleanFromTemoin(mention.getTemEnSveMen())));
});
return liste;
} catch (final Exception e) {
throw new SiScolException("SiScol database error on getListSiScolMention", e.getCause());
}
}
Aggregations