Class CollaborationWorkflowWizardHandler

java.lang.Object
com.hybris.backoffice.workflow.wizard.CollaborationWorkflowWizardHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

public class CollaborationWorkflowWizardHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
  • Field Details

  • Constructor Details

    • CollaborationWorkflowWizardHandler

      public CollaborationWorkflowWizardHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> parameters)
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    • createWorkflow

      protected Optional<WorkflowModel> createWorkflow(CollaborationWorkflowWizardForm wizardForm)
    • createAdHocWorkflow

      protected Optional<WorkflowModel> createAdHocWorkflow(CollaborationWorkflowWizardForm wizardForm)
    • shouldStartWorkflow

      protected boolean shouldStartWorkflow(Map<String,String> parameters)
    • startWorkflow

      protected boolean startWorkflow(WorkflowModel workflow, Map<String,String> parameters)
    • getReferenceObject

      protected Map<String,Object> getReferenceObject(WorkflowModel workflow, String destination)
    • getDestination

      protected String getDestination(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter)
    • notifyUser

      @Deprecated(since="6.7", forRemoval=true) protected void notifyUser(WorkflowModel workflow, String eventType, com.hybris.backoffice.widgets.notificationarea.event.NotificationEvent.Level level)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.7, use the NotificationService.notifyUser(String, String, NotificationEvent.Level, Object...) instead.
    • getWizardFormFrom

      protected CollaborationWorkflowWizardForm getWizardFormFrom(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter)
    • getWorkflowFacade

      public WorkflowFacade getWorkflowFacade()
    • setWorkflowFacade

      public void setWorkflowFacade(WorkflowFacade workflowFacade)
    • getWorkflowEventPublisher

      public WorkflowEventPublisher getWorkflowEventPublisher()
    • setWorkflowEventPublisher

      public void setWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher)
    • getNotificationService

      protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
    • getPermissionFacade

      public com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade getPermissionFacade()
    • setPermissionFacade

      public void setPermissionFacade(com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade permissionFacade)