@Deprecated public static class


extends Object
implements AttachmentStore.AttachmentAdapter
   ↳ com.atlassian.jira.util.AttachmentUtils.AttachmentAdapter

This class is deprecated.
Use AttachmentStore with AttachmentStore.AttachmentAdapter. Since v6.1

Class Overview

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.


Public Constructors
AttachmentUtils.AttachmentAdapter(Long id, String name)
Public Methods
String getFilename()
Long getId()
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.attachment.AttachmentStore.AttachmentAdapter

Public Constructors

public AttachmentUtils.AttachmentAdapter (Long id, String name)

Public Methods

public String getFilename ()

public Long getId ()