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(ApplicationProperties applicationProperties, EventPublisher eventPublisher)
Public Methods
void dispatchEvent(Long eventTypeId, Issue issue, User remoteUser, GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
Dispatch event of given type.
void dispatchEvent(Long eventTypeId, Issue issue, User remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, User remoteUser, Comment comment, Worklog worklog, GenericValue changelog)
Dispatch event of given type.
void dispatchEvent(Long eventTypeId, Issue issue, User remoteUser, Comment comment, Worklog worklog, GenericValue changelog, boolean sendMail)
Dispatch event of given type.
void dispatchEvent(Long eventTypeId, Issue issue, Map<StringObject> params, User remoteUser, boolean sendMail)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, User 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, Map params, User remoteUser)
Dispatch event of given type with custom parameters.
void dispatchEvent(Long eventTypeId, Issue issue, User 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, User remoteUser, Comment comment, Worklog worklog, GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
Dispatch event of given type with custom parameters.
Protected Methods
void fillInDefaultParams(Map<StringObject> params)
void publishEvent(IssueEvent event)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.event.issue.IssueEventManager

Public Constructors

public DefaultIssueEventManager (ApplicationProperties applicationProperties, EventPublisher eventPublisher)

Public Methods

public void dispatchEvent (Long eventTypeId, Issue issue, User 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 (Long eventTypeId, Issue issue, User 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, User 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, User 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, Map<StringObject> params, User 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, User 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, Map params, User 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, User 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, User 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.

Protected Methods

protected void fillInDefaultParams (Map<StringObject> params)

protected void publishEvent (IssueEvent event)