Class ExporterFactory


  • public class ExporterFactory
    extends Object
    Creates exporters on demand.
    Since:
    7.20.0
    • Method Detail

      • createSingleDependencyGenericSiteExporter

        public SingleDependencyGenericExporter createSingleDependencyGenericSiteExporter​(ExportableEntityInfo entityInfo)
        Creates a site backup exporter works for tables with single dependency that is not in simple entity classes.
      • createContentSiteExporter

        public GenericSiteExporter createContentSiteExporter​(List<ExportableEntityInfo> allContentEntityInfos,
                                                             boolean includeAttachments)
        Creates a custom exporter for the whole CONTENT table.
        Parameters:
        allContentEntityInfos - all content entities that live in CONTENT table
      • createContentPropertySiteExporter

        public GenericSiteExporter createContentPropertySiteExporter​(ExportableEntityInfo entityInfo)
        Creates a site backup exporter that is compatible with ContentProperty.
      • createContentPropertySpaceExporter

        public ContentPropertyDataExporter createContentPropertySpaceExporter​(ExportableEntityInfo entityInfo,
                                                                              boolean keepCollectionsForContentProperties)
        Creates a space backup exporter for ContentProperty objects
      • createContentEntitySpaceExporter

        public Exporter createContentEntitySpaceExporter​(List<ExportableEntityInfo> allContentEntityInfos,
                                                         ContentPropertyDataExporter contentPropertyDataExporter,
                                                         boolean keepCollectionsForContentProperties)
        Creates a space backup exporter for ContentEntities (one exporter for all content entities)
      • createPageTemplateExporter

        public Exporter createPageTemplateExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for PageTemplate.
      • createSimpleEntityExporter

        public Exporter createSimpleEntityExporter​(ExportableEntityInfo entityInfo)
        Creates a generic space backup exporter works for simple entities.
      • createLabellingExporter

        public Exporter createLabellingExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for Labelling.
      • createSpaceDatabaseDataExporter

        public Exporter createSpaceDatabaseDataExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for Space.
      • createNotificationDatabaseDataExporter

        public Exporter createNotificationDatabaseDataExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for Notification.
      • createSingleDependencyGenericExporter

        public SingleDependencyGenericExporter createSingleDependencyGenericExporter​(ExportableEntityInfo entityInfo,
                                                                                     Set<Class<?>> simpleEntitiesClasses)
        Creates a space backup exporter works for tables with single dependency that is not in simple entity classes.
      • createConfluenceUserExporter

        public Exporter createConfluenceUserExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for ConfluenceUserImpl.
      • createBandanaDataExporter

        public Exporter createBandanaDataExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for ConfluenceBandanaRecord.
      • createContent2ContentRelationEntityExporter

        public Exporter createContent2ContentRelationEntityExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter works for Content2ContentRelationEntity.
      • createBucketsExporter

        public Exporter createBucketsExporter​(ExportableEntityInfo entityInfo)
        Creates a space backup exporter for BucketPropertySetItem objects.