Class CMSWorkflowActionController

java.lang.Object
de.hybris.platform.cmswebservices.workflows.controller.CMSWorkflowActionController

@Controller @RequestMapping("/v1/catalogs/{catalogId}/versions/{versionId}/workflows/{workflowCode}/actions") public class CMSWorkflowActionController extends 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 Details

    • CMSWorkflowActionController

      public CMSWorkflowActionController()
  • Method Details

    • getActionComments

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

      @GetMapping @ResponseStatus(OK) @ResponseBody public CMSWorkflowWsDTO getActionsByWorkflowCode(@PathVariable String workflowCode)
    • getDataMapper

      protected DataMapper getDataMapper()
    • setDataMapper

      public void setDataMapper(DataMapper dataMapper)
    • getCmsWorkflowActionFacade

      protected CMSWorkflowActionFacade getCmsWorkflowActionFacade()
    • setCmsWorkflowActionFacade

      public void setCmsWorkflowActionFacade(CMSWorkflowActionFacade cmsWorkflowActionFacade)
    • getWebPaginationUtils

      protected WebPaginationUtils getWebPaginationUtils()
    • setWebPaginationUtils

      public void setWebPaginationUtils(WebPaginationUtils webPaginationUtils)