Revision 18154a72
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableVocabularyWizard.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
19 | 19 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
20 |
import eu.etaxonomy.cdm.model.common.TermVocabulary; |
|
21 | 20 |
import eu.etaxonomy.cdm.model.metadata.CdmPreference; |
22 | 21 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
23 | 22 |
import eu.etaxonomy.cdm.model.metadata.PreferenceSubject; |
23 |
import eu.etaxonomy.cdm.persistence.dto.TermVocabularyDto; |
|
24 | 24 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
25 | 25 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
26 | 26 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
... | ... | |
119 | 119 |
|
120 | 120 |
ArrayList<UUID> listUIIDChecked = new ArrayList<UUID>(); |
121 | 121 |
for (Object o : checkedElements) { |
122 |
if(o instanceof TermVocabulary){ |
|
123 |
TermVocabulary otb = (TermVocabulary) o;
|
|
122 |
if(o instanceof TermVocabularyDto){
|
|
123 |
TermVocabularyDto otb = (TermVocabularyDto) o;
|
|
124 | 124 |
listUIIDChecked.add(otb.getUuid()); |
125 | 125 |
} |
126 | 126 |
} |
Also available in: Unified diff
ref #7887 Fix preference persisting (based on DTOs)