Revision 99f73393
Added by Katja Luther over 4 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/taxon/ITaxonNodeDao.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
22 | 22 |
import eu.etaxonomy.cdm.model.reference.Reference; |
23 | 23 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
24 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
|
25 | 24 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
26 | 25 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
27 | 26 |
import eu.etaxonomy.cdm.model.taxon.TaxonNodeAgentRelation; |
... | ... | |
58 | 57 |
* @return a list of UuidAndTitleCache objects that represent children of the |
59 | 58 |
* parent |
60 | 59 |
*/ |
61 |
public List<UuidAndTitleCache<TaxonNode>> listChildNodesAsUuidAndTitleCache(UuidAndTitleCache<TaxonNode> parent);
|
|
60 |
public List<TaxonNodeDto> listChildNodesAsUuidAndTitleCache(TaxonNodeDto parent);
|
|
62 | 61 |
|
63 | 62 |
/** |
64 | 63 |
* Retrieves the parent node of the {@link TaxonNode} represented by the given {@link UuidAndTitleCache}. |
65 | 64 |
* @param child the child for which the parent should be retrieved |
66 | 65 |
* @return an UuidAndTitleCache object representing the parent node |
67 | 66 |
*/ |
68 |
public UuidAndTitleCache<TaxonNode> getParentUuidAndTitleCache(UuidAndTitleCache<TaxonNode> child);
|
|
67 |
public TaxonNodeDto getParentUuidAndTitleCache(TaxonNodeDto child);
|
|
69 | 68 |
|
70 | 69 |
/** |
71 | 70 |
* Retrieves a list of {@link UuidAndTitleCache} objects that have a matching titleCache |
... | ... | |
74 | 73 |
* @param classificationUuid if specified only nodes of this classification are retrieved |
75 | 74 |
* @return a list of matches |
76 | 75 |
*/ |
77 |
public List<UuidAndTitleCache<TaxonNode>> getUuidAndTitleCache(Integer limit, String pattern, UUID classificationUuid);
|
|
76 |
public List<TaxonNodeDto> getUuidAndTitleCache(Integer limit, String pattern, UUID classificationUuid);
|
|
78 | 77 |
|
79 | 78 |
public List<TaxonNode> listChildrenOf(TaxonNode node, Integer pageSize, Integer pageIndex, |
80 | 79 |
boolean recursive, boolean includeUnpublished, List<String> propertyPaths); |
... | ... | |
197 | 196 |
Set<UUID> relationTypes, boolean includeSharedTaxa, boolean includeHybrids, |
198 | 197 |
IProgressMonitor monitor); |
199 | 198 |
|
199 |
|
|
200 | 200 |
/** |
201 | 201 |
* @param parent |
202 | 202 |
* @return |
203 | 203 |
*/ |
204 |
public List<TaxonNodeDto> listChildNodesAsTaxonNodeDto(UuidAndTitleCache<TaxonNode> parent);
|
|
204 |
public List<TaxonNodeDto> listChildNodesAsTaxonNodeDto(TaxonNodeDto parent);
|
|
205 | 205 |
|
206 | 206 |
/** |
207 | 207 |
* @param classification |
Also available in: Unified diff
cleanup taxonnodeDto - UuidAndTitleCache