Class BibliographicReferenceController

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Controller
    public class BibliographicReferenceController
    extends BaseController
    implements org.springframework.beans.factory.InitializingBean
    This controller is responsible for showing a list of all bibliographic references, as well sending the user to the pubMed.Detail.view when they click on a specific link in that list.
    Author:
    keshav
    • Constructor Detail

      • BibliographicReferenceController

        public BibliographicReferenceController()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • showAllForExperiments

        @RequestMapping(value="/showAllEeBibRefs.html",
                        method={GET,HEAD})
        public org.springframework.web.servlet.ModelAndView showAllForExperiments()
      • searchBibRefs

        @RequestMapping(value="/searchBibRefs.html",
                        method={GET,HEAD})
        public org.springframework.web.servlet.ModelAndView searchBibRefs()
      • showById

        @RequestMapping(value="/bibRefView.html",
                        method={GET,HEAD},
                        params="id")
        public org.springframework.web.servlet.ModelAndView showById​(@RequestParam("id")
                                                                     Long id)
      • showByAccession

        @RequestMapping(value="/bibRefView.html",
                        method={GET,HEAD},
                        params="accession")
        public org.springframework.web.servlet.ModelAndView showByAccession​(@RequestParam("accession")
                                                                            String accession)
      • add

        @RequestMapping(value="/bibRefAdd.html",
                        method=POST)
        public org.springframework.web.servlet.view.RedirectView add​(@RequestParam("accession")
                                                                     String pubMedId,
                                                                     @RequestParam(value="refresh",required=false)
                                                                     Boolean refresh)
      • delete

        @RequestMapping(value="/deleteBibRef.html",
                        method=POST)
        public org.springframework.web.servlet.ModelAndView delete​(@RequestParam("acc")
                                                                   String pubMedId)