Revision ff5981db
Added by Andreas Müller over 7 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/IdentifiableListController.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import eu.etaxonomy.cdm.api.service.IIdentifiableEntityService; |
27 | 27 |
import eu.etaxonomy.cdm.api.service.ITermService; |
28 |
import eu.etaxonomy.cdm.api.service.dto.FindByIdentifierDTO;
|
|
29 |
import eu.etaxonomy.cdm.api.service.dto.FindByMarkerDTO;
|
|
28 |
import eu.etaxonomy.cdm.api.service.dto.IdentifiedEntityDTO;
|
|
29 |
import eu.etaxonomy.cdm.api.service.dto.MarkedEntityDTO;
|
|
30 | 30 |
import eu.etaxonomy.cdm.api.service.pager.Pager; |
31 | 31 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
32 | 32 |
import eu.etaxonomy.cdm.model.common.DefinedTerm; |
... | ... | |
115 | 115 |
* @throws IOException |
116 | 116 |
*/ |
117 | 117 |
@RequestMapping(method = RequestMethod.GET, value={"findByIdentifier"}) |
118 |
public Pager<FindByIdentifierDTO<T>> doFindByIdentifier(
|
|
118 |
public Pager<IdentifiedEntityDTO<T>> doFindByIdentifier(
|
|
119 | 119 |
@RequestParam(value = "class", required = false) Class type, |
120 | 120 |
@RequestParam(value = "identifierType", required = false) String identifierType, |
121 | 121 |
@RequestParam(value = "identifier", required = false) String identifier, |
... | ... | |
159 | 159 |
* @throws IOException |
160 | 160 |
*/ |
161 | 161 |
@RequestMapping(method = RequestMethod.GET, value={"findByMarker"}) |
162 |
public Pager<FindByMarkerDTO<T>> doFindByMarker(
|
|
162 |
public Pager<MarkedEntityDTO<T>> doFindByMarker(
|
|
163 | 163 |
@RequestParam(value = "class", required = false) Class<T> type, |
164 | 164 |
@RequestParam(value = "markerType", required = true) UUID markerTypeUuid, |
165 | 165 |
@RequestParam(value = "value", required = false) Boolean value, |
Also available in: Unified diff
rename FindByIdentifierDTO and FindByMarkerDTO