com.atlassian.renderer.attachments
Class RendererAttachment

java.lang.Object
  extended by com.atlassian.renderer.attachments.RendererAttachment

public class RendererAttachment
extends Object

Represents an attachment object that can wrap the Jira & Confluence attatchment objects in a way that will provide useful data to Renderer components.


Constructor Summary
RendererAttachment(long id, String fileName, String contentType, String author, String comment, String src, String wrapPrefix, String wrapSuffix, Timestamp created)
           
 
Method Summary
 String getAuthor()
           
 String getComment()
           
 String getContentType()
           
 Timestamp getCreated()
           
 String getFileName()
           
 long getId()
           
 String getSrc()
           
 String getWrapPrefix()
           
 void setAuthor(String author)
           
 void setComment(String comment)
           
 void setContentType(String contentType)
           
 void setCreated(Timestamp created)
           
 void setFileName(String fileName)
           
 void setId(long id)
           
 void setSrc(String src)
           
 void setWrapPrefix(String wrapPrefix)
           
 String wrapGeneratedElement(String generatedHtml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererAttachment

public RendererAttachment(long id,
                          String fileName,
                          String contentType,
                          String author,
                          String comment,
                          String src,
                          String wrapPrefix,
                          String wrapSuffix,
                          Timestamp created)
Method Detail

getId

public long getId()

setId

public void setId(long id)

getWrapPrefix

public String getWrapPrefix()

setWrapPrefix

public void setWrapPrefix(String wrapPrefix)

getSrc

public String getSrc()

setSrc

public void setSrc(String src)

getComment

public String getComment()

setComment

public void setComment(String comment)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

getCreated

public Timestamp getCreated()

setCreated

public void setCreated(Timestamp created)

wrapGeneratedElement

public String wrapGeneratedElement(String generatedHtml)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.