Project

General

Profile

Download (1.15 KB) Statistics
| Branch: | Tag: | Revision:
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.IMediaService;
18
import eu.etaxonomy.cdm.model.media.Media;
19

    
20
/**
21
 * TODO write controller documentation
22
 *
23
 * @author a.kohlbecker
24
 * @date 24.03.2009
25
 */
26
@Controller
27
@Api("media")
28
@RequestMapping(value = {"/media"})
29
public class MediaListController extends AbstractIdentifiableListController<Media, IMediaService> {
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(IMediaService service) {
37
        this.service = service;
38
    }
39
}
(36-36/66)