public abstract class AbstractPageLinkRenamingBean extends AbstractLinkRenamingBean
newSpaceKey, newTitle, pageBeingChanged, referringContent
Constructor and Description |
---|
AbstractPageLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getCurrentLinkPart()
Use the
AbstractLinkRenamingBean.getPageBeingChanged() to calculate (according to the content type's linking rules) the current
(before the rename) link part to the page. |
protected abstract String |
getNewLinkPart()
Use the
AbstractLinkRenamingBean.getPageBeingChanged() , AbstractLinkRenamingBean.newSpaceKey , and AbstractLinkRenamingBean.newTitle to caclulate (according to
the content type's rules) a link to the content after the rename. |
void |
handleText(StringBuffer buffer,
String s) |
escapeDollars, getPageBeingChanged, getReferringContentSpaceKey, getRenamedContent, handleMacro, setMacroManager
public AbstractPageLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
public void handleText(StringBuffer buffer, String s)
handleText
in interface com.atlassian.renderer.v2.components.WikiContentHandler
handleText
in class AbstractLinkRenamingBean
protected abstract String getCurrentLinkPart()
AbstractLinkRenamingBean.getPageBeingChanged()
to calculate (according to the content type's linking rules) the current
(before the rename) link part to the page. The link part is the part of a wiki link that is used to identify
the page by title or other unique identifier.protected abstract String getNewLinkPart()
AbstractLinkRenamingBean.getPageBeingChanged()
, AbstractLinkRenamingBean.newSpaceKey
, and AbstractLinkRenamingBean.newTitle
to caclulate (according to
the content type's rules) a link to the content after the rename.Copyright © 2003–2020 Atlassian. All rights reserved.