Class PdServiceController

    • Constructor Detail

      • PdServiceController

        public PdServiceController()
    • Method Detail

      • initialize

        @PostConstruct
        public void initialize()
      • getNodeWithVersionOrderByCidDesc

        @GetMapping("/getNodeWithVersionOrderByCidDesc")
        public org.springframework.http.ResponseEntity<?> getNodeWithVersionOrderByCidDesc​(PdServiceDTO pdServiceDTO)
                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addPdServiceNode

        @PostMapping("/addPdServiceNode.do")
        public org.springframework.http.ResponseEntity<?> addPdServiceNode​(@Validated(AddNode.class)
                                                                           PdServiceDTO pdServiceDTO)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addVersionToNode

        @PostMapping("/addVersionToNode.do")
        public org.springframework.http.ResponseEntity<?> addVersionToNode​(@RequestBody
                                                                           PdServiceDTO pdServiceDTO)
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateVersionNode

        @PutMapping("/updateVersionToNode.do")
        public org.springframework.web.servlet.ModelAndView updateVersionNode​(@RequestBody
                                                                              PdServiceVersionDTO pdServiceVersionDTO,
                                                                              javax.servlet.http.HttpServletRequest request)
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • uploadFileToNode

        @PostMapping("/uploadFileToNode.do")
        public org.springframework.web.servlet.ModelAndView uploadFileToNode​(org.springframework.web.multipart.MultipartHttpServletRequest multiRequest,
                                                                             javax.servlet.http.HttpServletRequest request)
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getVersionList

        @GetMapping("/getVersionList")
        public org.springframework.http.ResponseEntity<?> getVersionList​(PdServiceDTO pdServiceDTO)
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getVersionListWithDate

        @GetMapping("/versions-with-date")
        public org.springframework.http.ResponseEntity<?> getVersionListWithDate​(PdServiceDTO pdServiceDTO)
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPdServiceEntityAndVersionList

        @GetMapping("/getPdServiceEntityAndVersionList")
        public org.springframework.http.ResponseEntity<java.util.List<PdServiceAndVersionListDTO>> getPdServiceEntityAndVersionList​(PdServiceDTO pdServiceDTO)
                                                                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • removeVersion

        @DeleteMapping("/removeVersion.do")
        public org.springframework.web.servlet.ModelAndView removeVersion​(javax.servlet.http.HttpServletRequest request)
                                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getD3ChartData

        @GetMapping("/getD3ChartData.do")
        public org.springframework.http.ResponseEntity<?> getD3ChartData()
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • removeAll

        @PostMapping("/removeAll.do/{pdServiceId}")
        public org.springframework.http.ResponseEntity<?> removeAll​(@PathVariable("pdServiceId")
                                                                    java.lang.Long pdServiceId)
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception