com.atlassian.crowd.migration.legacy
Class SALPropertyMapper
java.lang.Object
com.atlassian.crowd.migration.legacy.SALPropertyMapper
- All Implemented Interfaces:
- LegacyImporter
public class SALPropertyMapper
- extends java.lang.Object
- implements LegacyImporter
This mapper will handle the mapping of a com.atlassian.crowd.model.salproperty.SALProperty objects
This mapper is here for legacy compatibility only, for releases of Crowd older the 1.6 that used SAL
integration (i.e. JIRA Stuio)
|
Method Summary |
void |
importXml(org.dom4j.Element root,
java.util.Map<java.lang.Long,java.lang.Long> oldToNewDirectoryIds)
Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML. |
void |
setPropertyDAO(PropertyDAOHibernate propertyDAO)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SALPropertyMapper
public SALPropertyMapper()
importXml
public void importXml(org.dom4j.Element root,
java.util.Map<java.lang.Long,java.lang.Long> oldToNewDirectoryIds)
throws java.lang.Exception
- Description copied from interface:
LegacyImporter
- Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML.
- Specified by:
importXml in interface LegacyImporter
- Parameters:
root - root XML element.oldToNewDirectoryIds - a map of directory IDs present in the XML file mapped to actual directory IDs saved in the database.
- Throws:
java.lang.Exception - error importing data.
setPropertyDAO
public void setPropertyDAO(PropertyDAOHibernate propertyDAO)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.