public class

PageLinkRenamingBean

extends AbstractPageLinkRenamingBean
java.lang.Object
   ↳ com.atlassian.confluence.util.AbstractLinkRenamingBean
     ↳ com.atlassian.confluence.util.AbstractPageLinkRenamingBean
       ↳ com.atlassian.confluence.util.PageLinkRenamingBean

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.util.AbstractLinkRenamingBean
Public Constructors
PageLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
Protected Methods
String getCurrentLinkPart()
Use the getPageBeingChanged() to calculate (according to the content type's linking rules) the current (before the rename) link part to the page.
String getNewLinkPart()
Use the getPageBeingChanged(), newSpaceKey, and newTitle to caclulate (according to the content type's rules) a link to the content after the rename.
[Expand]
Inherited Methods
From class com.atlassian.confluence.util.AbstractPageLinkRenamingBean
From class com.atlassian.confluence.util.AbstractLinkRenamingBean
From class java.lang.Object
From interface com.atlassian.confluence.util.LinkRenamingBean
From interface com.atlassian.renderer.v2.components.WikiContentHandler

Public Constructors

public PageLinkRenamingBean (ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)

Protected Methods

protected String getCurrentLinkPart ()

Use the 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.

Returns
  • the current link part of the page

protected String getNewLinkPart ()

Use the getPageBeingChanged(), newSpaceKey, and newTitle to caclulate (according to the content type's rules) a link to the content after the rename.

Returns
  • the new link part of the page