Project

General

Profile

Revision d28a05d3

IDd28a05d3fbe82c04c6ce205769e3d379bac9b98d
Parent 76bdf64b
Child ff3035c8

Added by Katja Luther about 2 years ago

ref #7463:add subtask for saving and reindexing in moveTaxonNodes

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImpl.java
734 734
        List<TaxonNode> nodes = dao.list(taxonNodeUuids, null, null, null, null);
735 735
        boolean hasPermission = true;
736 736

  
737
        monitor.beginTask("Move Taxonnodes", nodes.size());
737
        monitor.beginTask("Move Taxonnodes", nodes.size()*2);
738 738
        monitor.subTask("move taxon nodes");
739 739
        for (TaxonNode node: nodes){
740 740
            if (!monitor.isCanceled()){
......
749 749
            }
750 750
        }
751 751
        if (!monitor.isCanceled()){
752
            monitor.subTask("saving and reindex");
752 753
            dao.saveOrUpdateAll(nodes);
753 754
        }else{
754 755
            TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)