public class

DefaultIssueEventManager

extends Object
implements IssueEventManager
java.lang.Object
   ↳ com.atlassian.jira.event.issue.DefaultIssueEventManager

Class Overview

Default implementation of IssueEventManager.

Summary

Public Constructors
DefaultIssueEventManager(IssueEventParamsTransformer paramsTransformer, EventPublisher eventPublisher)
Public Methods
void dispatchEvent(Long eventTypeId, Issue issue, Map params, ApplicationUser remoteUser)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, boolean sendMail)
Dispatch event of given type.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, boolean sendMail)
Dispatch event of given type, configuring whether or not a mail notification should be sent (useful e.g.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog)
Dispatch event of given type.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
Dispatch event of given type.
void dispatchEvent(IssueEventBundle issueEventBundle)
Dispatches a bundle of issue events.
void dispatchEvent(Long eventTypeId, Issue issue, Map<StringObject> params, ApplicationUser remoteUser, boolean sendMail)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
Dispatch event of given type with custom parameters.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail)
Dispatch a redundant event of given type with custom parameters.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params)
Dispatch a redundant event of given type with custom parameters.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
Dispatch a redundant event of given type.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, Map<StringObject> params, ApplicationUser remoteUser, boolean sendMail)
Dispatch a redundant event of given type with custom parameters.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog)
Dispatch a redundant event of given type.
void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
Dispatch a redundant event of given type with custom parameters.
Protected Methods
void publishEvent(Object event)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.event.issue.IssueEventManager

Public Constructors

public DefaultIssueEventManager (IssueEventParamsTransformer paramsTransformer, EventPublisher eventPublisher)

Public Methods

public void dispatchEvent (Long eventTypeId, Issue issue, Map params, ApplicationUser remoteUser)

Dispatch event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
params custom event parameters
remoteUser user initiating the event

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, boolean sendMail)

Dispatch event of given type.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
sendMail whether or not a mail notification should be sent

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail)

Dispatch event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters
sendMail whether or not a mail notification should be sent

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, boolean sendMail)

Dispatch event of given type, configuring whether or not a mail notification should be sent (useful e.g. for bulk edit).

Parameters
eventTypeId type of event
issue affected issue
remoteUser user initiating the event
sendMail whether or not a mail notification should be sent

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog)

Dispatch event of given type.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog An attached changeGroup for this event

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params)

Dispatch event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, GenericValue changelog, boolean sendMail, boolean subtasksUpdated)

Dispatch event of given type.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
changelog attached changeGroup for this event
sendMail whether or not a mail notification should be sent
subtasksUpdated if subtask have been modified.

public void dispatchEvent (IssueEventBundle issueEventBundle)

Dispatches a bundle of issue events. This method will dispatch one event for the bundle itself, and one per event contained in the bundle.

Parameters
issueEventBundle The bundle with all the issue events.

public void dispatchEvent (Long eventTypeId, Issue issue, Map<StringObject> params, ApplicationUser remoteUser, boolean sendMail)

Dispatch event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
params custom event parameters
remoteUser user initiating the event
sendMail whether or not a mail notification should be sent

public void dispatchEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)

Dispatch event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters
sendMail whether or not a mail notification should be sent
subtasksUpdated if subtask have been modified.

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail)

Dispatch a redundant event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters
sendMail whether or not a mail notification should be sent

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params)

Dispatch a redundant event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, GenericValue changelog, boolean sendMail, boolean subtasksUpdated)

Dispatch a redundant event of given type.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
changelog attached changeGroup for this event
sendMail whether or not a mail notification should be sent
subtasksUpdated if subtask have been modified.

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, Map<StringObject> params, ApplicationUser remoteUser, boolean sendMail)

Dispatch a redundant event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
params custom event parameters
remoteUser user initiating the event
sendMail whether or not a mail notification should be sent

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog)

Dispatch a redundant event of given type.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog An attached changeGroup for this event

public void dispatchRedundantEvent (Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)

Dispatch a redundant event of given type with custom parameters.

Parameters
eventTypeId type of event
issue affected issue
remoteUser remoteUser user initiating the event
comment comment for this event
worklog worklog for this event
changelog attached changeGroup for this event
params custom event parameters
sendMail whether or not a mail notification should be sent
subtasksUpdated if subtask have been modified.

Protected Methods

protected void publishEvent (Object event)