use of mom.trd.opentheso.bdd.helper.ExternalImagesHelper in project opentheso by miledrousset.
the class Alignment method addImages__.
private boolean addImages__(String idTheso, String idConcept, int idUser) {
ExternalImagesHelper imagesHelper = new ExternalImagesHelper();
for (SelectedResource selectedResource : imagesOfAlignment) {
if (selectedResource.isSelected()) {
if (!imagesHelper.addExternalImage(connect.getPoolConnexion(), idConcept, idTheso, "", selectedAlignement, selectedResource.getGettedValue(), idUser)) {
error = true;
alignementResult = alignementResult + ": Erreur dans l'ajout des images";
}
}
}
alignementResult = alignementResult + " Images ajoutées";
return true;
}
Aggregations