|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.links.DefaultLinkManager
public class DefaultLinkManager
Field Summary | |
---|---|
static org.apache.log4j.Category |
log
|
Fields inherited from interface com.atlassian.confluence.links.LinkManager |
---|
CAMELCASE_LINK_PATTERN, NORMAL_LINK_PATTERN |
Constructor Summary | |
---|---|
DefaultLinkManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Category log
Constructor Detail |
---|
public DefaultLinkManager()
Method Detail |
---|
public void setLinkDao(LinkDao linkDao)
public void setLinkResolver(com.atlassian.renderer.links.LinkResolver linkResolver)
public void removeLink(OutgoingLink link)
LinkManager
removeLink
in interface LinkManager
public void saveLink(OutgoingLink link)
LinkManager
saveLink
in interface LinkManager
public List getIncomingLinksToContent(ContentEntityObject content)
getIncomingLinksToContent
in interface LinkManager
content
-
public List extractLinksFromContent(ContentEntityObject content)
extractLinksFromContent
in interface LinkManager
@Deprecated public String getSelfContentWithRenamedLinks(ContentEntityObject referringContent, String newSpaceKey)
LinkManager
getSelfContentWithRenamedLinks
in interface LinkManager
@Deprecated public String getContentWithRenamedLinks(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newPageTitle)
LinkManager
getContentWithRenamedLinks
in interface LinkManager
referringContent
- page that contains a link to the pageBeingRenamedpageBeingChanged
- page that is being renamed or movednewSpaceKey
- the new space key of 'pageBeingRenamed'newPageTitle
- the new title for 'pageBeingRenamed'@Deprecated public void renameOutgoingLinksToAttachments(ContentEntityObject referringContent, String existingFileName, String newFileName)
RelatedContentRefactorer.updateReferences(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
LinkManager
renameOutgoingLinksToAttachments
in interface LinkManager
@Deprecated public void renameOutgoingLinksToMovedAttachments(ContentEntityObject referringContent, String existingFileName, String newFileName, ContentEntityObject srcContent, ContentEntityObject destContent) throws LinksUpdateException
LinkManager
renameOutgoingLinksToMovedAttachments
in interface LinkManager
LinksUpdateException
public void updateOutgoingLinks(ContentEntityObject content)
updateOutgoingLinks
in interface LinkManager
public Collection getReferringContent(ContentEntityObject content)
getReferringContent
in interface LinkManager
content
-
public void removeCorruptOutgoingLinks()
removeCorruptOutgoingLinks
in interface LinkManager
public void setSettingsManager(SettingsManager settingsManager)
public void setMacroManager(com.atlassian.renderer.v2.macro.MacroManager macroManager)
public void setOutgoingLinksExtractor(OutgoingLinksExtractor outgoingLinksExtractor)
public void setLinksUpdater(LinksUpdater linksUpdater)
public void setAttachmentLinksUpdater(AttachmentLinksUpdater attachmentLinksUpdater)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |