Package com.atlassian.crowd.migration
Interface Mapper
- All Known Implementing Classes:
AliasMapper,ApplicationMapper,ApplicationSamlConfigurationEntityMapper,AuditLogMapper,CrowdConfigMapper,CrowdConfigMapper,CrowdPropertiesMapper,CrowdPropertiesMapper,DirectoryMapper,GrantedPermissionMapper,GroupLevelAdminMapper,GroupMapper,MembershipMapper,PropertyMapper,SAMLTrustEntityMapper,UserMapper
public interface Mapper
A Mapper that will handle the import and export of a Domain object, or any object from XML into the datastore
and vice-versa.
-
Method Summary
-
Method Details
-
exportXml
Exports to V2 XML.- Parameters:
options- map of arbitrarty options.- Returns:
- XML element, or null if you are not mapping
- Throws:
ExportException- error producing XML.
-
importXml
Imports V2 XML.- Parameters:
root- root XML element.- Throws:
ImportException- error importing data.
-