Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewAmplificationWizard.java | ||
---|---|---|
38 | 38 |
/** {@inheritDoc} */ |
39 | 39 |
@Override |
40 | 40 |
protected void saveEntity() { |
41 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
42 |
CdmStore.getService(IAmplificationService.class).merge(getEntity(), true); |
|
43 |
} else { |
|
44 |
CdmStore.getService(IAmplificationService.class).save(getEntity()); |
|
45 |
} |
|
41 |
CdmStore.getService(IAmplificationService.class).merge(getEntity(), true); |
|
42 |
|
|
46 | 43 |
} |
47 | 44 |
|
48 | 45 |
/** {@inheritDoc} */ |
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone