Class ItemToWorkflowDropHandler

  • All Implemented Interfaces:
    com.hybris.cockpitng.dnd.DropHandler<ItemModel,​WorkflowModel>

    public class ItemToWorkflowDropHandler
    extends java.lang.Object
    implements com.hybris.cockpitng.dnd.DropHandler<ItemModel,​WorkflowModel>
    • Field Detail

      • APPEND_NOTIFICATION_KEY

        protected static final java.lang.String APPEND_NOTIFICATION_KEY
        See Also:
        Constant Field Values
      • NOTIFICATION_KEY_WARNING_SUFFIX

        protected static final java.lang.String NOTIFICATION_KEY_WARNING_SUFFIX
        See Also:
        Constant Field Values
      • NOTIFICATION_KEY_SINGLE_SUFFIX

        protected static final java.lang.String NOTIFICATION_KEY_SINGLE_SUFFIX
        See Also:
        Constant Field Values
      • NOTIFICATION_KEY_MULTIPLE_SUFFIX

        protected static final java.lang.String NOTIFICATION_KEY_MULTIPLE_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • ItemToWorkflowDropHandler

        public ItemToWorkflowDropHandler()
    • Method Detail

      • findSupportedTypes

        public java.util.List<java.lang.String> findSupportedTypes()
        Specified by:
        findSupportedTypes in interface com.hybris.cockpitng.dnd.DropHandler<ItemModel,​WorkflowModel>
      • handleDrop

        public java.util.List<com.hybris.cockpitng.dnd.DropOperationData<ItemModel,​WorkflowModel,​java.lang.Object>> handleDrop​(java.util.List<ItemModel> dragged,
                                                                                                                                           WorkflowModel workflowModel,
                                                                                                                                           com.hybris.cockpitng.dnd.DragAndDropContext context)
        Specified by:
        handleDrop in interface com.hybris.cockpitng.dnd.DropHandler<ItemModel,​WorkflowModel>
      • notifySingle

        protected void notifySingle​(java.util.Collection<ItemModel> existed)
      • notifyMultiple

        protected void notifyMultiple​(java.util.Collection<ItemModel> existed)
      • setWorkflowFacade

        public void setWorkflowFacade​(WorkflowFacade workflowFacade)
      • setWorkflowsTypeFacade

        public void setWorkflowsTypeFacade​(WorkflowsTypeFacade workflowsTypeFacade)
      • getNotificationService

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

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