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. addAttachments(Collection<AttachmentInfo> attachments)voidXmlBackupContainerWriter. addAttachments(Collection<AttachmentInfo> attachments)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, AttachmentDataFileSystemInternals localAttachmentDataFileSystem, PluginDataWriter pluginWriter)XmlBackupContainerWriter(File outputFile, ArchiveWriter archiveWriter, AttachmentDataFileSystemInternals 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 abstract BackupRestoreJobResultAbstractRestoreService. doRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.BackupRestoreJobResultSiteRestoreService. doRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.BackupRestoreJobResultSpaceRestoreService. doRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.default voidEntityPersister. finalise()It is called when all data is processed and the persister should do some final actions (if needed) Most of persisters do not need do anything in this method.voidImportedObjectsDispatcher. finalise()voidEntityPersister. persist(ImportedObjectV2 importedObject)Persists the object.booleanImportedObjectsDispatcher. processIncomingImportedObject(ImportedObjectV2 importedObject)voidEntityPersister. processStash()Persist objects from stash.voidImportedObjectsDispatcher. processStash() -
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()BackupContainerReaderBackupContainerReaderFactory. createSpaceBackupContainerReader(File file)BackupContainerReaderBackupContainerReaderFactoryImpl. createSpaceBackupContainerReader(File file)voidBackupContainerReader. 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. persistSynchronously(Collection<ImportedObjectV2> objectsToPersist)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 Map<String,Object>IdMapper. createMapOfNewIds(ImportedObjectV2 importedObject, Collection<HibernateField> references)For all references, it find the new id for each old id.ObjectIdMapper. getNewId(Class<?> clazz, Object oldId)Returns the new id related to the old id or null if the new id was not generated before. -
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 voidSpacePersister. finalise()voidSpacePersister. persist(ImportedObjectV2 importedObject)
-