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 * @author a.kohlbecker
24 @RequestMapping(value
= {"/*/occurrence.*", "/*/occurrence"})
25 public class OccurrenceListController
extends BaseListController
<SpecimenOrObservationBase
, IOccurrenceService
> {
28 * @see eu.etaxonomy.cdm.remote.controller.BaseListController#setService(eu.etaxonomy.cdm.api.service.IService)
32 public void setService(IOccurrenceService service
) {
33 this.service
= service
;