Class DefaultWorkflowEventPublisher
java.lang.Object
com.hybris.backoffice.workflow.impl.DefaultWorkflowEventPublisher
- All Implemented Interfaces:
WorkflowEventPublisher
Default implementation for WorkflowEventPublisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublishervoidpublishWorkflowActionsDeletedEvent(List<WorkflowActionModel> workflowActions) Sends globally an event that WorkflowActions have been updated.voidpublishWorkflowActionsUpdatedEvent(List<WorkflowActionModel> workflowActions) Sends globally an event that WorkflowActions have been updated.voidpublishWorkflowAttachmentDeletedEvent(WorkflowItemAttachmentModel workflowAttachment) Sends globally an event that WorkflowAttachment has been deleted.voidpublishWorkflowUpdatedEvent(WorkflowModel workflowModel) Sends globally an event which informs that Workflow has been updated.voidpublishWorkflowUpdatedEvent(WorkflowModel workflowModel, com.hybris.cockpitng.dataaccess.context.Context context) Sends globally an event which informs that Workflow has been updated.voidsetEventPublisher(com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher eventPublisher)
-
Constructor Details
-
DefaultWorkflowEventPublisher
public DefaultWorkflowEventPublisher()
-
-
Method Details
-
publishWorkflowUpdatedEvent
public void publishWorkflowUpdatedEvent(WorkflowModel workflowModel, com.hybris.cockpitng.dataaccess.context.Context context) Description copied from interface:WorkflowEventPublisherSends globally an event which informs that Workflow has been updated.- Specified by:
publishWorkflowUpdatedEventin interfaceWorkflowEventPublisher- Parameters:
workflowModel- updated Workflowcontext- passed context
-
publishWorkflowUpdatedEvent
Description copied from interface:WorkflowEventPublisherSends globally an event which informs that Workflow has been updated.- Specified by:
publishWorkflowUpdatedEventin interfaceWorkflowEventPublisher- Parameters:
workflowModel- updated Workflow
-
publishWorkflowActionsUpdatedEvent
Description copied from interface:WorkflowEventPublisherSends globally an event that WorkflowActions have been updated.- Specified by:
publishWorkflowActionsUpdatedEventin interfaceWorkflowEventPublisher- Parameters:
workflowActions- updated WorkflowActions
-
publishWorkflowActionsDeletedEvent
Description copied from interface:WorkflowEventPublisherSends globally an event that WorkflowActions have been updated.- Specified by:
publishWorkflowActionsDeletedEventin interfaceWorkflowEventPublisher- Parameters:
workflowActions- deleted WorkflowActions
-
publishWorkflowAttachmentDeletedEvent
Description copied from interface:WorkflowEventPublisherSends globally an event that WorkflowAttachment has been deleted.- Specified by:
publishWorkflowAttachmentDeletedEventin interfaceWorkflowEventPublisher
-
getEventPublisher
protected com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher getEventPublisher() -
setEventPublisher
public void setEventPublisher(com.hybris.cockpitng.dataaccess.util.CockpitGlobalEventPublisher eventPublisher)
-