@PublicApi public class TemporaryAttachment extends Object implements Comparable<TemporaryAttachment>
Temporary Attachments can be sorted by created date,
| Constructor and Description | 
|---|
| TemporaryAttachment(Long id,
                   File tempAttachment,
                   String filename,
                   String contentType,
                   String formToken) | 
| TemporaryAttachment(Long id,
                   Long issueId,
                   File tempAttachment,
                   String filename,
                   String contentType)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(TemporaryAttachment other) | 
| boolean | equals(Object o) | 
| String | getContentType() | 
| Date | getCreated() | 
| static String | getEntityToken(io.atlassian.fugue.Either<Issue,Project> entity)Deprecated.  | 
| File | getFile() | 
| String | getFilename() | 
| String | getFormToken() | 
| Long | getId() | 
| Long | getIssueId()Deprecated.  | 
| static String | getIssueToken(Long issueId)Deprecated.  | 
| int | hashCode() | 
| String | toString() | 
@Deprecated public TemporaryAttachment(Long id, Long issueId, File tempAttachment, String filename, String contentType)
public Long getId()
@Deprecated public Long getIssueId()
public File getFile()
public String getContentType()
public String getFilename()
public Date getCreated()
public String getFormToken()
public int compareTo(TemporaryAttachment other)
compareTo in interface Comparable<TemporaryAttachment>@Deprecated public static final String getIssueToken(Long issueId)
@Deprecated public static final String getEntityToken(io.atlassian.fugue.Either<Issue,Project> entity)
Copyright © 2002-2020 Atlassian. All Rights Reserved.