com.atlassian.jira.util
Class AttachmentUtils.AttachmentAdapter

java.lang.Object
  extended by com.atlassian.jira.util.AttachmentUtils.AttachmentAdapter
All Implemented Interfaces:
AttachmentStore.AttachmentAdapter
Enclosing class:
AttachmentUtils

Deprecated. Use AttachmentStore with AttachmentStore.AttachmentAdapter. Since v6.1

@Deprecated
public static class AttachmentUtils.AttachmentAdapter
extends Object
implements AttachmentStore.AttachmentAdapter

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)
          Deprecated.  
 
Method Summary
 String getFilename()
          Deprecated.  
 Long getId()
          Deprecated.  
 
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)
Deprecated. 
Method Detail

getId

public Long getId()
Deprecated. 
Specified by:
getId in interface AttachmentStore.AttachmentAdapter

getFilename

public String getFilename()
Deprecated. 
Specified by:
getFilename in interface AttachmentStore.AttachmentAdapter


Copyright © 2002-2014 Atlassian. All Rights Reserved.