com.atlassian.crowd.migration.legacy
Class SALPropertyMapper
java.lang.Object
com.atlassian.crowd.migration.GenericMapper
com.atlassian.crowd.migration.legacy.GenericLegacyImporter
com.atlassian.crowd.migration.legacy.SALPropertyMapper
- All Implemented Interfaces:
- LegacyImporter
public class SALPropertyMapper
- extends GenericLegacyImporter
- 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)
Fields inherited from class com.atlassian.crowd.migration.legacy.GenericLegacyImporter |
DATE_FORMAT, GENERIC_XML_ACTIVE, GENERIC_XML_ATTRIBUTE, GENERIC_XML_ATTRIBUTE_ID, GENERIC_XML_ATTRIBUTE_KEY, GENERIC_XML_ATTRIBUTE_VALUE, GENERIC_XML_ATTRIBUTE_VALUES, GENERIC_XML_ATTRIBUTES_NODE, GENERIC_XML_CONCEPTION, GENERIC_XML_ID, GENERIC_XML_LASTMODIFIED, GENERIC_XML_NAME |
Methods inherited from class com.atlassian.crowd.migration.GenericMapper |
addEntities, addEntity, addEntityViaMerge, addEntityViaSave, getAttributeValue, getDateAsFormattedString, getDateFromDatabase, getDateFromXml, getDirectoryTypeFromLegacyCode, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SALPROPERTY_XML_ROOT
protected static final String SALPROPERTY_XML_ROOT
- See Also:
- Constant Field Values
SALPROPERTY_XML_NODE
protected static final String SALPROPERTY_XML_NODE
- See Also:
- Constant Field Values
SALPROPERTY_XML_KEY
protected static final String SALPROPERTY_XML_KEY
- See Also:
- Constant Field Values
SALPROPERTY_XML_PROPERTY_NAME
protected static final String SALPROPERTY_XML_PROPERTY_NAME
- See Also:
- Constant Field Values
SALPROPERTY_XML_STRING_VALUE
protected static final String SALPROPERTY_XML_STRING_VALUE
- See Also:
- Constant Field Values
SALPropertyMapper
public SALPropertyMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
PropertyDAOHibernate propertyDAO)
importXml
public void importXml(org.dom4j.Element root,
LegacyImportDataHolder importData)
throws ImportException
- 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.importData
- stores significant import results.
- Throws:
ImportException
Copyright © 2013 Atlassian. All Rights Reserved.