|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.attachment.TemporaryAttachment
@PublicApi public class TemporaryAttachment
Represents a temporary attachment, that is an attachment that's been uploaded to the server but not yet attached to an issue. The issueId may be null for newly created issues! Temporary Attachments can be sorted by created date,
Constructor Summary | |
---|---|
TemporaryAttachment(Long id,
File tempAttachment,
String filename,
String contentType,
String formToken)
|
|
TemporaryAttachment(Long id,
Long issueId,
File tempAttachment,
String filename,
String contentType)
Deprecated. |
Method Summary | |
---|---|
int |
compareTo(TemporaryAttachment other)
|
boolean |
equals(Object o)
|
String |
getContentType()
|
Date |
getCreated()
|
static String |
getEntityToken(com.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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public TemporaryAttachment(Long id, Long issueId, File tempAttachment, String filename, String contentType)
public TemporaryAttachment(Long id, File tempAttachment, String filename, String contentType, String formToken)
Method Detail |
---|
public Long getId()
@Deprecated public Long getIssueId()
public File getFile()
public String getContentType()
public String getFilename()
public Date getCreated()
public String getFormToken()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(TemporaryAttachment other)
compareTo
in interface Comparable<TemporaryAttachment>
public String toString()
toString
in class Object
@Deprecated public static final String getIssueToken(Long issueId)
@Deprecated public static final String getEntityToken(com.atlassian.fugue.Either<Issue,Project> entity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |