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.IReferenceService;
|
17
|
import eu.etaxonomy.cdm.model.reference.Reference;
|
18
|
|
19
|
/**
|
20
|
* TODO write controller documentation
|
21
|
*
|
22
|
* @author a.kohlbecker
|
23
|
* @date 24.03.2009
|
24
|
*/
|
25
|
@Controller
|
26
|
@RequestMapping(value = {"/reference"})
|
27
|
public class ReferenceListController extends IdentifiableListController<Reference, IReferenceService> {
|
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(IReferenceService service) {
|
35
|
this.service = service;
|
36
|
}
|
37
|
|
38
|
}
|