public abstract class PartialCrowdEntityXmlMapper<T,I extends T> extends CrowdEntityXmlMapper<T,I>
CrowdEntityXmlMapper.SingleValuedAttributesMapper
BambooStAXMappingHelper.None
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, setActive, setId, setName
transactionOperations
Constructor and Description |
---|
PartialCrowdEntityXmlMapper(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.support.TransactionOperations ops,
com.atlassian.crowd.manager.directory.DirectoryManager directoryManager,
Set<com.atlassian.crowd.embedded.api.DirectoryType> includedDirectoryTypes) |
Modifier and Type | Method and Description |
---|---|
protected List<com.atlassian.crowd.embedded.api.Directory> |
findAllExportableDirectories()
Finds all directories that have user/group/membership data that
need to be exported (ie.
|
protected boolean |
isExportOfNonLocalGroupsRequired(com.atlassian.crowd.embedded.api.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(com.atlassian.crowd.embedded.api.Directory directory) |
exportProperties, exportSingleValuedAttributes, importProperties
afterImportListItem, beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, getXmlRootNodeName, importListXml, importListXml, importListXmlInTransaction
createItemInstance, exportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportXml, importXml
public PartialCrowdEntityXmlMapper(org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.support.TransactionOperations ops, com.atlassian.crowd.manager.directory.DirectoryManager directoryManager, Set<com.atlassian.crowd.embedded.api.DirectoryType> includedDirectoryTypes)
protected boolean isImportableDirectory(com.atlassian.crowd.embedded.api.Directory directory)
directory
- the directory to be importedprotected List<com.atlassian.crowd.embedded.api.Directory> findAllExportableDirectories()
protected boolean isExportOfNonLocalGroupsRequired(com.atlassian.crowd.embedded.api.DirectoryType directoryType)
directoryType
- a directory typeCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.