public class DefaultXmlImporter extends Object implements XmlImporter
Constructor and Description |
---|
DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory,
net.sf.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
ImportProcessorSummary |
doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlImportStreamFactory,
boolean incrementalImport,
ImportContext context)
Perform an XML import.
|
ImportProcessorSummary |
doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter meter,
boolean incrementalImport,
ImportedObjectPreProcessor preProcessor) |
public DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory, net.sf.hibernate.SessionFactory sessionFactory)
public ImportProcessorSummary doImport(net.sf.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter meter, boolean incrementalImport, ImportedObjectPreProcessor preProcessor) throws ImportExportException
doImport
in interface XmlImporter
ImportExportException
public ImportProcessorSummary doImport(net.sf.hibernate.Session session, InputStreamFactory xmlImportStreamFactory, boolean incrementalImport, ImportContext context) throws ImportExportException
XmlImporter
doImport
in interface XmlImporter
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 processImportExportException
Copyright © 2003–2021 Atlassian. All rights reserved.