public class DefaultIssueEventManager extends Object implements IssueEventManager
IssueEventManager.| Constructor and Description |
|---|
DefaultIssueEventManager(IssueEventParamsTransformer paramsTransformer,
com.atlassian.event.api.EventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchEvent(IssueEventBundle issueEventBundle)
Dispatches a bundle of issue events.
|
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,
org.ofbiz.core.entity.GenericValue changelog)
Dispatch event of given type.
|
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Dispatch event of given type.
|
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser 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,
ApplicationUser 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,
ApplicationUser 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,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Dispatch event of given type.
|
void |
dispatchEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Dispatch event of given type with custom parameters.
|
void |
dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser)
Dispatch event of given type with custom parameters.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Dispatch a redundant event of given type.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Dispatch a redundant event of given type with custom parameters.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.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,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Dispatch a redundant event of given type with custom parameters.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Dispatch a redundant event of given type.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Dispatch a redundant event of given type with custom parameters.
|
protected void |
publishEvent(Object event) |
public DefaultIssueEventManager(IssueEventParamsTransformer paramsTransformer, com.atlassian.event.api.EventPublisher eventPublisher)
public void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, boolean sendMail)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - user initiating the eventsendMail - whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, Map<String,Object> params, ApplicationUser remoteUser, boolean sendMail)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueparams - custom event parametersremoteUser - user initiating the eventsendMail - whether or not a mail notification should be sentpublic void dispatchRedundantEvent(Long eventTypeId, Issue issue, Map<String,Object> params, ApplicationUser remoteUser, boolean sendMail)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueparams - custom event parametersremoteUser - user initiating the eventsendMail - whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, Map params, ApplicationUser remoteUser)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueparams - custom event parametersremoteUser - user initiating the eventpublic void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - An attached changeGroup for this eventpublic void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - An attached changeGroup for this eventpublic void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventsendMail - whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterspublic void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterspublic void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterssendMail - whether or not a mail notification should be sentpublic void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterssendMail - whether or not a mail notification should be sentpublic void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventchangelog - attached changeGroup for this eventsendMail - whether or not a mail notification should be sentsubtasksUpdated - if subtask have been modified.public void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventchangelog - attached changeGroup for this eventsendMail - whether or not a mail notification should be sentsubtasksUpdated - if subtask have been modified.public void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
IssueEventManagerdispatchEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterssendMail - whether or not a mail notification should be sentsubtasksUpdated - if subtask have been modified.public void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
IssueEventManagerdispatchRedundantEvent in interface IssueEventManagereventTypeId - type of eventissue - affected issueremoteUser - remoteUser user initiating the eventcomment - comment for this eventworklog - worklog for this eventchangelog - attached changeGroup for this eventparams - custom event parameterssendMail - whether or not a mail notification should be sentsubtasksUpdated - if subtask have been modified.public void dispatchEvent(IssueEventBundle issueEventBundle)
IssueEventManagerdispatchEvent in interface IssueEventManagerissueEventBundle - The bundle with all the issue events.IssueEventBundleprotected void publishEvent(Object event)
Copyright © 2002-2016 Atlassian. All Rights Reserved.