Project

General

Profile

« Previous | Next » 

Revision 2e93b829

Added by Cherian Mathew over 8 years ago

#5225 Replace saveOrUpdate with merge for new entity wizards

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewReferenceWizard.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
*/
......
24 24
 * @version 1.0
25 25
 */
26 26
public class NewReferenceWizard extends AbstractNewEntityWizard<Reference> {
27
	
27

  
28 28
	private ReferenceWizardPage referencePage;
29
	
29

  
30 30
	/** {@inheritDoc} */
31 31
	@Override
32 32
	public void addPages() {
......
45 45
	/** {@inheritDoc} */
46 46
	@Override
47 47
	protected void saveEntity() {
48
		CdmStore.getService(IReferenceService.class).saveOrUpdate(getEntity());
48
	    CdmStore.getService(IReferenceService.class).save(getEntity());
49 49
	}
50 50

  
51 51
	/** {@inheritDoc} */

Also available in: Unified diff