3 * Copyright (C) 2009 EDIT European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.remote
.controller
;
12 import org
.springframework
.beans
.factory
.annotation
.Autowired
;
13 import org
.springframework
.stereotype
.Controller
;
14 import org
.springframework
.web
.bind
.annotation
.RequestMapping
;
16 import eu
.etaxonomy
.cdm
.api
.service
.IOccurrenceService
;
17 import eu
.etaxonomy
.cdm
.model
.occurrence
.SpecimenOrObservationBase
;
20 * TODO write controller documentation
22 * @author a.kohlbecker
26 @RequestMapping(value
= {"/occurrence/"})
27 public class OccurrenceListController
extends BaseListController
<SpecimenOrObservationBase
, IOccurrenceService
> {
30 * @see eu.etaxonomy.cdm.remote.controller.BaseListController#setService(eu.etaxonomy.cdm.api.service.IService)
34 public void setService(IOccurrenceService service
) {
35 this.service
= service
;