Revision 6960ca08
Added by Markus Döring over 16 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/service/ICdmService.java | ||
---|---|---|
35 | 35 |
*/ |
36 | 36 |
public interface ICdmService { |
37 | 37 |
|
38 |
public Class whatis(UUID uuid); |
|
38 |
/** |
|
39 |
* @param uuid |
|
40 |
* @return |
|
41 |
* @throws CdmObjectNonExisting |
|
42 |
*/ |
|
43 |
public Class whatis(UUID uuid) throws CdmObjectNonExisting; |
|
39 | 44 |
|
40 |
public NameTO getName(UUID uuid);// throws BusinessLogicException; |
|
45 |
/** |
|
46 |
* @param uuid |
|
47 |
* @return |
|
48 |
* @throws CdmObjectNonExisting |
|
49 |
*/ |
|
50 |
public NameTO getName(UUID uuid) throws CdmObjectNonExisting;// throws BusinessLogicException; |
|
41 | 51 |
|
42 |
public TaxonTO getTaxon(UUID uuid); |
|
52 |
/** |
|
53 |
* @param uuid |
|
54 |
* @return |
|
55 |
* @throws CdmObjectNonExisting |
|
56 |
*/ |
|
57 |
public TaxonTO getTaxon(UUID uuid) throws CdmObjectNonExisting; |
|
43 | 58 |
|
59 |
/** |
|
60 |
* @param uuid |
|
61 |
* @return |
|
62 |
*/ |
|
44 | 63 |
public ReferenceTO getReference(UUID uuid); |
45 | 64 |
|
46 | 65 |
/** |
... | ... | |
66 | 85 |
* |
67 | 86 |
* For pro parte synonyms there might exist more than 1 accepted taxon, |
68 | 87 |
* therefore we use the ResultSetPageSTO wrapper |
88 |
* @throws CdmObjectNonExisting |
|
89 |
*/ |
|
90 |
/** |
|
91 |
* @param uuid |
|
92 |
* @return |
|
93 |
* @throws CdmObjectNonExisting |
|
69 | 94 |
*/ |
70 |
public ResultSetPageSTO<TaxonSTO> getAcceptedTaxon(UUID uuid); |
|
95 |
public ResultSetPageSTO<TaxonSTO> getAcceptedTaxon(UUID uuid) throws CdmObjectNonExisting;
|
|
71 | 96 |
|
72 | 97 |
/** |
73 | 98 |
* Find taxa matching the query defined by the given parameters. |
... | ... | |
107 | 132 |
* @return A List of all parent taxa including the one referenced by the |
108 | 133 |
* parameter uuid. The {@link TreeNode} elements are ordered in the |
109 | 134 |
* direction from root up to the references taxon. |
135 |
* @throws CdmObjectNonExisting |
|
110 | 136 |
*/ |
111 |
public List<TreeNode> getParentTaxa(UUID uuid); |
|
137 |
public List<TreeNode> getParentTaxa(UUID uuid) throws CdmObjectNonExisting;
|
|
112 | 138 |
|
113 | 139 |
/** |
114 | 140 |
* Getter to retrieve the children of the taxon referenced by the parameter |
... | ... | |
118 | 144 |
* the UUID of the {@link eu.etaxonomy.model.taxon.Taxon} |
119 | 145 |
* @return A List of all taxa which are children in of the referenced taxon |
120 | 146 |
* in the concept tree. |
147 |
* @throws CdmObjectNonExisting |
|
121 | 148 |
*/ |
122 |
public List<TreeNode> getChildrenTaxa(UUID uuid); |
|
149 |
public List<TreeNode> getChildrenTaxa(UUID uuid) throws CdmObjectNonExisting;
|
|
123 | 150 |
|
124 | 151 |
/** |
125 | 152 |
* Gets the root nodes of the taxonomic concept tree for the concept |
Also available in: Unified diff