com.atlassian.confluence.links.linktypes
Class AbstractContentEntityLink

java.lang.Object
  extended by com.atlassian.renderer.links.Link
      extended by com.atlassian.renderer.links.BaseLink
          extended by com.atlassian.confluence.links.linktypes.AbstractContentEntityLink
Direct Known Subclasses:
AbstractPageLink, ContentLink, SpaceLink, UserProfileLink

public abstract class AbstractContentEntityLink
extends com.atlassian.renderer.links.BaseLink


Field Summary
protected  String entityName
           
 
Fields inherited from class com.atlassian.renderer.links.Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
 
Constructor Summary
AbstractContentEntityLink(com.atlassian.renderer.links.GenericLinkParser parser)
           
 
Method Summary
abstract  ContentEntityObject getDestinationContent()
           
 String getLinkBody()
           
 boolean hasDestination()
           
protected  boolean isNoLinkBodyProvided()
           
 
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, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityName

protected String entityName
Constructor Detail

AbstractContentEntityLink

public AbstractContentEntityLink(com.atlassian.renderer.links.GenericLinkParser parser)
Method Detail

getDestinationContent

public abstract ContentEntityObject getDestinationContent()

hasDestination

public boolean hasDestination()

getLinkBody

public String getLinkBody()
Overrides:
getLinkBody in class com.atlassian.renderer.links.Link

isNoLinkBodyProvided

protected boolean isNoLinkBodyProvided()


Copyright © 2003-2012 Atlassian. All Rights Reserved.