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