Project

General

Profile

« Previous | Next » 

Revision 06fbc173

Added by Patrick Plitzner about 3 years ago

ref #8263 Adapt to service method change

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/TermDtoContentProvider.java
34 34

  
35 35
	@Override
36 36
	public Object[] getChildren(Object parentElement) {
37
	    Collection<Object> children = new HashSet<>();
37
	    Collection<TermDto> children = new HashSet<>();
38 38
	    if(parentElement instanceof TermVocabularyDto){
39
	        children.addAll(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy(((TermVocabularyDto)parentElement).getUuid()));
39
	        children.addAll(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy((TermVocabularyDto)parentElement));
40 40
	    } else if(parentElement instanceof TermDto){
41 41
	            if(((TermDto) parentElement).getIncludes()!=null){
42 42
	                children.addAll(((TermDto) parentElement).getIncludes());

Also available in: Unified diff