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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchRedundantEvent
in interface IssueEventManager
eventTypeId
- 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)
IssueEventManager
dispatchEvent
in interface IssueEventManager
issueEventBundle
- The bundle with all the issue events.IssueEventBundle
protected void publishEvent(Object event)
Copyright © 2002-2015 Atlassian. All Rights Reserved.