com.atlassian.confluence.links.linktypes
Class AttachmentLink

java.lang.Object
  extended by com.atlassian.renderer.links.Link
      extended by com.atlassian.renderer.links.BaseLink
          extended by com.atlassian.confluence.links.linktypes.AttachmentLink

public class AttachmentLink
extends BaseLink

Attachment link takes in either a page or blog post object.


Field Summary
static String ATTACHMENT_ICON
           
 
Fields inherited from class com.atlassian.renderer.links.Link
iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url
 
Constructor Summary
AttachmentLink(GenericLinkParser parser, AbstractPageLink abstractPageLink, AttachmentManager attachmentManager)
           
 
Method Summary
 AbstractPageLink getAbstractPageLink()
           
 Attachment getAttachment()
           
 
Methods inherited from class com.atlassian.renderer.links.BaseLink
equals, getOriginalParser, hashCode, setI18nTitle, setTitle
 
Methods inherited from class com.atlassian.renderer.links.Link
getIconName, getLinkAttributes, getLinkBody, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, isRelativeUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTACHMENT_ICON

public static final String ATTACHMENT_ICON
See Also:
Constant Field Values
Constructor Detail

AttachmentLink

public AttachmentLink(GenericLinkParser parser,
                      AbstractPageLink abstractPageLink,
                      AttachmentManager attachmentManager)
Method Detail

getAbstractPageLink

public AbstractPageLink getAbstractPageLink()

getAttachment

public Attachment getAttachment()


Confluence is developed by Atlassian.