Class ApprovePageAutomatedWorkflowAction

java.lang.Object
de.hybris.platform.cms2.workflow.actions.ApprovePageAutomatedWorkflowAction
All Implemented Interfaces:
AutomatedWorkflowTemplateJob

public class ApprovePageAutomatedWorkflowAction extends Object implements AutomatedWorkflowTemplateJob
Sets the approval status to APPROVED for all pages in the workflow attachments
  • Constructor Details

    • ApprovePageAutomatedWorkflowAction

      public ApprovePageAutomatedWorkflowAction()
  • Method Details

    • perform

      public WorkflowDecisionModel perform(WorkflowActionModel action)
      Description copied from interface: AutomatedWorkflowTemplateJob
      execution method for the automated workflow job
      Specified by:
      perform in interface AutomatedWorkflowTemplateJob
      Parameters:
      action - the workflow action that activated this method
      Returns:
      the decision that should be activated after this action finishes
    • getModelService

      protected ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getPageTypePredicate

      protected Predicate<ItemModel> getPageTypePredicate()
    • setPageTypePredicate

      public void setPageTypePredicate(Predicate<ItemModel> pageTypePredicate)
    • getTransactionManager

      protected org.springframework.transaction.PlatformTransactionManager getTransactionManager()
    • setTransactionManager

      public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
    • getRelatedItemsOnPageService

      protected RelatedItemsOnPageService getRelatedItemsOnPageService()
    • setRelatedItemsOnPageService

      public void setRelatedItemsOnPageService(RelatedItemsOnPageService relatedItemsOnPageService)