Project

General

Profile

Revision f340f42e

IDf340f42e23944c8c1171d798f7de9c2b89a58f02
Parent f64f6d1b
Child cac97126

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ClassificationPortalListController.java
233 233
            @PathVariable("taxonUuid") UUID taxonUuid,
234 234
            @PathVariable("rankUuid") UUID rankUuid,
235 235
            HttpServletRequest request,
236
            HttpServletResponse response) throws IOException {
236
            HttpServletResponse response) {
237 237
        logger.info("getPathFromTaxonToRank() " + request.getRequestURI());
238 238

  
239 239
        Classification tree = service.find(treeUuid);
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/dto/NameCatalogueController.java
686 686
            if (nvn != null) {
687 687
                NameInformation ni = new NameInformation();
688 688
                ni.setRequest(nameUuid);
689
                Reference ref = (Reference) nvn.getNomenclaturalReference();
689
                Reference ref = nvn.getNomenclaturalReference();
690 690
                String citation = "";
691 691
                String citation_details = "";
692 692
                if (ref != null) {
......
803 803
            @RequestParam(value = "include", required = false, defaultValue = "") String[] includes,
804 804
            HttpServletRequest request, HttpServletResponse response) throws IOException {
805 805
        ModelAndView mv = new ModelAndView();
806
        List<RemoteResponse> tiList = new ArrayList<RemoteResponse>();
806
        List<RemoteResponse> tiList = new ArrayList<>();
807 807
        // loop through each name uuid
808 808
        for (String taxonUuid : taxonUuids) {
809 809
            logger.info("doGetTaxonInformation()" + request.getRequestURI() + " for taxon uuid \""
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ClassificationServiceImpl.java
350 350
    }
351 351

  
352 352
    @Override
353
    public TaxonNode getTaxonNodeByUuid(UUID uuid) {
354
        return taxonNodeDao.findByUuid(uuid);
355
    }
356

  
357
    @Override
358 353
    public ITaxonTreeNode getTreeNodeByUuid(UUID uuid){
359 354
        ITaxonTreeNode treeNode = taxonNodeDao.findByUuid(uuid);
360 355
        if(treeNode == null){
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IClassificationService.java
44 44
     * @param uuid
45 45
     * @return
46 46
     */
47
    public TaxonNode getTaxonNodeByUuid(UUID uuid);
48

  
49
    /**
50
     *
51
     * @param uuid
52
     * @return
53
     */
54 47
    public ITaxonTreeNode getTreeNodeByUuid(UUID uuid);
55 48

  
56 49
    /**

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)