com.atlassian.confluence.links
Class RelatedContentRefactoringListener
java.lang.Object
com.atlassian.confluence.links.RelatedContentRefactoringListener
public class RelatedContentRefactoringListener
- extends Object
A listener that is interested in events that could lead to relationships between the Confluence content requiring to be updated. This listener will
respond to such events and modify (and save) the impacted content as necessary. As an example of such events, when a page is moved to a
different space should there be other content that links to this page then it will need to be updated.
This listener is for 'RelatedContent' rather than just links since the use of embedded images in a page can also be affected by the page hosting those
images being moved.
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelatedContentRefactoringListener
public RelatedContentRefactoringListener()
setRelatedContentRefactorer
public void setRelatedContentRefactorer(RelatedContentRefactorer relatedContentRefactorer)
handleEvent
@EventListener
public void handleEvent(PageMoveEvent event)
- Parameters:
event
-
handleEvent
@EventListener
public void handleEvent(PageUpdateEvent event)
- Parameters:
event
-
handleEvent
@EventListener
public void handleEvent(BlogPostUpdateEvent event)
- Parameters:
event
-
handleEvent
@EventListener
public void handleEvent(AttachmentUpdateEvent event)
Copyright © 2003-2013 Atlassian. All Rights Reserved.