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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<WorkflowModel>createAdHocWorkflow(CollaborationWorkflowWizardForm wizardForm) protected Optional<WorkflowModel>createWorkflow(CollaborationWorkflowWizardForm wizardForm) protected StringgetDestination(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter) protected com.hybris.backoffice.widgets.notificationarea.NotificationServicecom.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacadegetReferenceObject(WorkflowModel workflow, String destination) protected CollaborationWorkflowWizardFormgetWizardFormFrom(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter) protected voidnotifyUser(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.voidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String, String> parameters) voidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) voidsetPermissionFacade(com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade permissionFacade) voidsetWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher) voidsetWorkflowFacade(WorkflowFacade workflowFacade) protected booleanshouldStartWorkflow(Map<String, String> parameters) protected booleanstartWorkflow(WorkflowModel workflow, Map<String, String> parameters)
-
Field Details
-
MODEL_WORKFLOW_FORM
- See Also:
-
PARAM_START_WORKFLOW
- See Also:
-
EVENT_TYPE_WORKFLOW_INCORRECT_ASSIGNEE
- See Also:
-
-
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:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
-
createWorkflow
-
createAdHocWorkflow
-
shouldStartWorkflow
-
startWorkflow
-
getReferenceObject
-
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 theNotificationService.notifyUser(String, String, NotificationEvent.Level, Object...)instead. -
getWizardFormFrom
protected CollaborationWorkflowWizardForm getWizardFormFrom(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter) -
getWorkflowFacade
-
setWorkflowFacade
-
getWorkflowEventPublisher
-
setWorkflowEventPublisher
-
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)
-
NotificationService.notifyUser(String, String, NotificationEvent.Level, Object...)instead.