com.atlassian.jira.issue
Interface AttachmentManager

All Known Implementing Classes:
DefaultAttachmentManager

public interface AttachmentManager


Method Summary
 GenericValue getAttachment(java.lang.Long id)
          Get a single attachment by its id
 java.util.List getAttachments(GenericValue issue)
          Get a list of all attachments for a certain issue
 

Method Detail

getAttachment

public GenericValue getAttachment(java.lang.Long id)
                           throws GenericEntityException
Get a single attachment by its id

Throws:
GenericEntityException

getAttachments

public java.util.List getAttachments(GenericValue issue)
                              throws GenericEntityException
Get a list of all attachments for a certain issue

Throws:
GenericEntityException