public class PartialXmlMapper extends XmlMapper
GENERIC_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_DATE
DATABASE_DATE_FORMAT, DATE_CONVERTER_FOR_EXPORT, LEGACY_XML_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX
Constructor and Description |
---|
PartialXmlMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
DirectoryManager directoryManager,
Set<DirectoryType> includedDirectoryTypes) |
Modifier and Type | Method and Description |
---|---|
protected List<Directory> |
findAllExportableDirectories()
Finds all directories that have user/group/membership data that
need to be exported (ie.
|
protected boolean |
isExportOfNonLocalGroupsRequired(DirectoryType directoryType)
Determines whether the backup for a directory type includes all groups (both local
and non-local), or just local groups, excluding non-local (remote) groups.
|
protected boolean |
isImportableDirectory(Directory directory) |
exportInternalEntity, exportSingleValuedAttributes, getInternalEntityTemplateFromXml, getSingleValuedAttributesMapFromXml
addEntities, addEntitiesViaMerge, addEntitiesViaReplicate, addEntity, addEntity, addEntityViaMerge, addEntityViaSave, clearSession, getAttributeValue, getDateConverterForXml, getDirectoryTypeFromLegacyCode, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getSessionFactory
public PartialXmlMapper(org.hibernate.SessionFactory sessionFactory, BatchProcessor batchProcessor, DirectoryManager directoryManager, Set<DirectoryType> includedDirectoryTypes)
protected boolean isImportableDirectory(Directory directory)
directory
- the directory to be importedprotected List<Directory> findAllExportableDirectories()
protected boolean isExportOfNonLocalGroupsRequired(DirectoryType directoryType)
directoryType
- a directory typeCopyright © 2018 Atlassian. All rights reserved.