com.atlassian.jira.issue.managers
Class DefaultAttachmentManager

java.lang.Object
  extended bycom.atlassian.jira.issue.managers.DefaultAttachmentManager
All Implemented Interfaces:
AttachmentManager

public class DefaultAttachmentManager
extends java.lang.Object
implements AttachmentManager


Constructor Summary
DefaultAttachmentManager()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAttachmentManager

public DefaultAttachmentManager()
Method Detail

getAttachment

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

Specified by:
getAttachment in interface AttachmentManager
Throws:
GenericEntityException

getAttachments

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

Specified by:
getAttachments in interface AttachmentManager
Throws:
GenericEntityException