com.atlassian.crowd.migration
Class XmlMigrator
java.lang.Object
com.atlassian.crowd.migration.XmlMigrator
public class XmlMigrator
- extends Object
This class manages the import and export of Crowd's entity type's via Mapper
's
Each mapper has an exportXML()
that process's each entity and writes all required relationship to an
XML element that is then returned to this class to be finally written to disk (on export).
The mapper's importXML()
will take the XML document produced from an export and create the entities it is
responsible for and create each entity in the datastore.
User: Justin
Date: 16/02/2007
Method Summary |
void |
exportXml(org.dom4j.Element root,
Map options)
|
void |
importXml(org.dom4j.Element root)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlMigrator
public XmlMigrator(List<Mapper> mappers)
exportXml
public void exportXml(org.dom4j.Element root,
Map options)
throws ExportException
- Throws:
ExportException
importXml
public void importXml(org.dom4j.Element root)
throws ImportException
- Throws:
ImportException
Copyright © 2013 Atlassian. All Rights Reserved.