com.atlassian.jira.event.issue
Interface IssueEventManager

All Known Implementing Classes:
DefaultIssueEventManager

@PublicApi
public interface IssueEventManager

Component responsible for dispatching issue events.

Since:
v4.4

Method Summary
 void dispatchEvent(Long eventTypeId, Issue issue, Map<String,Object> params, com.atlassian.crowd.embedded.api.User remoteUser, boolean sendMail)
          Dispatch event of given type with custom parameters.
 void dispatchEvent(Long eventTypeId, Issue issue, Map params, com.atlassian.crowd.embedded.api.User remoteUser)
          Dispatch event of given type with custom parameters.
 void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.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, com.atlassian.crowd.embedded.api.User remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
          Dispatch event of given type.
 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)
          Dispatch event of given type.
 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)
          Dispatch event of given type with custom parameters.
 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)
          Dispatch event of given type with custom parameters.
 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)
          Dispatch event of given type with custom parameters.
 void dispatchEvent(Long eventTypeId, Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
          Dispatch event of given type.
 

Method Detail

dispatchEvent

void dispatchEvent(Long eventTypeId,
                   Issue issue,
                   com.atlassian.crowd.embedded.api.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

dispatchEvent

void dispatchEvent(Long eventTypeId,
                   Issue issue,
                   Map<String,Object> params,
                   com.atlassian.crowd.embedded.api.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

dispatchEvent

void dispatchEvent(Long eventTypeId,
                   Issue issue,
                   Map params,
                   com.atlassian.crowd.embedded.api.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

dispatchEvent

void dispatchEvent(Long eventTypeId,
                   Issue issue,
                   com.atlassian.crowd.embedded.api.User remoteUser,
                   Comment comment,
                   Worklog worklog,
                   org.ofbiz.core.entity.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

dispatchEvent

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)
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

dispatchEvent

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)
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

dispatchEvent

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)
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

dispatchEvent

void dispatchEvent(Long eventTypeId,
                   Issue issue,
                   com.atlassian.crowd.embedded.api.User remoteUser,
                   org.ofbiz.core.entity.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.

dispatchEvent

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)
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.


Copyright © 2002-2013 Atlassian. All Rights Reserved.