|
||||||||||
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()
|
Timestamp |
getCreated()
|
String |
getFilename()
|
Long |
getFilesize()
|
Long |
getId()
|
org.ofbiz.core.entity.GenericValue |
getIssue()
Deprecated. Use getIssueObject() instead. Since v4.4. |
Issue |
getIssueObject()
Returns the Issue that this file is attached to. |
String |
getMimetype()
|
com.opensymphony.module.propertyset.PropertySet |
getProperties()
Get attachment properties |
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()
public org.ofbiz.core.entity.GenericValue getIssue()
getIssueObject()
instead. Since v4.4.
public Long getId()
public String getMimetype()
public String getFilename()
public Timestamp getCreated()
public Long getFilesize()
public String getAuthor()
public com.opensymphony.module.propertyset.PropertySet getProperties()
PropertySet
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |