public interface LinkAssistant
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContextPath() |
com.atlassian.confluence.core.ConfluenceEntityObject |
getEntityForWikiLink(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
java.lang.String linkText)
Parses a content name (e.g.
|
java.lang.String |
getURLForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject ceo) |
java.lang.String |
getURLForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject ceo,
java.lang.String anchor) |
java.lang.String |
getURLForWikiLink(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
java.lang.String linkText) |
java.lang.String |
getWikiLinkForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject entity)
Generates a wiki link, without any surrounding '[]'s.
|
boolean |
saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
com.atlassian.confluence.core.ConfluenceEntityObject targetContent) |
boolean |
saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
java.lang.String url) |
boolean |
saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
java.lang.String spaceKey,
java.lang.String targetPageTitle) |
com.atlassian.confluence.core.ConfluenceEntityObject getEntityForWikiLink(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
java.lang.String linkText)
context - The context to get spaces/content id info from if not
specified in the contentName.linkText - The name of the entity being trackednull if it could
not be found.java.lang.String getWikiLinkForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject entity)
context - entity - The entity to link to.java.lang.String getURLForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject ceo)
java.lang.String getURLForEntity(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
com.atlassian.confluence.core.ConfluenceEntityObject ceo,
java.lang.String anchor)
java.lang.String getURLForWikiLink(com.atlassian.confluence.content.render.xhtml.ConversionContext context,
java.lang.String linkText)
java.lang.String getContextPath()
boolean saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
com.atlassian.confluence.core.ConfluenceEntityObject targetContent)
boolean saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
java.lang.String spaceKey,
java.lang.String targetPageTitle)
boolean saveOutgoingLink(com.atlassian.confluence.core.ContentEntityObject sourceContent,
java.lang.String url)
Copyright © 2013 randombits.org. All Rights Reserved.