Revision 76fe3732
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AgentEditorInput.java | ||
---|---|---|
146 | 146 |
} |
147 | 147 |
|
148 | 148 |
@Override |
149 |
public boolean save(TeamOrPersonBase entity) {
|
|
149 |
public TeamOrPersonBase save(TeamOrPersonBase entity) {
|
|
150 | 150 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
151 |
return CdmStore.getService(IAgentService.class).merge(entity) != null;
|
|
151 |
return (TeamOrPersonBase) CdmStore.getService(IAgentService.class).merge(entity);
|
|
152 | 152 |
} else { |
153 |
return CdmStore.getService(IAgentService.class).saveOrUpdate(entity) != null; |
|
153 |
CdmStore.getService(IAgentService.class).saveOrUpdate(entity) ; |
|
154 |
return entity; |
|
154 | 155 |
} |
155 | 156 |
} |
156 | 157 |
|
Also available in: Unified diff
#5161 Fix problem of new entity not refreshed