Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/GroupEditorInput.java | ||
---|---|---|
66 | 66 |
*/ |
67 | 67 |
@Override |
68 | 68 |
public Group save(Group entity) { |
69 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
70 |
return CdmStore.getService(IGroupService.class).merge(entity, true).getMergedEntity(); |
|
71 |
} else { |
|
72 |
CdmStore.getService(IGroupService.class).saveOrUpdate(entity); |
|
73 |
return entity; |
|
74 |
} |
|
69 |
return CdmStore.getService(IGroupService.class).merge(entity, true).getMergedEntity(); |
|
70 |
|
|
75 | 71 |
} |
76 | 72 |
|
77 | 73 |
/* (non-Javadoc) |
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone