org.cateproject.controller.common.annotation
Class AnnotationController
java.lang.Object
org.cateproject.controller.GenericController<T,IDENTIFIER,SERVICE>
org.cateproject.controller.GenericResourceController<T,UUID,SERVICE>
org.cateproject.controller.common.VersionableController<T,SERVICE>
org.cateproject.controller.common.AnnotatableController<eu.etaxonomy.cdm.model.common.Annotation,eu.etaxonomy.cdm.api.service.IAnnotationService>
org.cateproject.controller.common.annotation.AnnotationController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
@Controller
@RequestMapping(value="/annotation/{uuid}")
public class AnnotationController- extends AnnotatableController<eu.etaxonomy.cdm.model.common.Annotation,eu.etaxonomy.cdm.api.service.IAnnotationService>
| Fields inherited from class org.cateproject.controller.GenericController |
applicationContext, collectionsMapper, DEFAULT_LIMIT, DEFAULT_PAGE, DEFAULT_SORT, LIST_KEY, ORDER_HINTS_KEY, propertiesMapper, RESOURCE_KEY, service, type, validator |
|
Method Summary |
org.springframework.web.servlet.ModelAndView |
get(UUID uuid)
|
void |
setService(eu.etaxonomy.cdm.api.service.IAnnotationService service)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationController
public AnnotationController()
setService
public void setService(eu.etaxonomy.cdm.api.service.IAnnotationService service)
- Specified by:
setService in class GenericController<eu.etaxonomy.cdm.model.common.Annotation,UUID,eu.etaxonomy.cdm.api.service.IAnnotationService>
get
@RequestMapping(method=GET)
public org.springframework.web.servlet.ModelAndView get(@PathVariable(value="uuid")
UUID uuid)
- Overrides:
get in class GenericResourceController<eu.etaxonomy.cdm.model.common.Annotation,UUID,eu.etaxonomy.cdm.api.service.IAnnotationService>
Copyright © 2010. All Rights Reserved.