3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * 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
.web
.bind
.WebDataBinder
;
13 import org
.springframework
.web
.bind
.annotation
.InitBinder
;
15 import eu
.etaxonomy
.cdm
.api
.service
.IIdentifiableEntityService
;
16 import eu
.etaxonomy
.cdm
.model
.common
.IdentifiableEntity
;
17 import eu
.etaxonomy
.cdm
.persistence
.query
.MatchMode
;
18 import eu
.etaxonomy
.cdm
.remote
.editor
.MatchModePropertyEditor
;
25 public abstract class AbstractIdentifiableController
<T
extends IdentifiableEntity
, SERVICE
extends IIdentifiableEntityService
<T
>> extends BaseController
<T
,SERVICE
> {
30 public void initBinder(WebDataBinder binder
) {
31 super.initBinder(binder
);
32 binder
.registerCustomEditor(MatchMode
.class, new MatchModePropertyEditor());