com.atlassian.jira.issue.fields.rest.json.beans
Class AttachmentRenderedJsonBean

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.json.beans.AttachmentRenderedJsonBean

public class AttachmentRenderedJsonBean
extends Object

Same as AttachmentJsonBean but contains rendered data

Since:
v5.0

Constructor Summary
AttachmentRenderedJsonBean()
           
 
Method Summary
 UserJsonBean getAuthor()
           
 String getContent()
           
 String getCreated()
           
 String getFilename()
           
 String getId()
           
 String getMimeType()
           
 String getSelf()
           
 String getSize()
           
 String getThumbnail()
           
static AttachmentRenderedJsonBean shortBean(Attachment attachment, JiraBaseUrls urls, ThumbnailManager thumbnailManager, DateTimeFormatterFactory dateTimeFormatterFactory)
           
static Collection<AttachmentRenderedJsonBean> shortBeans(Collection<Attachment> attachments, JiraBaseUrls urls, ThumbnailManager thumbnailManager, DateTimeFormatterFactory dateTimeFormatterFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentRenderedJsonBean

public AttachmentRenderedJsonBean()
Method Detail

getSelf

public String getSelf()

getId

public String getId()

getFilename

public String getFilename()

getAuthor

public UserJsonBean getAuthor()

getCreated

public String getCreated()

getSize

public String getSize()

getMimeType

public String getMimeType()

getContent

public String getContent()

getThumbnail

public String getThumbnail()

shortBeans

public static Collection<AttachmentRenderedJsonBean> shortBeans(Collection<Attachment> attachments,
                                                                JiraBaseUrls urls,
                                                                ThumbnailManager thumbnailManager,
                                                                DateTimeFormatterFactory dateTimeFormatterFactory)

shortBean

public static AttachmentRenderedJsonBean shortBean(Attachment attachment,
                                                   JiraBaseUrls urls,
                                                   ThumbnailManager thumbnailManager,
                                                   DateTimeFormatterFactory dateTimeFormatterFactory)
Returns:
null if the input is null


Copyright © 2002-2014 Atlassian. All Rights Reserved.