Class UpdateAttachmentsOnFilesystemOnPageMoveHandler

java.lang.Object
com.atlassian.confluence.impl.pages.attachments.filesystem.UpdateAttachmentsOnFilesystemOnPageMoveHandler

public class UpdateAttachmentsOnFilesystemOnPageMoveHandler extends Object

A listener interested in page and blog post move events which will ensure any attachments associated with a page/blog post being moved are also moved to the new location.

Attachments are been stored on the filesystem in a structure that encapsulates the space key for the page. This means that if a page is moved to a different space then the location of the attachments will also need to be changed. This is the responsibility of this listener.

If a page/blog post isn't moving to a different space then this listener will not do anything.

Since:
7.12
  • Constructor Details

  • Method Details

    • handleBlogPostMovedEvent

      public void handleBlogPostMovedEvent(BlogPostMovedEvent blogPostMovedEvent)
    • handlePageMovedEvent

      public void handlePageMovedEvent(PageMoveEvent pageMoveEvent)