Interface AttachmentDao.AttachmentCopier

All Known Implementing Classes:
AbstractAttachmentCopier, AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier, AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator, GeneralAttachmentCopier
Enclosing interface:
AttachmentDao

public static interface AttachmentDao.AttachmentCopier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Perform the copy
    void
    Set which parent content should be excluded from the copy.
    void
    setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
    Set the progress meter to report the status of the copy.
    void
    setSpacesToInclude(List<? extends Space> spaceList)
    Set which Spaces should be included in the copy.
  • Method Details

    • copy

      void copy()
      Perform the copy
    • setParentContentToExclude

      void setParentContentToExclude(List<? extends ConfluenceEntityObject> contentList)
      Set which parent content should be excluded from the copy.
      Parameters:
      contentList - a List of ContentEntityObjects
    • setSpacesToInclude

      void setSpacesToInclude(List<? extends Space> spaceList)
      Set which Spaces should be included in the copy.

      If no Spaces are set, then content from all Spaces is included.

      Parameters:
      spaceList - a List of Spaces
    • setProgressMeter

      void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
      Set the progress meter to report the status of the copy.
      Parameters:
      progress - a ProgressMeter instance