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 xmlStreamFactory,
com.atlassian.core.util.ProgressMeter progress,
boolean incrementalImport) |
ImportProcessorSummary |
doImport(net.sf.hibernate.Session session,
InputStreamFactory xmlStreamFactory,
com.atlassian.core.util.ProgressMeter meter,
boolean incrementalImport,
ImportedObjectPreProcessor preProcessor)
Perform an XML import.
|
public DefaultXmlImporter(ObjectPersisterFactory objectPersisterFactory, net.sf.hibernate.SessionFactory sessionFactory)
public ImportProcessorSummary doImport(net.sf.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter progress, boolean incrementalImport) throws ImportExportException
doImport
in interface XmlImporter
ImportExportException
public ImportProcessorSummary doImport(net.sf.hibernate.Session session, InputStreamFactory xmlStreamFactory, com.atlassian.core.util.ProgressMeter meter, boolean incrementalImport, ImportedObjectPreProcessor preProcessor) throws ImportExportException
XmlImporter
doImport
in interface XmlImporter
session
- The current user's sessionxmlStreamFactory
- The stream from which to readmeter
- The progress meter to updateincrementalImport
- Whether or not this is an incremental importpreProcessor
- PreProcessor for filter imported objectsImportExportException
Copyright © 2003–2016 Atlassian. All rights reserved.