com.atlassian.jira.util
Class AttachmentUtils.AttachmentAdapter

java.lang.Object
  extended by com.atlassian.jira.util.AttachmentUtils.AttachmentAdapter
Enclosing class:
AttachmentUtils

public static class AttachmentUtils.AttachmentAdapter
extends Object

We need some of this utility to code to work for both Attachments and ExternalAttachments (from Project Import). All we really need to work is the id and the filename so this provides an adapter so that we can reuse code here.


Constructor Summary
AttachmentUtils.AttachmentAdapter(Long id, String name)
           
 
Method Summary
 String getFilename()
           
 Long getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentUtils.AttachmentAdapter

public AttachmentUtils.AttachmentAdapter(Long id,
                                         String name)
Method Detail

getId

public Long getId()

getFilename

public String getFilename()


Copyright © 2002-2012 Atlassian. All Rights Reserved.