Creating a Taxonomic e-Science

org.cateproject.controller.common.annotation
Class AnnotationController

java.lang.Object
  extended by org.cateproject.controller.GenericController<T,IDENTIFIER,SERVICE>
      extended by org.cateproject.controller.GenericResourceController<T,UUID,SERVICE>
          extended by org.cateproject.controller.common.VersionableController<T,SERVICE>
              extended by org.cateproject.controller.common.AnnotatableController<eu.etaxonomy.cdm.model.common.Annotation,eu.etaxonomy.cdm.api.service.IAnnotationService>
                  extended by 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>


Field Summary
 
Fields inherited from class org.cateproject.controller.common.AnnotatableController
termService
 
Fields inherited from class org.cateproject.controller.GenericResourceController
logger
 
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
 
Constructor Summary
AnnotationController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView get(UUID uuid)
           
 void setService(eu.etaxonomy.cdm.api.service.IAnnotationService service)
           
 
Methods inherited from class org.cateproject.controller.common.AnnotatableController
editAnnotations, editMarkers, getAnnotations, getMarkers, initBinder, postAnnotations, postMarkers, setAnnotationValidator, setTermService, setUserService
 
Methods inherited from class org.cateproject.controller.common.VersionableController
getVersions
 
Methods inherited from class org.cateproject.controller.GenericController
handleFind, handleLoad, handleLoad, setApplicationContext, setCollectionsMapper, setPropertiesMapper, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationController

public AnnotationController()
Method Detail

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>

Creating a Taxonomic e-Science

Copyright © 2010. All Rights Reserved.