Class CMSWorkflowActionController


  • @Controller
    @RequestMapping("/v1/catalogs/{catalogId}/versions/{versionId}/workflows/{workflowCode}/actions")
    public class CMSWorkflowActionController
    extends java.lang.Object
    Controller to manage workflow actions. catalogId and versionId are needed as part of the endpoint to set the activeCatalogVersion in the session which is later used by the workflow validators.
    • Constructor Detail

      • CMSWorkflowActionController

        public CMSWorkflowActionController()
    • Method Detail

      • getActionComments

        @GetMapping("/{actionCode}/comments")
        @ResponseStatus(OK)
        @ResponseBody
        public CMSCommentListWsDTO getActionComments​(@PathVariable
                                                     java.lang.String workflowCode,
                                                     @PathVariable
                                                     java.lang.String actionCode,
                                                     @ModelAttribute
                                                     PageableWsDTO pageableInfo)
      • getActionsByWorkflowCode

        @GetMapping
        @ResponseStatus(OK)
        @ResponseBody
        public CMSWorkflowWsDTO getActionsByWorkflowCode​(@PathVariable
                                                         java.lang.String workflowCode)
      • getDataMapper

        protected DataMapper getDataMapper()
      • setDataMapper

        public void setDataMapper​(DataMapper dataMapper)
      • setCmsWorkflowActionFacade

        public void setCmsWorkflowActionFacade​(CMSWorkflowActionFacade cmsWorkflowActionFacade)
      • setWebPaginationUtils

        public void setWebPaginationUtils​(WebPaginationUtils webPaginationUtils)