import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
-import eu.etaxonomy.cdm.api.service.ITaxonTreeService;
-import eu.etaxonomy.cdm.model.taxon.TaxonomicTree;
+import eu.etaxonomy.cdm.api.service.IClassificationService;
+import eu.etaxonomy.cdm.model.taxon.Classification;
/**
* @author n.hoffmann
* @version 1.0
*/
@Controller
-@RequestMapping(value = {"/classification/"})
-public class ClassificationListController extends BaseListController<TaxonomicTree,ITaxonTreeService> {
+@RequestMapping(value = {"/classification"})
+public class ClassificationListController extends IdentifiableListController<Classification,IClassificationService> {
private static final Logger logger = Logger
.getLogger(ClassificationListController.class);
protected static final List<String> DEFAULT_INIT_STRATEGY = Arrays.asList(new String []{
- "reference.authorTeam.titleCache"
+ "reference.authorTeam"
});
*/
@Override
@Autowired
- public void setService(ITaxonTreeService service) {
+ public void setService(IClassificationService service) {
this.service = service;
}