com.atlassian.jira.issue.attachment
Class DefaultBulkAttachmentOperations

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.DefaultBulkAttachmentOperations
All Implemented Interfaces:
BulkAttachmentOperations

public final class DefaultBulkAttachmentOperations
extends Object
implements BulkAttachmentOperations


Constructor Summary
DefaultBulkAttachmentOperations(IssueManager issueManager, OfBizDelegator ofBizDelegator)
           
 
Method Summary
 EnclosedIterable<Attachment> getAllAttachments()
          Retrieve all the attachments of the system.
 EnclosedIterable<Attachment> getAttachmentOfIssue(Issue issue)
          Retrieve all the attachments of an issue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBulkAttachmentOperations

public DefaultBulkAttachmentOperations(IssueManager issueManager,
                                       OfBizDelegator ofBizDelegator)
Method Detail

getAttachmentOfIssue

public EnclosedIterable<Attachment> getAttachmentOfIssue(@Nonnull
                                                         Issue issue)
Description copied from interface: BulkAttachmentOperations
Retrieve all the attachments of an issue.

Specified by:
getAttachmentOfIssue in interface BulkAttachmentOperations
Parameters:
issue - The issue. return a class to traverse all the returned attachments.

getAllAttachments

public EnclosedIterable<Attachment> getAllAttachments()
Description copied from interface: BulkAttachmentOperations
Retrieve all the attachments of the system. return a class to traverse all the returned attachments.

Specified by:
getAllAttachments in interface BulkAttachmentOperations


Copyright © 2002-2014 Atlassian. All Rights Reserved.