Revision f51d204a
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java | ||
---|---|---|
711 | 711 |
if (remotingMonitor.getResult() instanceof ExportResult) { |
712 | 712 |
reportSb.append(((ExportResult)remotingMonitor.getResult()).createReport()); |
713 | 713 |
}else if (remotingMonitor.getResult() instanceof UpdateResult){ |
714 |
reportSb.append(((UpdateResult)remotingMonitor.getResult()).getExceptions().toString()); |
|
714 |
if (((UpdateResult)remotingMonitor.getResult()).isOk()){ |
|
715 |
reportSb.append("Update successfull. \n"+"Updated Objects: " + ((UpdateResult)remotingMonitor.getResult()).getUpdatedObjects().size()); |
|
716 |
} |
|
717 |
if (!((UpdateResult)remotingMonitor.getResult()).getExceptions().isEmpty()){ |
|
718 |
reportSb.append(((UpdateResult)remotingMonitor.getResult()).getExceptions().toString()); |
|
719 |
} |
|
715 | 720 |
} |
716 | 721 |
// } |
717 | 722 |
if(!StringUtils.isBlank(reportSb.toString()) && reportSb.length() != 0) { |
Also available in: Unified diff
adapt deleteHandler in nameEditor to partial and pro parte misapplied names