org.cateproject.controller.common.annotation
Class AnnotationListController
java.lang.Object
org.cateproject.controller.GenericController<T,IDENTIFIER,SERVICE>
org.cateproject.controller.GenericListController<eu.etaxonomy.cdm.model.common.Annotation,UUID,eu.etaxonomy.cdm.api.service.IAnnotationService>
org.cateproject.controller.common.annotation.AnnotationListController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
@Controller
@RequestMapping(value="/annotation")
public class AnnotationListController
- extends GenericListController<eu.etaxonomy.cdm.model.common.Annotation,UUID,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(Class<? extends eu.etaxonomy.cdm.model.common.Annotation> clazz,
Integer page,
Integer limit,
List<eu.etaxonomy.cdm.persistence.query.OrderHint> orderHints)
|
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 |
AnnotationListController
public AnnotationListController()
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(@RequestParam(value="class",required=false)
Class<? extends eu.etaxonomy.cdm.model.common.Annotation> clazz,
@RequestParam(value="page",required=false,defaultValue="0")
Integer page,
@RequestParam(value="limit",required=false,defaultValue="20")
Integer limit,
@RequestParam(value="sort",required=false,defaultValue="created_desc")
List<eu.etaxonomy.cdm.persistence.query.OrderHint> orderHints)
- Overrides:
get in class GenericListController<eu.etaxonomy.cdm.model.common.Annotation,UUID,eu.etaxonomy.cdm.api.service.IAnnotationService>
Copyright © 2010. All Rights Reserved.