2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.api
.service
;
12 import java
.util
.UUID
;
14 import eu
.etaxonomy
.cdm
.model
.common
.TermVocabulary
;
15 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionBase
;
16 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
17 import eu
.etaxonomy
.cdm
.model
.description
.FeatureTree
;
19 public interface IDescriptionService
extends IIdentifiableEntityService
<DescriptionBase
> {
25 public abstract DescriptionBase
getDescriptionBaseByUuid(UUID uuid
);
28 * Persists a <code>Description</code>
32 public abstract UUID
saveDescription(DescriptionBase description
);
35 * Persists a <code>FeatureTree</code>
39 public abstract UUID
saveFeatureTree(FeatureTree tree
);
41 public abstract TermVocabulary
<Feature
> getDefaultFeatureVocabulary();
42 public abstract TermVocabulary
<Feature
> getFeatureVocabulary(UUID uuid
);