Revision 32ba7109
Added by Andreas Kohlbecker almost 8 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonNodeService.java | ||
---|---|---|
24 | 24 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
25 | 25 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
26 | 26 |
import eu.etaxonomy.cdm.model.taxon.TaxonNodeAgentRelation; |
27 |
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto; |
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
/** |
... | ... | |
43 | 44 |
*/ |
44 | 45 |
public List<TaxonNode> loadChildNodesOfTaxonNode(TaxonNode taxonNode, List<String> propertyPaths, boolean recursive, NodeSortMode sortMode); |
45 | 46 |
|
47 |
/** |
|
48 |
*returns the childnodes of the taxonNode, if recursive is true it returns all descendants, if sort is true the nodes are sorted |
|
49 |
* |
|
50 |
* @param taxonNode |
|
51 |
* @param recursive |
|
52 |
* @param sortMode |
|
53 |
* @param pageSize |
|
54 |
* @param pageIndex |
|
55 |
* |
|
56 |
* @return List<TaxonNodeDto> |
|
57 |
*/ |
|
58 |
public Pager<TaxonNodeDto> pageChildNodesDTOs(UUID taxonNodeUuid, boolean recursive, NodeSortMode sortMode, Integer pageSize, Integer pageIndex); |
|
59 |
|
|
60 |
public TaxonNodeDto parentDto(UUID taxonNodeUuid); |
|
61 |
|
|
46 | 62 |
/** |
47 | 63 |
* Changes the taxon associated with the given taxon node into a synonym of the new accepted taxon node. |
48 | 64 |
* All data associated with the former taxon are moved to the newly accepted taxon. |
Also available in: Unified diff
refactoring taxonNode controllers - return dtos from the service layer, support for #5887