Class PublishRequestController


  • @Controller
    @RequestMapping("/publish/request")
    public class PublishRequestController
    extends AbstractController
    • Constructor Detail

      • PublishRequestController

        public PublishRequestController()
    • Method Detail

      • searchPublishRequestByRevId

        @RequestMapping(value="/search/revision/{revisionId}",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<MLPublishRequest> searchPublishRequestByRevId​(javax.servlet.http.HttpServletRequest request,
                                                                          @PathVariable
                                                                          String revisionId,
                                                                          javax.servlet.http.HttpServletResponse response)
      • searchPublishRequestByRevCatId

        @RequestMapping(value="/search/revision/{revisionId}/{catalogId}",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<MLPublishRequest> searchPublishRequestByRevCatId​(javax.servlet.http.HttpServletRequest request,
                                                                             @PathVariable
                                                                             String revisionId,
                                                                             @PathVariable
                                                                             String catalogId,
                                                                             javax.servlet.http.HttpServletResponse response)
      • getAllPublishRequest

        @RequestMapping(value="",
                        method=POST,
                        produces="application/json")
        @PreAuthorize("hasAuthority(T(org.acumos.portal.be.security.RoleAuthorityConstants).PUBLISHER)")
        @ResponseBody
        public PagableResponse<List<MLPublishRequest>> getAllPublishRequest​(javax.servlet.http.HttpServletRequest request,
                                                                            @RequestBody
                                                                            JsonRequest<RestPageRequestPortal> restPageReq,
                                                                            javax.servlet.http.HttpServletResponse response)
      • getPublishRequest

        @RequestMapping(value="/{publishRequestId}",
                        method=GET,
                        produces="application/json")
        @PreAuthorize("hasAuthority(T(org.acumos.portal.be.security.RoleAuthorityConstants).PUBLISHER)")
        @ResponseBody
        public JsonResponse<MLPublishRequest> getPublishRequest​(javax.servlet.http.HttpServletRequest request,
                                                                @PathVariable("publishRequestId")
                                                                long publishRequestId,
                                                                javax.servlet.http.HttpServletResponse response)
      • updatePublishRequest

        @RequestMapping(value="/{publishRequestId}",
                        method=PUT,
                        produces="application/json")
        @PreAuthorize("hasAuthority(T(org.acumos.portal.be.security.RoleAuthorityConstants).PUBLISHER)")
        @ResponseBody
        public JsonResponse<MLPublishRequest> updatePublishRequest​(javax.servlet.http.HttpServletRequest request,
                                                                   @PathVariable("publishRequestId")
                                                                   String publishRequestId,
                                                                   @RequestBody
                                                                   JsonRequest<MLPublishRequest> mlPublishRequest,
                                                                   javax.servlet.http.HttpServletResponse response)
      • updatePublishRequest

        @RequestMapping(value="/withdraw/{publishRequestId}",
                        method=PUT,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<MLPublishRequest> updatePublishRequest​(javax.servlet.http.HttpServletRequest request,
                                                                   @PathVariable("publishRequestId")
                                                                   long publishRequestId,
                                                                   javax.servlet.http.HttpServletResponse response)