Merge branch 'release/5.4.0'
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / taxonGraph / ITaxonGraphService.java
1 /**
2 * Copyright (C) 2018 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9 package eu.etaxonomy.cdm.api.service.taxonGraph;
10
11 import java.util.List;
12 import java.util.UUID;
13
14 import eu.etaxonomy.cdm.model.name.TaxonName;
15 import eu.etaxonomy.cdm.persistence.dao.taxonGraph.TaxonGraphException;
16 import eu.etaxonomy.cdm.persistence.dto.TaxonGraphEdgeDTO;
17 import eu.etaxonomy.cdm.persistence.query.MatchMode;
18
19 /**
20 * @author a.kohlbecker
21 * @since Oct 2, 2018
22 *
23 */
24 public interface ITaxonGraphService {
25
26 public List<TaxonGraphEdgeDTO> edges(UUID fromtaxonUuid, UUID toTaxonUuid, boolean includeUnpublished) throws TaxonGraphException;
27
28 public List<TaxonName> listIncludedNames(String queryString, MatchMode matchMode);
29
30 }