3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.api
.service
;
13 import java
.util
.List
;
14 import java
.util
.UUID
;
16 import eu
.etaxonomy
.cdm
.model
.reference
.Reference
;
17 import eu
.etaxonomy
.cdm
.model
.taxon
.Synonym
;
18 import eu
.etaxonomy
.cdm
.model
.taxon
.SynonymRelationshipType
;
19 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
24 * @created Apr 9, 2010
27 public interface ITaxonNodeService
extends IAnnotatableService
<TaxonNode
>{
33 public TaxonNode
getTaxonNodeByUuid(UUID uuid
);
38 * @param propertyPaths
41 public List
<TaxonNode
> loadChildNodesOfTaxonNode(TaxonNode taxonNode
, List
<String
> propertyPaths
);
44 * Changes the taxon associated with the given taxon node into a synonym of the new accepted taxon node.
45 * All data associated with the former taxon are moved to the newly accepted taxon.
48 * @param newAcceptedTaxonNode
49 * @param synonymRelationshipType
51 * @param citationMicroReference
54 public Synonym
makeTaxonNodeASynonymOfAnotherTaxonNode(TaxonNode oldTaxonNode
, TaxonNode newAcceptedTaxonNode
, SynonymRelationshipType synonymRelationshipType
, Reference citation
, String citationMicroReference
);