Package com.day.cq.workflow.event
Class EventPublishUtil
java.lang.Object
com.day.cq.workflow.event.EventPublishUtil
The
EventsPublisher provides a utility for publishing workflow
related events.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishDelegationEvent(Workflow instance, Authorizable participant, WorkItem item, String user) voidpublishExternalProcessJobEvent(Map workItemMap, Integer retryCount, String jobId) voidpublishJobEvent(Map workItemMap, Integer retryCount, int numOfParallelProcs, String jobId) voidpublishJobFailedEvent(WorkItem item, String message) voidpublishModelDeletedEvent(String id, String user) voidpublishModelDeployedEvent(String id, String version, String user) voidpublishNodeTransitionEvent(Workflow instance, String fromNodeName, String toNodeName, WorkItem workitem, String user) voidpublishProcessTimeoutEvent(Workflow instance, String processName) voidvoidvoidpublishTimeoutEvent(WorkItem item, WorkflowSession session) voidpublishVariableUpdatedEvent(Workflow instance, String variableName, Object variableValue, String user) voidpublishWorkflowAbortedEvent(Workflow instance, String userId) voidpublishWorkflowCompletedEvent(Workflow instance, String user) voidpublishWorkflowResumedEvent(Workflow instance, String user) voidpublishWorkflowStartedEvent(Workflow instance, Workflow parentWorkflow, String user, WorkflowData data) voidpublishWorkflowSuspendedEvent(Workflow instance, String user)
-
Constructor Details
-
EventPublishUtil
-
-
Method Details
-
publishModelDeployedEvent
-
publishModelDeletedEvent
-
publishWorkflowStartedEvent
public void publishWorkflowStartedEvent(Workflow instance, Workflow parentWorkflow, String user, WorkflowData data) -
publishWorkflowAbortedEvent
-
publishWorkflowSuspendedEvent
-
publishWorkflowResumedEvent
-
publishWorkflowCompletedEvent
- Throws:
WorkflowException
-
publishNodeTransitionEvent
-
publishVariableUpdatedEvent
-
publishProcessTimeoutEvent
-
publishJobEvent
-
publishExternalProcessJobEvent
-
publishJobFailedEvent
-
publishTimeoutEvent
-
publishResetTimeoutEvent
-
publishDelegationEvent
public void publishDelegationEvent(Workflow instance, Authorizable participant, WorkItem item, String user) -
publishResourceCollectionModificationEvent
-