Revision ff5981db
Added by Andreas Müller over 7 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TaxonListController.java | ||
---|---|---|
39 | 39 |
import eu.etaxonomy.cdm.api.service.TaxaAndNamesSearchMode; |
40 | 40 |
import eu.etaxonomy.cdm.api.service.config.FindTaxaAndNamesConfiguratorImpl; |
41 | 41 |
import eu.etaxonomy.cdm.api.service.config.IFindTaxaAndNamesConfigurator; |
42 |
import eu.etaxonomy.cdm.api.service.dto.FindByIdentifierDTO;
|
|
43 |
import eu.etaxonomy.cdm.api.service.dto.FindByMarkerDTO;
|
|
42 |
import eu.etaxonomy.cdm.api.service.dto.IdentifiedEntityDTO;
|
|
43 |
import eu.etaxonomy.cdm.api.service.dto.MarkedEntityDTO;
|
|
44 | 44 |
import eu.etaxonomy.cdm.api.service.pager.Pager; |
45 | 45 |
import eu.etaxonomy.cdm.api.service.search.LuceneMultiSearchException; |
46 | 46 |
import eu.etaxonomy.cdm.api.service.search.SearchResult; |
... | ... | |
469 | 469 |
* @throws IOException |
470 | 470 |
*/ |
471 | 471 |
@RequestMapping(method = RequestMethod.GET, value={"findByIdentifier"}, params={"subtree"}) |
472 |
public <T extends TaxonBase> Pager<FindByIdentifierDTO<T>> doFindByIdentifier(
|
|
472 |
public <T extends TaxonBase> Pager<IdentifiedEntityDTO<T>> doFindByIdentifier(
|
|
473 | 473 |
@RequestParam(value = "class", required = false) Class<T> type, |
474 | 474 |
@RequestParam(value = "identifierType", required = false) UUID identifierType, |
475 | 475 |
@RequestParam(value = "identifier", required = false) String identifier, |
... | ... | |
522 | 522 |
* @throws IOException |
523 | 523 |
*/ |
524 | 524 |
@RequestMapping(method = RequestMethod.GET, value={"findByMarker"}, params={"subtree"}) |
525 |
public <T extends TaxonBase> Pager<FindByMarkerDTO<T>> doFindByMarker(
|
|
525 |
public <T extends TaxonBase> Pager<MarkedEntityDTO<T>> doFindByMarker(
|
|
526 | 526 |
@RequestParam(value = "class", required = false) Class<T> type, |
527 | 527 |
@RequestParam(value = "markerType", required = true) UUID markerTypeUuid, |
528 | 528 |
@RequestParam(value = "value", required = false) Boolean value, |
Also available in: Unified diff
rename FindByIdentifierDTO and FindByMarkerDTO