1
|
/**
|
2
|
* Copyright (C) 2009 EDIT European Distributed Institute of Taxonomy
|
3
|
* http://www.e-taxonomy.eu
|
4
|
*
|
5
|
* The contents of this file are subject to the Mozilla Public License Version
|
6
|
* 1.1 See LICENSE.TXT at the top of this package for the full license terms.
|
7
|
*/
|
8
|
|
9
|
package eu.etaxonomy.cdm.remote.controller;
|
10
|
|
11
|
import io.swagger.annotations.Api;
|
12
|
|
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.IReferenceService;
|
18
|
import eu.etaxonomy.cdm.model.reference.Reference;
|
19
|
|
20
|
/**
|
21
|
* TODO write controller documentation
|
22
|
*
|
23
|
* @author a.kohlbecker
|
24
|
* @date 24.03.2009
|
25
|
*/
|
26
|
@Controller
|
27
|
@Api("reference")
|
28
|
@RequestMapping(value = {"/reference"})
|
29
|
public class ReferenceListController extends AbstractIdentifiableListController<Reference, IReferenceService> {
|
30
|
|
31
|
/* (non-Javadoc)
|
32
|
* @see eu.etaxonomy.cdm.remote.controller.BaseListController#setService(eu.etaxonomy.cdm.api.service.IService)
|
33
|
*/
|
34
|
@Override
|
35
|
@Autowired
|
36
|
public void setService(IReferenceService service) {
|
37
|
this.service = service;
|
38
|
}
|
39
|
|
40
|
}
|