Class DefaultXmlImporter
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter
- All Implemented Interfaces:
XmlImporter
Deprecated.
-
Constructor Summary
ConstructorDescriptionDefaultXmlImporter
(ObjectPersisterFactory objectPersisterFactory, org.hibernate.SessionFactory sessionFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiondoImport
(org.hibernate.Session session, InputStreamFactory xmlImportStreamFactory, boolean incrementalImport, ImportContext context) Deprecated.Perform an XML import.doImport
(org.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter meter, boolean incrementalImport, ImportedObjectPreProcessor preProcessor) Deprecated.
-
Constructor Details
-
DefaultXmlImporter
public DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory, org.hibernate.SessionFactory sessionFactory) Deprecated.
-
-
Method Details
-
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
-
BackupRestoreManager
instead.