Class PubMedQueryController
java.lang.Object
ubic.gemma.web.controller.common.description.bibref.PubMedQueryController
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller
@RequestMapping("/bibRefSearch.html")
public class PubMedQueryController
extends Object
implements org.springframework.beans.factory.InitializingBean
Allow users to search for and view PubMed abstracts from NCBI, or from Gemma.
- Author:
- pavlidis
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.Log
protected org.springframework.context.MessageSource
protected MessageUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getView()
org.springframework.web.servlet.ModelAndView
onSubmit
(javax.servlet.http.HttpServletRequest request, PubMedSearchCommand command, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
-
Field Details
-
log
protected final org.apache.commons.logging.Log log -
messageSource
@Autowired protected org.springframework.context.MessageSource messageSource -
messageUtil
-
-
Constructor Details
-
PubMedQueryController
public PubMedQueryController()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getView
-
onSubmit
@RequestMapping(method=POST) public org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request, PubMedSearchCommand command, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
-