Modifier and Type | Method and Description |
---|---|
List<ChangeItemBean> |
DefaultProjectComponentManager.updateIssueProjectComponents(Issue issue,
Collection<ProjectComponent> newValue) |
List<ChangeItemBean> |
ProjectComponentManager.updateIssueProjectComponents(Issue issue,
Collection<ProjectComponent> newValue)
Updates the list of components in issue
|
Modifier and Type | Method and Description |
---|---|
Optional<ChangeItemBean> |
IssueChangedEventImpl.getChangeItemForField(String fieldName) |
Optional<ChangeItemBean> |
IssueChangedEvent.getChangeItemForField(String fieldName)
The change of the given field in the event, if
the given
fieldName equals the name of one of the ChangeItemBean in the event
the old and the new value do not equal (don't have the same value and are not both null)
|
Collection<ChangeItemBean> |
IssueChangedEventImpl.getChangeItems() |
Collection<ChangeItemBean> |
IssueChangedEvent.getChangeItems()
The changes that were made to the issue
with the action that caused the event.
|
static Optional<ChangeItemBean> |
ChangeItemBeanKit.getFieldChange(String fieldName,
Collection<ChangeItemBean> changeItems)
Gets the change item bean out of the given collection for the given fieldName.
|
Modifier and Type | Method and Description |
---|---|
static Optional<ChangeItemBean> |
ChangeItemBeanKit.getFieldChange(String fieldName,
Collection<ChangeItemBean> changeItems)
Gets the change item bean out of the given collection for the given fieldName.
|
Constructor and Description |
---|
IssueChangedEventImpl(Issue issue,
Optional<ApplicationUser> author,
Collection<ChangeItemBean> changeItems,
Optional<Comment> comment,
Date eventTime,
boolean sendMail) |
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
AttachmentManager.createAttachment(CreateAttachmentParamsBean createAttachmentParamsBean)
Create an attachment both on disk, and in the database.
|
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,ChangeItemBean> |
AttachmentManager.convertTemporaryAttachment(ConvertTemporaryAttachmentParams params)
Converts temporary attachment into real attachment.
|
List<ChangeItemBean> |
AttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor)
|
AttachmentsBulkOperationResult<ChangeItemBean> |
AttachmentManager.tryConvertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor)
|
com.atlassian.fugue.Either<AttachmentError,ChangeItemBean> |
AttachmentManager.tryCreateAttachment(CreateAttachmentParamsBean params)
Create an attachment.
|
Modifier and Type | Method and Description |
---|---|
AttachmentsBulkOperationResult<ChangeItemBean> |
DefaultTemporaryWebAttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<String> temporaryAttachmentsIds) |
AttachmentsBulkOperationResult<ChangeItemBean> |
TemporaryWebAttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<String> temporaryAttachmentsIds)
Converts temporary attachments created by
TemporaryWebAttachmentManager.createTemporaryWebAttachment(java.io.InputStream, java.lang.String, java.lang.String, long, com.atlassian.fugue.Either<com.atlassian.jira.issue.Issue, com.atlassian.jira.project.Project>, java.lang.String, com.atlassian.jira.user.ApplicationUser)
into real attachments. |
Modifier and Type | Method and Description |
---|---|
List<ChangeItemBean> |
ChangeHistory.getChangeItemBeans() |
List<ChangeItemBean> |
DefaultChangeHistoryManager.getChangeItemsForField(Issue issue,
String changeItemFieldName) |
List<ChangeItemBean> |
ChangeHistoryManager.getChangeItemsForField(Issue issue,
String changeItemFieldName)
Returns a List of ChangeItemBean's for the given issue which also are for the provided changeItemFieldName (i.e.
|
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
DefaultCommentManager.delete(Comment comment) |
ChangeItemBean |
CommentManager.delete(Comment comment)
Deletes the specified comment.
|
Modifier and Type | Method and Description |
---|---|
protected List<ChangeItemBean> |
FixVersionsSystemField.updateIssueValue(Issue issue,
Collection<Version> newValue) |
protected List<ChangeItemBean> |
AffectedVersionsSystemField.updateIssueValue(Issue issue,
Collection<Version> newValue) |
protected abstract List<ChangeItemBean> |
AbstractVersionsSystemField.updateIssueValue(Issue issue,
Collection<Version> newValue) |
Modifier and Type | Method and Description |
---|---|
static ChangeItemBean |
ChangeLogUtils.generateChangeItem(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
String fieldname) |
static ChangeItemBean |
ChangeLogUtils.generateSecurityChangeItem(String fieldname,
String from,
String to) |
Modifier and Type | Method and Description |
---|---|
static List<ChangeItemBean> |
ChangeLogUtils.generateChangeItems(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after)
Returns a List of ChangeItemBean objects for each of the relevant fields
that differ between the two issues.
|
Modifier and Type | Method and Description |
---|---|
static org.ofbiz.core.entity.GenericValue |
ChangeLogUtils.createChangeGroup(ApplicationUser changeAuthor,
org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
Collection<ChangeItemBean> incomingChangeItems,
boolean generateChangeItems)
Writes the given field changes to the db and optionally a changelog.
|
static org.ofbiz.core.entity.GenericValue |
ChangeLogUtils.createChangeGroup(ApplicationUser changeAuthor,
Issue before,
Issue after,
Collection<ChangeItemBean> incomingChangeItems,
boolean generateChangeItems)
|
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
DefaultAttachmentManager.createAttachment(CreateAttachmentParamsBean bean) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,ChangeItemBean> |
DefaultAttachmentManager.convertTemporaryAttachment(ConvertTemporaryAttachmentParams params) |
List<ChangeItemBean> |
DefaultAttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor) |
AttachmentsBulkOperationResult<ChangeItemBean> |
DefaultAttachmentManager.tryConvertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor) |
com.atlassian.fugue.Either<AttachmentError,ChangeItemBean> |
DefaultAttachmentManager.tryCreateAttachment(CreateAttachmentParamsBean params) |
Modifier and Type | Method and Description |
---|---|
List<ChangeItemBean> |
DefaultIssueChangeHolder.getChangeItems() |
List<ChangeItemBean> |
IssueChangeHolder.getChangeItems()
Get all the change items registered with this object.
|
Collection<ChangeItemBean> |
IssueUpdateBean.getChangeItems() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultIssueChangeHolder.addChangeItem(ChangeItemBean changeItemBean) |
void |
IssueChangeHolder.addChangeItem(ChangeItemBean changeItemBean)
Convenience method for adding a single ChangeItemBean to the list of change items.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultIssueChangeHolder.addChangeItems(List<ChangeItemBean> changeItems) |
void |
IssueChangeHolder.addChangeItems(List<ChangeItemBean> changeItems)
Add the provided list of change items to the current change items.
|
void |
IssueUpdateBean.setChangeItems(Collection<ChangeItemBean> changeItems) |
void |
DefaultIssueChangeHolder.setChangeItems(List<ChangeItemBean> changeItems) |
void |
IssueChangeHolder.setChangeItems(List<ChangeItemBean> changeItems)
Set the change items of this object to the provided param.
|
Modifier and Type | Method and Description |
---|---|
List<ChangeItemBean> |
MockProjectComponentManager.updateIssueProjectComponents(Issue issue,
Collection<ProjectComponent> newValue) |
Modifier and Type | Method and Description |
---|---|
List<ChangeItemBean> |
MockVersionManager.updateIssueAffectsVersions(Issue issue,
Collection<Version> newValue) |
List<ChangeItemBean> |
DefaultVersionManager.updateIssueAffectsVersions(Issue issue,
Collection<Version> newVersions) |
List<ChangeItemBean> |
VersionManager.updateIssueAffectsVersions(Issue issue,
Collection<Version> newValue) |
List<ChangeItemBean> |
MockVersionManager.updateIssueFixVersions(Issue issue,
Collection<Version> newValue) |
List<ChangeItemBean> |
DefaultVersionManager.updateIssueFixVersions(Issue issue,
Collection<Version> newValue) |
List<ChangeItemBean> |
VersionManager.updateIssueFixVersions(Issue issue,
Collection<Version> newValue) |
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
MessageHandlerContext.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue)
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
|
ChangeItemBean |
DefaultMessageHandlerContext.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
static List<ChangeItemBean> |
JiraEntityUtils.updateDependentEntities(org.ofbiz.core.entity.GenericValue issue,
Collection newEntities,
String relationType,
String changeItemField)
Deprecated.
please use
JiraEntityUtils.updateDependentEntitiesCheckId(org.ofbiz.core.entity.GenericValue, java.util.Collection, String, String) instead,
as it compares ids rather than GenericValues |
static List<ChangeItemBean> |
JiraEntityUtils.updateDependentEntitiesCheckId(org.ofbiz.core.entity.GenericValue issue,
Collection newEntities,
String relationType,
String changeItemField)
Slightly changed from
JiraEntityUtils.updateDependentEntities(org.ofbiz.core.entity.GenericValue, java.util.Collection, String, String)
to cope with GV components that have different representation of null and empty strings (eg. |
Modifier and Type | Method and Description |
---|---|
AttachmentsBulkOperationResult<ChangeItemBean> |
BackwardCompatibleTemporaryAttachmentUtil.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<String> temporaryAttachmentsIds) |
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
WebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue,
String fileParamName,
Map<String,Object> attachmentProperties)
Deprecated.
Use
#createAttachment(webwork.multipart.MultiPartRequestWrapper, com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, String, java.util.Map) instead. Since v5.0. |
ChangeItemBean |
DefaultWebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue,
String fileParamName,
Map<String,Object> attachmentProperties) |
ChangeItemBean |
WebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
Issue issue,
String fileParamName,
Map<String,Object> attachmentProperties)
Deprecated.
|
ChangeItemBean |
DefaultWebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
Issue issue,
String fileParamName,
Map<String,Object> attachmentProperties) |
Copyright © 2002-2018 Atlassian. All Rights Reserved.