Revision 09023b8d
Added by Andreas Kohlbecker almost 8 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/description/TransmissionEngineDistribution.java | ||
---|---|---|
356 | 356 |
for(Classification _classification : classifications) { |
357 | 357 |
|
358 | 358 |
ClassificationLookupDTO classificationLookupDao = classificationService.classificationLookup(_classification); |
359 |
classificationLookupDao.filter(ranks); |
|
359 |
classificationLookupDao.filterInclude(ranks);
|
|
360 | 360 |
|
361 | 361 |
double end1 = System.currentTimeMillis(); |
362 | 362 |
logger.info("Time elapsed for classificationLookup() : " + (end1 - start) / (1000) + "s"); |
... | ... | |
667 | 667 |
* @return |
668 | 668 |
*/ |
669 | 669 |
private List<Rank> rankInterval(Rank lowerRank, Rank upperRank) { |
670 |
|
|
671 |
TransactionStatus txStatus = startTransaction(false); |
|
670 | 672 |
Rank currentRank = lowerRank; |
671 | 673 |
List<Rank> ranks = new ArrayList<Rank>(); |
672 | 674 |
ranks.add(currentRank); |
... | ... | |
674 | 676 |
currentRank = findNextHigherRank(currentRank); |
675 | 677 |
ranks.add(currentRank); |
676 | 678 |
} |
679 |
commitTransaction(txStatus); |
|
680 |
txStatus = null; |
|
677 | 681 |
return ranks; |
678 | 682 |
} |
679 | 683 |
|
Also available in: Unified diff
fixing bugs related to the rank intervall in the TransmissionEngineDistribution