Package com.hybris.backoffice.workflow
Interface WorkflowEventPublisher
- All Known Implementing Classes:
DefaultWorkflowEventPublisher
public interface WorkflowEventPublisher
Used to send global cockpit notification about updates done on Workflows and their Actions
-
Method Summary
Modifier and TypeMethodDescriptionvoidpublishWorkflowActionsDeletedEvent(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.
-
Method Details
-
publishWorkflowUpdatedEvent
void publishWorkflowUpdatedEvent(WorkflowModel workflowModel, com.hybris.cockpitng.dataaccess.context.Context context) Sends globally an event which informs that Workflow has been updated.- Parameters:
workflowModel- updated Workflowcontext- passed context
-
publishWorkflowUpdatedEvent
Sends globally an event which informs that Workflow has been updated.- Parameters:
workflowModel- updated Workflow
-
publishWorkflowActionsUpdatedEvent
Sends globally an event that WorkflowActions have been updated.- Parameters:
workflowActions- updated WorkflowActions
-
publishWorkflowActionsDeletedEvent
Sends globally an event that WorkflowActions have been updated.- Parameters:
workflowActions- deleted WorkflowActions
-
publishWorkflowAttachmentDeletedEvent
Sends globally an event that WorkflowAttachment has been deleted.- Parameters:
workflowAttachment-
-