Revision 682f52a4
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/RemotingMoveFactualDataOperation.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
private final UUID sourceTaxonUuid; |
33 | 33 |
private final UUID targetParentTaxonUuid; |
34 |
private boolean setNameInSource; |
|
34 | 35 |
|
35 | 36 |
/** |
36 | 37 |
* @param label |
... | ... | |
41 | 42 |
public RemotingMoveFactualDataOperation(Object source, |
42 | 43 |
boolean async, |
43 | 44 |
UUID sourceTaxonUuid, |
44 |
UUID targetParentTaxonUuid) { |
|
45 |
UUID targetParentTaxonUuid, boolean setNameInSource) {
|
|
45 | 46 |
super(LABEL, Action.Update, source, async); |
46 | 47 |
this.sourceTaxonUuid = sourceTaxonUuid; |
47 | 48 |
this.targetParentTaxonUuid = targetParentTaxonUuid; |
49 |
this.setNameInSource = setNameInSource; |
|
48 | 50 |
} |
49 | 51 |
|
50 | 52 |
/* (non-Javadoc) |
... | ... | |
53 | 55 |
@Override |
54 | 56 |
protected UpdateResult doUpdateExecute(IProgressMonitor monitor, IAdaptable info) throws Exception { |
55 | 57 |
return CdmApplicationState.getService(IDescriptionService.class).moveTaxonDescriptions(sourceTaxonUuid, |
56 |
targetParentTaxonUuid);
|
|
58 |
targetParentTaxonUuid, setNameInSource);//TODO
|
|
57 | 59 |
} |
58 | 60 |
|
59 | 61 |
} |
Also available in: Unified diff
ref #3472: adapt editor to changes in methods moving descriptions