+ \r
+ /**\r
+ * Get the list of {@link TaxonNameDescription}s of the Name associated with the \r
+ * {@link TaxonNameBase} instance identified by the <code>{name-uuid}</code>.\r
+ * <p>\r
+ * URI: <b>/{datasource-name}/portal/name/{name-uuid}/descriptions</b>\r
+ * \r
+ * @param request\r
+ * @param response\r
+ * @return a List of {@link TaxonNameDescription} entities which are initialized\r
+ * using the following initialization strategy:\r
+ * {@link #NAMEDESCRIPTION_INIT_STRATEGY}\r
+ * @throws IOException\r
+ */\r
+ @RequestMapping(\r
+ value = {"taxonNameDescriptions"},\r
+ method = RequestMethod.GET)\r
+ public List<TaxonNameDescription> doGetNameDescriptions(@PathVariable("uuid") UUID uuid,\r
+ HttpServletRequest request, HttpServletResponse response)throws IOException {\r
+ logger.info("doGetNameDescriptions()" + request.getServletPath());\r
+ TaxonNameBase tnb = service.load(uuid, null);\r
+ Pager<TaxonNameDescription> p = descriptionService.getTaxonNameDescriptions(tnb, null, null, NAMEDESCRIPTION_INIT_STRATEGY);\r
+ return p.getRecords();\r
+ }\r