public class BlogPostLinkRenamingBean extends AbstractPageLinkRenamingBean
newSpaceKey, newTitle, pageBeingChanged, referringContent
Constructor and Description |
---|
BlogPostLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
Modifier and Type | Method and Description |
---|---|
protected BlogPost |
getBlogPostBeingChanged() |
protected 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 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. |
handleText
escapeDollars, getPageBeingChanged, getReferringContentSpaceKey, getRenamedContent, handleMacro, setMacroManager
public BlogPostLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
protected BlogPost getBlogPostBeingChanged()
protected String getCurrentLinkPart()
AbstractPageLinkRenamingBean
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.getCurrentLinkPart
in class AbstractPageLinkRenamingBean
protected String getNewLinkPart()
AbstractPageLinkRenamingBean
AbstractLinkRenamingBean.getPageBeingChanged()
, AbstractLinkRenamingBean.newSpaceKey
, and AbstractLinkRenamingBean.newTitle
to caclulate (according to
the content type's rules) a link to the content after the rename.getNewLinkPart
in class AbstractPageLinkRenamingBean
Copyright © 2003–2019 Atlassian. All rights reserved.