Project

General

Profile

Revision 41061791

ID4106179103e7ca3a67e01fcac59cfd424ae575ad
Parent 10ae9cf0
Child 77dad5ec

Added by Andreas Müller 12 months ago

ref #6794 rename TermTreeNode -> TermNode

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/FeatureNodeController.java
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

  
10
package eu.etaxonomy.cdm.remote.controller;
11

  
12
import org.apache.log4j.Logger;
13
import org.springframework.beans.factory.annotation.Autowired;
14
import org.springframework.stereotype.Controller;
15
import org.springframework.web.bind.annotation.RequestMapping;
16

  
17
import eu.etaxonomy.cdm.api.service.IFeatureNodeService;
18
import eu.etaxonomy.cdm.model.term.TermTreeNode;
19
import io.swagger.annotations.Api;
20

  
21
/**
22
 * @author n.hoffmann
23
 * @since Aug 6, 2010
24
 */
25
@Controller
26
@Api("featureNode")
27
@RequestMapping(value = {"/featureNode/{uuid}"})
28
public class FeatureNodeController extends BaseController<TermTreeNode, IFeatureNodeService> {
29
    @SuppressWarnings("unused")
30
    private static final Logger logger = Logger.getLogger(FeatureNodeController.class);
31

  
32
    @Override
33
    @Autowired
34
    public void setService(IFeatureNodeService service) {
35
        this.service = service;
36
    }
37
}
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TermNodeController.java
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

  
10
package eu.etaxonomy.cdm.remote.controller;
11

  
12
import org.apache.log4j.Logger;
13
import org.springframework.beans.factory.annotation.Autowired;
14
import org.springframework.stereotype.Controller;
15
import org.springframework.web.bind.annotation.RequestMapping;
16

  
17
import eu.etaxonomy.cdm.api.service.IFeatureNodeService;
18
import eu.etaxonomy.cdm.model.term.TermTreeNode;
19
import io.swagger.annotations.Api;
20

  
21
/**
22
 * @author n.hoffmann
23
 * @since Aug 6, 2010
24
 */
25
@Controller
26
@Api("featureNode")
27
@RequestMapping(value = {"/featureNode/{uuid}"})
28
public class FeatureNodeController extends BaseController<TermTreeNode, IFeatureNodeService> {
29
    @SuppressWarnings("unused")
30
    private static final Logger logger = Logger.getLogger(FeatureNodeController.class);
31

  
32
    @Override
33
    @Autowired
34
    public void setService(IFeatureNodeService service) {
35
        this.service = service;
36
    }
37
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)