@PublicApi public class Attachment extends AbstractOfBizValueWrapper
genericValue
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Deprecated.
Use
getAuthorObject() instead. Since v6.0. |
String |
getAuthorKey() |
ApplicationUser |
getAuthorObject() |
Timestamp |
getCreated() |
String |
getFilename() |
Long |
getFilesize() |
Long |
getId() |
Issue |
getIssue()
Returns the Issue that this file is attached to.
|
Long |
getIssueId() |
Issue |
getIssueObject()
Returns the Issue that this file is attached to.
|
String |
getMimetype() |
com.opensymphony.module.propertyset.PropertySet |
getProperties()
Get attachment properties
|
Boolean |
isThumbnailable() |
Boolean |
isZip() |
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store
public Attachment(IssueManager issueManager, org.ofbiz.core.entity.GenericValue genericValue, com.opensymphony.module.propertyset.PropertySet attachmentProperties)
issueManager
- genericValue
- FileAttachment GenericValueattachmentProperties
- Properties of the attachment.public Attachment(IssueManager issueManager, org.ofbiz.core.entity.GenericValue genericValue)
issueManager
- genericValue
- FileAttachment GenericValuepublic Issue getIssueObject()
getIssue()
.public Issue getIssue()
public Long getIssueId()
public Long getId()
public String getMimetype()
public String getFilename()
public Timestamp getCreated()
public Long getFilesize()
public String getAuthor()
getAuthorObject()
instead. Since v6.0.public String getAuthorKey()
public ApplicationUser getAuthorObject()
public com.opensymphony.module.propertyset.PropertySet getProperties()
PropertySet
spublic Boolean isZip()
public Boolean isThumbnailable()
Copyright © 2002-2022 Atlassian. All Rights Reserved.