com.atlassian.jira.event.issue
Class IssueEventDispatcher

java.lang.Object
  extended by com.atlassian.jira.event.issue.IssueEventDispatcher

Deprecated. Since v5.0 use IssueEventManager instead.

public class IssueEventDispatcher
extends Object

Static utility to dispatch issue events.


Constructor Summary
IssueEventDispatcher()
          Deprecated.  
 
Method Summary
static void dispatchEvent(IssueEvent event)
          Deprecated. Notifies registered IssueEventListeners of the given event.
static void dispatchEvent(Long eventTypeId, Issue issue, Map params, com.atlassian.crowd.embedded.api.User remoteUser)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, Map params, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
          Deprecated. use IssueEventManager.dispatchEvent(Long, com.atlassian.jira.issue.Issue, java.util.Map, com.atlassian.crowd.embedded.api.User, boolean) instead.
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
          Deprecated. use IssueEventManager.dispatchEvent(Long, com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User, boolean) instead.
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
          Deprecated. Since v5.0
static void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
          Deprecated. Since v5.0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueEventDispatcher

public IssueEventDispatcher()
Deprecated. 
Method Detail

dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 boolean sendMail)
Deprecated. use IssueEventManager.dispatchEvent(Long, com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User, boolean) instead.

Use IssueEventManager.

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

dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 Map params,
                                 com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 Map params,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 boolean sendMail)
Deprecated. use IssueEventManager.dispatchEvent(Long, com.atlassian.jira.issue.Issue, java.util.Map, com.atlassian.crowd.embedded.api.User, boolean) instead.

Use IssueEventManager.

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

dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 Comment comment,
                                 Worklog worklog,
                                 org.ofbiz.core.entity.GenericValue changelog)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 Comment comment,
                                 Worklog worklog,
                                 org.ofbiz.core.entity.GenericValue changelog,
                                 boolean sendMail)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 Comment comment,
                                 Worklog worklog,
                                 org.ofbiz.core.entity.GenericValue changelog,
                                 Map params)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 Comment comment,
                                 Worklog worklog,
                                 org.ofbiz.core.entity.GenericValue changelog,
                                 Map params,
                                 boolean sendMail)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 org.ofbiz.core.entity.GenericValue changelog,
                                 boolean sendMail,
                                 boolean subtasksUpdated)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(Long eventTypeId,
                                 Issue issue,
                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                 Comment comment,
                                 Worklog worklog,
                                 org.ofbiz.core.entity.GenericValue changelog,
                                 Map params,
                                 boolean sendMail,
                                 boolean subtasksUpdated)
Deprecated. Since v5.0

Use IssueEventManager.


dispatchEvent

public static void dispatchEvent(IssueEvent event)
Deprecated. 
Notifies registered IssueEventListeners of the given event.

Parameters:
event - the event.


Copyright © 2002-2012 Atlassian. All Rights Reserved.