com.atlassian.jira.issue.attachment
Class Attachment
java.lang.Object
com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
com.atlassian.jira.issue.attachment.Attachment
- All Implemented Interfaces:
- OfBizValueWrapper
@PublicApi
public class Attachment
- extends AbstractOfBizValueWrapper
Constructor Summary |
Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue)
Construct an Attachment. |
Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue,
com.opensymphony.module.propertyset.PropertySet attachmentProperties)
Construct an Attachment, with properties. |
Attachment
public Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue,
com.opensymphony.module.propertyset.PropertySet attachmentProperties)
- Construct an Attachment, with properties.
- Parameters:
issueManager
- genericValue
- FileAttachment GenericValueattachmentProperties
- Properties of the attachment.
Attachment
public Attachment(IssueManager issueManager,
org.ofbiz.core.entity.GenericValue genericValue)
- Construct an Attachment.
- Parameters:
issueManager
- genericValue
- FileAttachment GenericValue
getIssueObject
public Issue getIssueObject()
- Returns the Issue that this file is attached to.
Legacy synonym for
getIssue()
.
- Returns:
- the Issue that this file is attached to.
getIssue
public Issue getIssue()
- Returns the Issue that this file is attached to.
- Returns:
- the Issue that this file is attached to.
getId
public Long getId()
getMimetype
public String getMimetype()
getFilename
public String getFilename()
getCreated
public Timestamp getCreated()
getFilesize
public Long getFilesize()
getAuthor
public String getAuthor()
getProperties
public com.opensymphony.module.propertyset.PropertySet getProperties()
- Get attachment properties
- Returns:
- A Map of key ->
PropertySet
s
isZip
public Boolean isZip()
isThumbnailable
public Boolean isThumbnailable()
Copyright © 2002-2013 Atlassian. All Rights Reserved.