Class PublishSolutionServiceController


  • @Controller
    @RequestMapping("/")
    public class PublishSolutionServiceController
    extends AbstractController
    • Constructor Detail

      • PublishSolutionServiceController

        public PublishSolutionServiceController()
    • Method Detail

      • publishSolution

        @RequestMapping(value="/publish/{solutionId}",
                        method=PUT,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<Object> publishSolution​(javax.servlet.http.HttpServletRequest request,
                                                    @PathVariable("solutionId")
                                                    String solutionId,
                                                    @RequestParam("ctlg")
                                                    String catalogId,
                                                    @RequestParam("visibility")
                                                    String visibility,
                                                    @RequestParam("userId")
                                                    String userId,
                                                    @RequestParam("revisionId")
                                                    String revisionId,
                                                    javax.servlet.http.HttpServletResponse response)
      • unpublishSolution

        @RequestMapping(value="/unpublish/{solutionId}",
                        method=PUT,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<Object> unpublishSolution​(javax.servlet.http.HttpServletRequest request,
                                                      @PathVariable("solutionId")
                                                      String solutionId,
                                                      @RequestParam("ctlg")
                                                      String catalogId,
                                                      @RequestParam("userId")
                                                      String userId,
                                                      @RequestParam(value="publishRequestId",required=false,defaultValue="0")
                                                      long publishRequestId,
                                                      javax.servlet.http.HttpServletResponse response)