Revision 76fe3732
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/GroupEditorInput.java | ||
---|---|---|
61 | 61 |
* @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityPersistenceService#save(java.lang.Object) |
62 | 62 |
*/ |
63 | 63 |
@Override |
64 |
public boolean save(Group entity) {
|
|
64 |
public Group save(Group entity) {
|
|
65 | 65 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
66 |
return CdmStore.getService(IGroupService.class).merge(entity) != null;
|
|
66 |
return CdmStore.getService(IGroupService.class).merge(entity) ; |
|
67 | 67 |
} else { |
68 |
return CdmStore.getService(IGroupService.class).saveOrUpdate(entity) != null; |
|
68 |
CdmStore.getService(IGroupService.class).saveOrUpdate(entity); |
|
69 |
return entity; |
|
69 | 70 |
} |
70 | 71 |
} |
71 | 72 |
|
Also available in: Unified diff
#5161 Fix problem of new entity not refreshed