Uses of Class
com.atlassian.confluence.backuprestore.exception.BackupRestoreException
-
-
Uses of BackupRestoreException in com.atlassian.confluence.backuprestore
Methods in com.atlassian.confluence.backuprestore that throw BackupRestoreException Modifier and Type Method Description intBackupRestoreManager. cancelAllJobsFromQueue()Cancels all queued jobs.BackupRestoreJobBackupRestoreManager. cancelJob(Long jobId)Cancels the job.Collection<BackupRestoreJob>BackupRestoreManager. findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter, int limit)Returns jobs based on the filter provided.BackupRestoreJobBackupRestoreManager. startSiteBackup(BackupRestoreSettings siteBackupSettings)Starts the new site backup job if possible.BackupRestoreJobBackupRestoreManager. startSiteRestore(BackupRestoreSettings siteRestoreSettings)Starts the new site restore job if possible.BackupRestoreJobBackupRestoreManager. startSpaceBackup(BackupRestoreSettings spaceBackupSettings)Adds the new space backup job to the queue.BackupRestoreJobBackupRestoreManager. startSpaceRestore(BackupRestoreSettings spaceRestoreSettings)Adds the new space restore job to the queue. -
Uses of BackupRestoreException in com.atlassian.confluence.backuprestore.exception
Subclasses of BackupRestoreException in com.atlassian.confluence.backuprestore.exception Modifier and Type Class Description classNotPermittedExceptionIt is thrown when a user does not have permissions to perform an action.classSiteBackupRestoreJobAlreadyInProgressExceptionIt is thrown when another site backup/restore operation is in progress.classTheSameSpaceBackupRestoreJobAlreadyInProgressExceptionIt is thrown when another space backup/restore operation is in progress or in the queue. -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore
Methods in com.atlassian.confluence.impl.backuprestore that throw BackupRestoreException Modifier and Type Method Description voidBackupRestoreConsumer. accept(T t)Collection<BackupRestoreJob>ConfluenceBackupRestoreManager. findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter, int limit)Returns jobs based on the filter provided.BackupRestoreJobConfluenceBackupRestoreManager. startSpaceBackup(BackupRestoreSettings spaceBackupSettings)Adds the new space backup job to the queue. -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup
Methods in com.atlassian.confluence.impl.backuprestore.backup that throw BackupRestoreException Modifier and Type Method Description abstract BackupRestoreJobResultAbstractBackupService. doBackupSynchronously(BackupRestoreJob job)Run the backup process synchronously.BackupRestoreJobResultSiteBackupService. doBackupSynchronously(BackupRestoreJob job)Run the backup process synchronously.BackupRestoreJobResultSpaceBackupService. doBackupSynchronously(BackupRestoreJob job)Run the backup process synchronously.ExportDescriptorBackupDescriptorWriter. writeBackupDescriptor(BackupContainerWriter backupContainerWriter, ExportScope exportScope, boolean backupAttachments, String spaceKey, Long objectsCount)BackupDescriptorWriter was created as an equivalent of the existing legacy code from com.atlassian.confluence.importexport.impl.AbstractXmlExporter (will disapper in Confluence 8.0). -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup.container
Methods in com.atlassian.confluence.impl.backuprestore.backup.container that throw BackupRestoreException Modifier and Type Method Description voidBackupContainerWriter. addDescriptionProperty(String name, String value)voidXmlBackupContainerWriter. addDescriptionProperty(String name, String value)voidBackupContainerWriter. addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptor)voidXmlBackupContainerWriter. addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors)Create the data file for a specific plugin module into the backup zip file using the module DescriptorsvoidArchiveWriter. close()Locking method that waits for all data to be archived and closes necessary resources.voidBackupContainerWriter. close()voidStreamZipWriter. close()voidXmlBackupContainerWriter. close()BackupContainerWriterBackupContainerWriterFactory. createSiteBackupContainerWriter()BackupContainerWriterBackupContainerWriterFactoryImpl. createSiteBackupContainerWriter()BackupContainerWriterBackupContainerWriterFactory. createSpaceBackupContainerWriter(Collection<Long> spaceIds)BackupContainerWriterBackupContainerWriterFactoryImpl. createSpaceBackupContainerWriter(Collection<Long> spaceIds)voidBackupContainerWriter. writeObjects(Collection<EntityObjectReadyForExport> objects)voidXmlBackupContainerWriter. writeObjects(Collection<EntityObjectReadyForExport> objects)voidPluginDataWriter. writePluginData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors)Constructors in com.atlassian.confluence.impl.backuprestore.backup.container that throw BackupRestoreException Constructor Description XmlBackupContainerWriter(File outputFile, ArchiveWriter archiveWriter, AttachmentDataFileSystem localAttachmentDataFileSystem, PluginDataWriter pluginWriter)XmlBackupContainerWriter(File outputFile, ArchiveWriter archiveWriter, AttachmentDataFileSystem localAttachmentDataFileSystem, PluginDataWriter pluginWriter, Instant currentTime) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup.exception
Subclasses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup.exception Modifier and Type Class Description classDataConversionExceptionException class for all exceptions related to data conversions in backup/restore process. -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup.exporters
Methods in com.atlassian.confluence.impl.backuprestore.backup.exporters that throw BackupRestoreException Modifier and Type Method Description voidPostExportAction. apply(List<EntityObjectReadyForExport> entities)Performs action on a collection of Entities after they have been exportedStringSpaceDatabaseDataExporter. export(long spaceId)It accepts the space id, finds the space, send space data to writer and notify other persisters about the space.voidDatabaseExporterHelper. notifyExportersAboutPersistedObjects(Collection<EntityObjectReadyForExport> exportedObjects)voidBandanaDataExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidBodyContentDataExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidBucketsExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidContent2ContentRelationEntityDataExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidContentPropertyDataExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidLabellingExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidNotificationDatabaseDataExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidPageTemplateExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidSingleDependencyGenericExporter. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)voidSubscriber. onMonitoredObjectsExport(Class<?> exportedClass, Collection<Object> idList)It is called when the collection of objects was exported.voidPersister. persistObjects(Collection<Object> objectIds)Retrieve a list of EntityObjectReadyForExport from object IDs and persist retrieved records for backup filevoidSimpleEntityExporter. persistObjects(Collection<Object> objectIds)voidDatabaseExporterHelper. writeAllReferencedSimpleObjects(Collection<EntityObjectReadyForExport> entities)Objects would have references to users, labels etc.voidDatabaseExporterHelper. writeObjects(Collection<EntityObjectReadyForExport> entities)voidDatabaseExporterHelper. writeObjectsAndNotifyOtherExporters(Collection<EntityObjectReadyForExport> entities) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.backup.exporters.site
Methods in com.atlassian.confluence.impl.backuprestore.backup.exporters.site that throw BackupRestoreException Modifier and Type Method Description voidContentEntityPostExportAction. apply(List<EntityObjectReadyForExport> entities)voidGenericSiteExporter. exportAllRecords()voidWholeTableExporter. exportAllRecords()Synchronously exports all the records from the table. -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore
Methods in com.atlassian.confluence.impl.backuprestore.restore that throw BackupRestoreException Modifier and Type Method Description ImportedObjectsDispatcherImportedObjectsDispatcherFactory. createImportedObjectsDispatcher(BackupRestoreJob job, ParallelTasksExecutor parallelTasksExecutor, HibernateMetadataHelper hibernateMetadataHelper)BackupRestoreJobResultRestoreService. doLegacyRestore(BackupRestoreJob job)Triggers the legacy version.BackupRestoreJobResultRestoreService. doRestore(BackupRestoreJob job, int threadsNumber)BackupRestoreJobResultSiteRestoreService. doRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.BackupRestoreJobResultSpaceRestoreService. doRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.voidEntityPersister. persist(ImportedObjectV2 importedObject)Persists the object.longEntityPersister. persistNextChunkOfData()Request the persister to persist the next chunk of data.booleanImportedObjectsDispatcher. processIncomingImportedObject(ImportedObjectV2 importedObject)booleanImportedObjectsDispatcher. processNextStashPhase()Processes the next phase.voidImportedObjectsDispatcher. runDeferredOperations() -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore.container
Methods in com.atlassian.confluence.impl.backuprestore.restore.container that throw BackupRestoreException Modifier and Type Method Description voidBackupContainerReader. close()voidXMLBackupContainerReader. close()BackupContainerReaderBackupContainerReaderFactory. createBackupContainerReader(File file)BackupContainerReaderBackupContainerReaderFactoryImpl. createBackupContainerReader(File file)voidBackupContainerReader. readObjects(BackupRestoreConsumer<ImportedObjectV2> objectConsumer)voidXMLBackupContainerReader. readObjects(BackupRestoreConsumer<ImportedObjectV2> objectConsumer) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore.dao
Methods in com.atlassian.confluence.impl.backuprestore.restore.dao that throw BackupRestoreException Modifier and Type Method Description voidDatabasePersister. waitUntilAllJobsFinish(Collection<Future<?>> futures) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore.idmapping
Methods in com.atlassian.confluence.impl.backuprestore.restore.idmapping that throw BackupRestoreException Modifier and Type Method Description IdMapperIdMapperFactory. createIdMapper(BackupRestoreJob job, Collection<ExportableEntityInfo> importableEntitiesInfo)Constructors in com.atlassian.confluence.impl.backuprestore.restore.idmapping that throw BackupRestoreException Constructor Description FakeObjectProvider(Collection<ExportableEntityInfo> importableEntitiesInfo) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore.persisters
Methods in com.atlassian.confluence.impl.backuprestore.restore.persisters that throw BackupRestoreException Modifier and Type Method Description GenericPersisterEntityPersistersFactory. createGenericPersister(ExportableEntityInfo entityInfo)voidContentPersister. persist(ImportedObjectV2 importedObject)voidContentPropertiesPersister. persist(ImportedObjectV2 importedObject)voidGenericPersister. persist(ImportedObjectV2 importedObject)voidPageTemplatePersister. persist(ImportedObjectV2 importedObject)voidSpacePersister. persist(ImportedObjectV2 importedObject)longContentPersister. persistNextChunkOfData()We know that the content table is processed separately, so we can process everything is one iteration.longContentPropertiesPersister. persistNextChunkOfData()longGenericPersister. persistNextChunkOfData()longPageTemplatePersister. persistNextChunkOfData()longSpacePersister. persistNextChunkOfData()intObjectQueueProcessor. processChunkOfStash(ImportedObjectsStash stash, IdMapper idMapper)Processes a small piece of data from the stash async.Constructors in com.atlassian.confluence.impl.backuprestore.restore.persisters that throw BackupRestoreException Constructor Description PersistersCreator(EntityPersistersFactory entityPersistersFactory, Collection<ExportableEntityInfo> exportableEntityInfos, ExportableEntityInfo ancestorsEntityInfo) -
Uses of BackupRestoreException in com.atlassian.confluence.impl.backuprestore.restore.stash
Methods in com.atlassian.confluence.impl.backuprestore.restore.stash that throw BackupRestoreException Modifier and Type Method Description voidImportedObjectsStash. add(ImportedObjectV2 object)Add object to stash.voidImportedObjectsStashImpl. add(ImportedObjectV2 object)Different threads can add objects to the stash in parallel.voidStashObjectsWriter. close()Closes the stash.voidStashObjectsWriterImpl. close()List<ImportedObjectV2>ImportedObjectsStash. readObjects(int numberOfObjects)Read a collection of objects from the stash.List<ImportedObjectV2>ImportedObjectsStashImpl. readObjects(int numberOfObjects)List<ImportedObjectV2>StashObjectsReader. readObjects(int numberOfObjects)Reads objects from stash.List<ImportedObjectV2>StashObjectsReaderImpl. readObjects(int numberOfObjects)voidStashObjectsWriter. writeObject(ImportedObjectV2 object)Writes an object to the stash.voidStashObjectsWriterImpl. writeObject(ImportedObjectV2 object)
-