Class DefaultXmlImporter
- java.lang.Object
-
- com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter
-
- All Implemented Interfaces:
XmlImporter
@Deprecated public class DefaultXmlImporter extends Object implements XmlImporter
Deprecated.since 7.17.0. UseBackupRestoreManager
instead.
-
-
Constructor Summary
Constructors Constructor Description DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory, org.hibernate.SessionFactory sessionFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImportProcessorSummary
doImport(org.hibernate.Session session, InputStreamFactory xmlImportStreamFactory, boolean incrementalImport, ImportContext context)
Deprecated.Perform an XML import.ImportProcessorSummary
doImport(org.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter meter, boolean incrementalImport, ImportedObjectPreProcessor preProcessor)
Deprecated.
-
-
-
Constructor Detail
-
DefaultXmlImporter
public DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory, org.hibernate.SessionFactory sessionFactory)
Deprecated.
-
-
Method Detail
-
doImport
public ImportProcessorSummary doImport(org.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter meter, boolean incrementalImport, ImportedObjectPreProcessor preProcessor) throws ImportExportException
Deprecated.- Specified by:
doImport
in interfaceXmlImporter
- Throws:
ImportExportException
-
doImport
public ImportProcessorSummary doImport(org.hibernate.Session session, InputStreamFactory xmlImportStreamFactory, boolean incrementalImport, ImportContext context) throws ImportExportException
Deprecated.Description copied from interface:XmlImporter
Perform an XML import.- Specified by:
doImport
in interfaceXmlImporter
- Parameters:
session
- The current user's sessionxmlImportStreamFactory
- The stream from which to readincrementalImport
- Whether or not this is an incremental importcontext
- The import context holding the current state of import process- Returns:
- A summary of the imported content
- Throws:
ImportExportException
-
-