com.atlassian.confluence.util
Class BlogPostLinkRenamingBean
java.lang.Object
com.atlassian.confluence.util.AbstractLinkRenamingBean
com.atlassian.confluence.util.AbstractPageLinkRenamingBean
com.atlassian.confluence.util.BlogPostLinkRenamingBean
- All Implemented Interfaces:
- LinkRenamingBean, com.atlassian.renderer.v2.components.WikiContentHandler
public class BlogPostLinkRenamingBean
- extends AbstractPageLinkRenamingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogPostLinkRenamingBean
public BlogPostLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle)
getBlogPostBeingChanged
protected BlogPost getBlogPostBeingChanged()
getCurrentLinkPart
protected String getCurrentLinkPart()
- Description copied from class:
AbstractPageLinkRenamingBean
- Use the
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.
- Specified by:
getCurrentLinkPart
in class AbstractPageLinkRenamingBean
- Returns:
- the current link part of the page
getNewLinkPart
protected String getNewLinkPart()
- Description copied from class:
AbstractPageLinkRenamingBean
- 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.
- Specified by:
getNewLinkPart
in class AbstractPageLinkRenamingBean
- Returns:
- the new link part of the page
Copyright © 2003-2013 Atlassian. All Rights Reserved.