Project

General

Profile

Download (1.15 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 io.swagger.annotations.Api;
13

    
14
import org.springframework.beans.factory.annotation.Autowired;
15
import org.springframework.stereotype.Controller;
16
import org.springframework.web.bind.annotation.RequestMapping;
17

    
18
import eu.etaxonomy.cdm.api.service.IMediaService;
19
import eu.etaxonomy.cdm.model.media.Media;
20

    
21
/**
22
 * TODO write controller documentation
23
 *
24
 * @author a.kohlbecker
25
 * @date 24.03.2009
26
 */
27
@Controller
28
@Api("media")
29
@RequestMapping(value = {"/media"})
30
public class MediaListController extends IdentifiableListController<Media, IMediaService> {
31

    
32
    /* (non-Javadoc)
33
     * @see eu.etaxonomy.cdm.remote.controller.BaseListController#setService(eu.etaxonomy.cdm.api.service.IService)
34
     */
35
    @Override
36
    @Autowired
37
    public void setService(IMediaService service) {
38
        this.service = service;
39
    }
40
}
(35-35/63)