Revision 49d3c2dd
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableDistributionPerAreaStatusWizard.java | ||
---|---|---|
16 | 16 |
import org.osgi.service.prefs.BackingStoreException; |
17 | 17 |
import org.osgi.service.prefs.Preferences; |
18 | 18 |
|
19 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
20 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
|
21 | 19 |
import eu.etaxonomy.cdm.model.location.NamedArea; |
22 | 20 |
import eu.etaxonomy.cdm.model.metadata.CdmPreference; |
23 | 21 |
import eu.etaxonomy.cdm.model.metadata.CdmPreference.PrefKey; |
... | ... | |
34 | 32 |
* @since 05.10.2018 |
35 | 33 |
* |
36 | 34 |
*/ |
37 |
public class AvailableDistributionPerAreaStatusWizard extends Wizard implements IConversationEnabled{ |
|
38 |
private ConversationHolder conversation; |
|
35 |
public class AvailableDistributionPerAreaStatusWizard extends Wizard { |
|
39 | 36 |
private final AvailableDistributionPerAreaStatusPage aPage; |
40 | 37 |
List<CdmPreference> prefs; |
41 | 38 |
private boolean isAdmin; |
... | ... | |
140 | 137 |
return true; |
141 | 138 |
} |
142 | 139 |
|
143 |
@Override |
|
144 |
public void update(CdmDataChangeMap changeEvents) { |
|
145 |
|
|
146 |
} |
|
147 |
|
|
148 |
@Override |
|
149 |
public ConversationHolder getConversationHolder() { |
|
150 |
if (conversation == null) { |
|
151 |
conversation = CdmStore.createConversation(); |
|
152 |
} |
|
153 |
return conversation; |
|
154 |
} |
|
155 |
|
|
156 | 140 |
} |
Also available in: Unified diff
ref #10186: remove conversation holder