|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.migration.GenericMapper
com.atlassian.crowd.migration.legacy.XmlMapper
com.atlassian.crowd.migration.CrowdPropertiesMapper
com.atlassian.crowd.migration.legacy.CrowdPropertiesMapper
public class CrowdPropertiesMapper
This class extends the current 2.x CrowdPropertiesMapper because crowd.properties mapping is 100% backwards-compatible in XML.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.migration.CrowdPropertiesMapper |
|---|
clientProperties, PROPERTIES_XML_ROOT, PROPERTY_XML_NAME, PROPERTY_XML_NODE, PROPERTY_XML_VALUE |
| Fields inherited from class com.atlassian.crowd.migration.GenericMapper |
|---|
DATABASE_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX, XML_DATE_FORMAT |
| Constructor Summary | |
|---|---|
CrowdPropertiesMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
ClientProperties clientProperties,
ResourceLocator resourceLocator,
PropertyUtils propertyUtils)
|
|
| Method Summary | |
|---|---|
void |
importXml(org.dom4j.Element root,
LegacyImportDataHolder importData)
Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML. |
| Methods inherited from class com.atlassian.crowd.migration.CrowdPropertiesMapper |
|---|
exportXml, importXml |
| Methods inherited from class com.atlassian.crowd.migration.legacy.XmlMapper |
|---|
exportInternalEntity, exportSingleValuedAttributes, findAllExportableDirectories, getDirectoryManager, getInternalEntityTemplateFromXml, getSingleValuedAttributesMapFromXml, setDirectoryManager |
| 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 |
| Constructor Detail |
|---|
public CrowdPropertiesMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
ClientProperties clientProperties,
ResourceLocator resourceLocator,
PropertyUtils propertyUtils)
| Method Detail |
|---|
public void importXml(org.dom4j.Element root,
LegacyImportDataHolder importData)
throws ImportException
LegacyImporter
importXml in interface LegacyImporterroot - root XML element.importData - stores significant import results.
ImportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||