@PublicApi
public interface IssueEventManager
Modifier and Type | Method and Description |
---|---|
default void |
dispatchEvent(IssueEventBundle issueEventBundle)
Dispatches a bundle of issue events.
|
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchIssueEventBundle(IssueEventBundle issueEventBundle,
boolean shouldAlsoDispatchOnCommit)
Dispatches a bundle of issue events.
|
void |
dispatchIssueEventBundleOnCommit(java.util.function.Supplier<OnCommitIssueEventBundle> onCommitIssueEventBundleSupplier)
Dispatches a bundle of issue events.
|
void |
dispatchIssueEventOnCommit(java.util.function.Supplier<OnCommitIssueEvent> onCommitIssueEventSupplier)
Dispatches an issue event that will be sent after any existing transaction has been commited.
|
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
void |
dispatchRedundantEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
dispatchEvent(IssueEventBundle) . |
@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueremoteUser
- user initiating the eventsendMail
- whether or not a mail notification should be sent@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, Map<String,Object> params, ApplicationUser remoteUser, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the eventsendMail
- whether or not a mail notification should be sent@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, Map<String,Object> params, ApplicationUser remoteUser, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the eventsendMail
- whether or not a mail notification should be sent@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, Map params, ApplicationUser remoteUser)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueparams
- custom event parametersremoteUser
- user initiating the event@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- An attached changeGroup for this event@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
eventTypeId
- type of eventissue
- affected issueremoteUser
- remoteUser user initiating the eventcomment
- comment for this eventworklog
- worklog for this eventchangelog
- An attached changeGroup for this event@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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 sent@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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 parameters@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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 parameters@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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 sent@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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 sent@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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.@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, org.ofbiz.core.entity.GenericValue changelog, boolean sendMail, boolean subtasksUpdated)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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.@Deprecated void dispatchEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
dispatchEvent(IssueEventBundle)
.
Since v7.4.0 this will also dispatch an OnCommitIssueEvent
with the created IssueEvent
.
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.@Deprecated void dispatchRedundantEvent(Long eventTypeId, Issue issue, ApplicationUser remoteUser, Comment comment, Worklog worklog, org.ofbiz.core.entity.GenericValue changelog, Map params, boolean sendMail, boolean subtasksUpdated)
dispatchEvent(IssueEventBundle)
.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.default void dispatchEvent(IssueEventBundle issueEventBundle)
Since v7.4.0 this will also dispatch an OnCommitIssueEventBundle
with the provided IssueEventBundle
.
This is the equivalent of calling dispatchIssueEventBundle(IssueEventBundle, boolean)
(IssueEventBundle, boolean)} with true as the parameter.
To suppress this call dispatchIssueEventBundle(IssueEventBundle, boolean)
directly, with false as parameter.
issueEventBundle
- The bundle with all the issue events.IssueEventBundle
@ExperimentalApi void dispatchIssueEventBundle(IssueEventBundle issueEventBundle, boolean shouldAlsoDispatchOnCommit)
This method will dispatch one event for the bundle itself, and one per event contained in the bundle.
If true is passed as the parameter, it will also invoke dispatchIssueEventBundleOnCommit(Supplier)
and send this
IssueEventBundle
inside a OnCommitIssueEventBundle
after the transaction has completed, which may
be now if no transaction.
In addition this will also send all JiraIssueEvent
as OnCommitJiraIssueEvent
if parameter is true.
issueEventBundle
- The bundle with all the issue events.shouldAlsoDispatchOnCommit
- If true will also invoke dispatchIssueEventBundleOnCommit(Supplier)
IssueEventBundle
,
OnCommitIssueEventBundle
,
JiraIssueEvent
,
OnCommitJiraIssueEvent
@ExperimentalApi void dispatchIssueEventBundleOnCommit(java.util.function.Supplier<OnCommitIssueEventBundle> onCommitIssueEventBundleSupplier)
This method will dispatch one event for the bundle itself, and one per event contained in the bundle.
In addition this will also send all JiraIssueEvent
as OnCommitJiraIssueEvent
.
onCommitIssueEventBundleSupplier
- The supplier to build the bundle on commit with all the issue events.IssueEventBundle
,
OnCommitIssueEventBundle
@ExperimentalApi void dispatchIssueEventOnCommit(java.util.function.Supplier<OnCommitIssueEvent> onCommitIssueEventSupplier)
onCommitIssueEventSupplier
- The supplier to build the event on commit.IssueEvent
,
OnCommitIssueEvent
Copyright © 2002-2024 Atlassian. All Rights Reserved.