com.atlassian.jira.issue.attachment
Class Attachment

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
      extended by com.atlassian.jira.issue.attachment.Attachment
All Implemented Interfaces:
OfBizValueWrapper

public class Attachment
extends AbstractOfBizValueWrapper


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
 java.lang.String getAuthor()
           
 java.sql.Timestamp getCreated()
           
 java.lang.String getFilename()
           
 java.lang.Long getFilesize()
           
 java.lang.Long getId()
           
 org.ofbiz.core.entity.GenericValue getIssue()
           
 Issue getIssueObject()
           
 java.lang.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

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 GenericValue
attachmentProperties - Properties of the attachment.

Attachment

public Attachment(IssueManager issueManager,
                  org.ofbiz.core.entity.GenericValue genericValue)
Construct an Attachment.

Parameters:
issueManager -
genericValue - FileAttachment GenericValue
Method Detail

getIssueObject

public Issue getIssueObject()

getIssue

public org.ofbiz.core.entity.GenericValue getIssue()

getId

public java.lang.Long getId()

getMimetype

public java.lang.String getMimetype()

getFilename

public java.lang.String getFilename()

getCreated

public java.sql.Timestamp getCreated()

getFilesize

public java.lang.Long getFilesize()

getAuthor

public java.lang.String getAuthor()

getProperties

public com.opensymphony.module.propertyset.PropertySet getProperties()
Get attachment properties

Returns:
A Map of key -> PropertySets


Copyright © 2002-2010 Atlassian. All Rights Reserved.