Revision 2e93b829
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTeamWizard.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 | 3 |
* Copyright (C) 2007 EDIT |
4 |
* European Distributed Institute of Taxonomy
|
|
4 |
* European Distributed Institute of Taxonomy |
|
5 | 5 |
* http://www.e-taxonomy.eu |
6 |
*
|
|
6 |
* |
|
7 | 7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
8 | 8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
9 | 9 |
*/ |
... | ... | |
29 | 29 |
public void addPages() { |
30 | 30 |
addPage(new TeamWizardPage(formFactory, getConversationHolder(), getEntity())); |
31 | 31 |
} |
32 |
|
|
32 |
|
|
33 | 33 |
/* (non-Javadoc) |
34 | 34 |
* @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#createNewEntity() |
35 | 35 |
*/ |
... | ... | |
42 | 42 |
/** {@inheritDoc} */ |
43 | 43 |
@Override |
44 | 44 |
protected void saveEntity() { |
45 |
CdmStore.getService(IAgentService.class).saveOrUpdate(getEntity());
|
|
45 |
CdmStore.getService(IAgentService.class).merge(getEntity());
|
|
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
@Override |
Also available in: Unified diff
#5225 Replace saveOrUpdate with merge for new entity wizards