public class AttachmentBlockContextProvider.SimpleAttachment extends Object
Constructor and Description |
---|
AttachmentBlockContextProvider.SimpleAttachment(Attachment attachment,
boolean isLatest,
boolean expandable,
ThumbnailedImage thumbnail,
boolean canDelete) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
String |
getCreatedFormatted() |
String |
getCreatedIso8601() |
String |
getDisplayAuthor() |
String |
getFilename() |
String |
getFilenameUrlEncoded() |
String |
getFilesize() |
Long |
getId() |
String |
getMimetype() |
ThumbnailedImage |
getThumbnail() |
boolean |
isCanDelete() |
boolean |
isExpandAsZip() |
boolean |
isLatest() |
public AttachmentBlockContextProvider.SimpleAttachment(Attachment attachment, boolean isLatest, boolean expandable, ThumbnailedImage thumbnail, boolean canDelete)
public boolean isLatest()
public Long getId()
public String getMimetype()
public String getFilename()
public String getFilenameUrlEncoded()
public String getCreatedFormatted()
public String getCreatedIso8601()
public String getFilesize()
public String getAuthor()
public String getDisplayAuthor()
public boolean isExpandAsZip()
public ThumbnailedImage getThumbnail()
public boolean isCanDelete()
Copyright © 2002-2015 Atlassian. All Rights Reserved.