Project

General

Profile

« Previous | Next » 

Revision 183973c8

Added by Andreas Kohlbecker almost 8 years ago

#5852 dao, service and controler for taxonNode sibling retrieval

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ClassificationPortalListController.java
193 193

  
194 194
    }
195 195

  
196
    @RequestMapping(
197
            value = {"{treeUuid}/siblingsOf/{taxonUuid}"},
198
            method = RequestMethod.GET)
199
    public List<TaxonNode> getSiblingsOfTaxon(
200
            @PathVariable("treeUuid") UUID treeUuid,
201
            @PathVariable("taxonUuid") UUID taxonUuid,
202
            HttpServletRequest request,
203
            HttpServletResponse response) throws IOException {
204
        logger.info("getSiblingsOfTaxon() " + request.getRequestURI());
205

  
206
        //FIXME return pager
207
        List<TaxonNode> childs = service.listSiblingsOfTaxon(taxonUuid, treeUuid, null, null, NODE_INIT_STRATEGY);
208
        return childs;
209

  
210
    }
211

  
196 212
    /**
197 213
     * Provides path of {@link TaxonNode}s from the base node to the node of the specified taxon.
198 214
     * <p>

Also available in: Unified diff