Revision 2e93b829
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewGrantedAuthorityWizard.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 |
*/ |
... | ... | |
20 | 20 |
* @created Sept 13 2012 |
21 | 21 |
*/ |
22 | 22 |
public class NewGrantedAuthorityWizard extends AbstractNewEntityWizard<GrantedAuthorityImpl> { |
23 |
|
|
23 |
|
|
24 | 24 |
private GrantedAuthorityDetailWizardPage authorityPage; |
25 |
|
|
25 |
|
|
26 | 26 |
/* (non-Javadoc) |
27 | 27 |
* @see org.eclipse.jface.wizard.Wizard#addPages() |
28 | 28 |
*/ |
... | ... | |
38 | 38 |
*/ |
39 | 39 |
@Override |
40 | 40 |
protected void saveEntity() { |
41 |
CdmStore.getService(IGrantedAuthorityService.class).saveOrUpdate(getEntity());
|
|
41 |
CdmStore.getService(IGrantedAuthorityService.class).merge(getEntity());
|
|
42 | 42 |
} |
43 | 43 |
|
44 | 44 |
/* (non-Javadoc) |
Also available in: Unified diff
#5225 Replace saveOrUpdate with merge for new entity wizards