public class CrowdPropertiesMapper extends CrowdPropertiesMapper implements LegacyImporter
GenericMapper.Exporter<T>, GenericMapper.Importer<T>PROPERTIES_XML_ROOT, PROPERTY_XML_NAME, PROPERTY_XML_VALUEGENERIC_XML_ACTIVE, GENERIC_XML_ATTRIBUTE, GENERIC_XML_ATTRIBUTE_NAME, GENERIC_XML_ATTRIBUTE_VALUE, GENERIC_XML_ATTRIBUTES, GENERIC_XML_CREATED_DATE, GENERIC_XML_ID, GENERIC_XML_NAME, GENERIC_XML_UPDATED_DATEDATABASE_DATE_FORMAT, DATE_CONVERTER_FOR_EXPORT, LEGACY_XML_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX| Constructor and Description |
|---|
CrowdPropertiesMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
ResourceLocator resourceLocator,
PropertyUtils propertyUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
importXml(org.dom4j.Element root,
LegacyImportDataHolder importData)
Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML.
|
exportXml, importXmlexportInternalEntity, exportSingleValuedAttributes, getInternalEntityTemplateFromXml, getSingleValuedAttributesMapFromXmladdEntities, addEntitiesViaMerge, addEntitiesViaReplicate, addEntity, addEntity, addEntityViaMerge, addEntityViaSave, clearSession, exportXml, getAttributeValue, getBoolean, getBoolean, getDateConverterForXml, getDateFromTimestamp, getDirectoryTypeFromLegacyCode, getLong, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getOptionalValue, getSessionFactory, getString, getValue, importXml, setCDATA, setText, setTimestamppublic CrowdPropertiesMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
ResourceLocator resourceLocator,
PropertyUtils propertyUtils)
public void importXml(org.dom4j.Element root,
LegacyImportDataHolder importData)
throws ImportException
LegacyImporterimportXml in interface LegacyImporterroot - root XML element.importData - stores significant import results.ImportExceptionCopyright © 2019 Atlassian. All rights reserved.