Project

General

Profile

Download (1.08 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
 * Copyright (C) 2009 EDIT 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
7
 * 1.1 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.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.stereotype.Controller;
14
import org.springframework.web.bind.annotation.RequestMapping;
15

    
16
import eu.etaxonomy.cdm.api.service.INameService;
17
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
18

    
19
/**
20
 * TODO write controller documentation
21
 * 
22
 * @author a.kohlbecker
23
 * @date 24.03.2009
24
 */
25
@Controller
26
@RequestMapping(value = {"/name/"})
27
public class NameListController extends BaseListController<TaxonNameBase, INameService> {
28

    
29
	/* (non-Javadoc)
30
	 * @see eu.etaxonomy.cdm.remote.controller.BaseListController#setService(eu.etaxonomy.cdm.api.service.IService)
31
	 */
32
	@Override
33
	@Autowired
34
	public void setService(INameService service) {
35
		this.service = service; 
36
	}	
37
}
(23-23/36)