Package | Description |
---|---|
com.atlassian.confluence.core.persistence.hibernate | |
com.atlassian.confluence.importexport | |
com.atlassian.confluence.importexport.impl | |
com.atlassian.confluence.importexport.xmlimport |
Imports Confluence data from an XML backup.
|
com.atlassian.confluence.importexport.xmlimport.persister |
Modifier and Type | Method and Description |
---|---|
List<TransientHibernateHandle> |
HibernateAnyTypeDao.findAllPersistentObjectsHibernateHandles() |
List<TransientHibernateHandle> |
ExporterAnyTypeDao.findAllPersistentObjectsHibernateHandles()
Finds handles for all persistent objects.
|
Modifier and Type | Method and Description |
---|---|
Collection<TransientHibernateHandle> |
ImportProcessorSummary.getImportedObjectHandlesOfType(Class clazz) |
Set<TransientHibernateHandle> |
ImportProcessorSummary.getPersistedMappedHandles() |
Set<TransientHibernateHandle> |
ImportProcessorSummary.getPersistedUnmappedHandles() |
Modifier and Type | Method and Description |
---|---|
Object |
ImportProcessorSummary.getIdMappingFor(TransientHibernateHandle handle) |
Modifier and Type | Method and Description |
---|---|
TransientHibernateHandle |
HibernateObjectHandleTranslator.objectOrHandleToHandle(Object object) |
TransientHibernateHandle |
HibernateObjectHandleTranslator.objectToHandle(Object object) |
Modifier and Type | Method and Description |
---|---|
protected List<TransientHibernateHandle> |
XmlExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected List<TransientHibernateHandle> |
BackupExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
protected abstract List<TransientHibernateHandle> |
AbstractXmlExporter.getHandlesOfObjectsForExport(HibernateObjectHandleTranslator translator,
net.sf.hibernate.Session session) |
<T> com.google.common.base.Function<T,TransientHibernateHandle> |
HibernateObjectHandleTranslator.idToHandle(Class<?> clazz) |
com.google.common.base.Function<Long,TransientHibernateHandle> |
HibernateObjectHandleTranslator.idToHandleFunction(Class<Notification> notificationClass)
Deprecated.
Since 5.3. Use
HibernateObjectHandleTranslator.idToHandle(Class) |
com.google.common.base.Function<Object,TransientHibernateHandle> |
HibernateObjectHandleTranslator.objectToHandle() |
Modifier and Type | Method and Description |
---|---|
Object |
HibernateObjectHandleTranslator.handleToObject(TransientHibernateHandle handle)
Deprecated.
since 5.0. Use Object handleToObject(ExportHibernateHandle) instead
|
Constructor and Description |
---|
CollectionUpdateOperation(ImportProcessorContext context,
TransientHibernateHandle collectionOwnerKey,
String collectionName,
TransientHibernateHandle memberKey) |
ObjectUpdateOperation(ImportProcessorContext context,
TransientHibernateHandle objectHandle,
String propertyName,
TransientHibernateHandle propertyValueHandle) |
Constructor and Description |
---|
StackPushOperation(Stack<ImportedObject> pendingDeferredImportedObjects,
Set<TransientHibernateHandle> unsatisfiedObjectDependencies,
ImportedObject importedObject) |
Modifier and Type | Method and Description |
---|---|
Collection<TransientHibernateHandle> |
ImportProcessorContext.getImportedObjectHandlesOfType(Class clazz)
Get handles for all objects of a particular class that were imported.
|
Set<TransientHibernateHandle> |
ImportProcessorContext.getPersistedMappedHandles() |
Set<TransientHibernateHandle> |
ImportProcessorContext.getPersistedUnmappedHandles() |
List<TransientHibernateHandle> |
ObjectPersister.persist(ImportProcessorContext context,
ImportedObject object)
Persist a given imported object.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportProcessorContext.addExplicitIdMapping(TransientHibernateHandle transientHibernateHandle,
Serializable mappedId) |
void |
DeferredOperations.doDeferredOperationsWaitingFor(TransientHibernateHandle key) |
protected boolean |
BackupImporter.doSpecialProcessing(net.sf.hibernate.Session session,
TransientHibernateHandle key) |
Serializable |
ImportProcessorContext.getIdMappingFor(TransientHibernateHandle handle) |
boolean |
ImportProcessorContext.isObjectAlreadyImported(TransientHibernateHandle key)
Has an object with this type and ID already been imported? Checks against all the handles that have
been recorded by
ImportProcessorContext.objectImported(com.atlassian.confluence.core.persistence.hibernate.TransientHibernateHandle) . |
Object |
ImportProcessorContext.lookupObjectByUnfixedHandle(TransientHibernateHandle key)
Find a previously imported object by the ID as it appeared in the backup file, even if it has since been
assigned a new ID.
|
void |
ImportProcessorContext.objectImported(TransientHibernateHandle handle)
Record that a particular object has been successfully persisted.
|
Modifier and Type | Method and Description |
---|---|
void |
DeferredOperations.addDeferredOperation(PrimitiveId idProperty,
Set<TransientHibernateHandle> waitingFor,
Operation operation) |
void |
ImportProcessorContext.addUnsatisfiedObjectDependencies(Set<TransientHibernateHandle> unsatisfiedObjectDependencies,
ImportedObject importedObject)
Defer the saving of an object because it has referential dependencies on some objects that have not yet been
imported, but that can not be temporarily left null.
|
void |
ImportProcessorContext.deferOperations(Map<TransientHibernateHandle,Set<Operation>> operations)
Deprecated.
since 5.2 Use
ImportProcessorContext.deferOperations(PrimitiveId, Map) |
void |
ImportProcessorContext.deferOperations(PrimitiveId idProperty,
Map<TransientHibernateHandle,Set<Operation>> operations)
Defer a set of operations until the objects they require have been imported.
|
void |
DeferredOperationsLogger.logNewDeferredOperation(PrimitiveId idProperty,
Set<TransientHibernateHandle> waitingFor,
Operation operation) |
Constructor and Description |
---|
OperationSet(Set<TransientHibernateHandle> waitingFor) |
Modifier and Type | Field and Description |
---|---|
protected Set<TransientHibernateHandle> |
AbstractObjectPersister.unsatisfiedObjectDependencies |
Modifier and Type | Method and Description |
---|---|
TransientHibernateHandle |
PersisterOperations.readId(Class clazz,
String idString,
net.sf.hibernate.persister.ClassPersister persister) |
Modifier and Type | Method and Description |
---|---|
List<TransientHibernateHandle> |
ReflectiveObjectPersister.persist(ImportProcessorContext context,
ImportedObject importedObject) |
List<TransientHibernateHandle> |
PropertySetItemPersister.persist(ImportProcessorContext context,
ImportedObject object) |
List<TransientHibernateHandle> |
HibernateMembershipPersister.persist(ImportProcessorContext context,
ImportedObject importedObject) |
List<TransientHibernateHandle> |
HibernateKeyPersister.persist(ImportProcessorContext context,
ImportedObject object) |
List<TransientHibernateHandle> |
HibernateContentPermissionPersister.persist(ImportProcessorContext context,
ImportedObject importedObject) |
Copyright © 2003–2016 Atlassian. All rights reserved.