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 java.lang.ObjectController 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 Summary
Constructors Constructor Description CMSWorkflowActionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSCommentListWsDTOgetActionComments(java.lang.String workflowCode, java.lang.String actionCode, PageableWsDTO pageableInfo)CMSWorkflowWsDTOgetActionsByWorkflowCode(java.lang.String workflowCode)protected CMSWorkflowActionFacadegetCmsWorkflowActionFacade()protected DataMappergetDataMapper()protected WebPaginationUtilsgetWebPaginationUtils()voidsetCmsWorkflowActionFacade(CMSWorkflowActionFacade cmsWorkflowActionFacade)voidsetDataMapper(DataMapper dataMapper)voidsetWebPaginationUtils(WebPaginationUtils webPaginationUtils)
-
-
-
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)
-
getCmsWorkflowActionFacade
protected CMSWorkflowActionFacade getCmsWorkflowActionFacade()
-
setCmsWorkflowActionFacade
public void setCmsWorkflowActionFacade(CMSWorkflowActionFacade cmsWorkflowActionFacade)
-
getWebPaginationUtils
protected WebPaginationUtils getWebPaginationUtils()
-
setWebPaginationUtils
public void setWebPaginationUtils(WebPaginationUtils webPaginationUtils)
-
-