task #8406
Updated by Andreas Kohlbecker over 4 years ago
## cdmlib-remote
eu.etaxonomy.cdm.remote.controller.OccurrenceController.doGetOccurencesDTO(@PathVariable(value="uuid") UUID uuid, HttpServletRequest request, HttpServletResponse response) throws IOException
* rename to *FieldUnitDTO as it returns FieldUnitDTO
## data portal
* There are different kinds of "views" on specimens lists,
* some of them provide a pager others do not
* do operate on different webservice response types (FieldUnitDto, ...) and are thus not exchangable.
* The kind of representation of specimens lists needs to be selectable via a set of radio buttons.
* cdm_dataportal_specimen_by_accession_number_page_view must not reuse cdm_dataportal_specimen_page_view(), the cdm_dataportal_specimen_page_view() must only be used as 'page callback' argument. --> create a specific implementation of cdm_dataportal_specimen_by_accession_number_page_view()
* cdm_dataportal_specimen_by_accession_number_page_view() must mot return just an empty string in case the accession number is not matching any specimen. Better respond with an appropriate message.
* Why does cdm_dataportal_specimen_page_view() create two different representations depending on whether `$uuid` or `$specimenDTO`is being passed? This, by the way is anyway a bad idea. Better pass only one parameter.