Project

General

Profile

« Previous | Next » 

Revision 71559ffe

Added by Katja Luther over 2 years ago

ref #9710: switch to dtos for descriptive data set and descriptions for character matrix

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/VocabularyServiceImpl.java
117 117
    }
118 118

  
119 119
    @Override
120
    public Collection<TermDto> getCompleteTermHierarchy(TermVocabularyDto vocabularyDto) {
121
        Collection<TermDto> topLevelTerms = dao.getTopLevelTerms(vocabularyDto.getUuid(), vocabularyDto.getTermType());
120
    public List<TermDto> getCompleteTermHierarchy(TermVocabularyDto vocabularyDto) {
121
        List<TermDto> topLevelTerms = dao.getTopLevelTerms(vocabularyDto.getUuid(), vocabularyDto.getTermType());
122 122
        for (TermDto termDto : topLevelTerms) {
123 123
            termDto.setVocabularyDto(vocabularyDto);
124 124
            initializeIncludes(termDto);
125 125
            initializeGeneralizationOf(termDto);
126 126
        }
127

  
127 128
        return topLevelTerms;
128 129
    }
129 130

  

Also available in: Unified diff