|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper com.atlassian.jira.issue.attachment.Attachment
@PublicApi public class Attachment
Field Summary |
---|
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper |
---|
genericValue |
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. |
Method Summary | |
---|---|
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. |
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()
|
Methods inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper |
---|
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 GenericValueMethod Detail |
---|
public Issue getIssueObject()
getIssue()
.
public Issue getIssue()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |