Class AliasedKeyDatabaseDataConverter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.backup.exporters.converters.AbstractDatabaseDataConverter
-
- com.atlassian.confluence.impl.backuprestore.backup.exporters.converters.AliasedKeyDatabaseDataConverter
-
- All Implemented Interfaces:
Converter
public class AliasedKeyDatabaseDataConverter extends AbstractDatabaseDataConverter
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.impl.backuprestore.backup.exporters.converters.AbstractDatabaseDataConverter
hibernateMetadataHelper
-
-
Constructor Summary
Constructors Constructor Description AliasedKeyDatabaseDataConverter(ExportableEntityInfo entityInfo, HibernateMetadataHelper hibernateMetadataHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EntityObjectReadyForExport
convertToObjectReadyForSerialisation(DbRawObjectData dbObject)
Converts db object into object ready for serialisationprotected Class<?>
getHibernateEntityClass(Map<String,Object> objectProperties)
-
Methods inherited from class com.atlassian.confluence.impl.backuprestore.backup.exporters.converters.AbstractDatabaseDataConverter
addExternalReferenceToObject, calculateReferencedClass, convertToBoolean, convertToInteger, convertToLong, convertToObjectReadyForSerialisationImpl, convertToObjectsReadyForSerialisation, getContentClassByContentType, getEntityInfo, getEntityInfo
-
-
-
-
Constructor Detail
-
AliasedKeyDatabaseDataConverter
public AliasedKeyDatabaseDataConverter(ExportableEntityInfo entityInfo, HibernateMetadataHelper hibernateMetadataHelper)
-
-
Method Detail
-
getHibernateEntityClass
protected Class<?> getHibernateEntityClass(Map<String,Object> objectProperties)
- Specified by:
getHibernateEntityClass
in classAbstractDatabaseDataConverter
- Returns:
- the java class associated with the entity
-
convertToObjectReadyForSerialisation
protected EntityObjectReadyForExport convertToObjectReadyForSerialisation(DbRawObjectData dbObject)
Description copied from class:AbstractDatabaseDataConverter
Converts db object into object ready for serialisation- Specified by:
convertToObjectReadyForSerialisation
in classAbstractDatabaseDataConverter
- Parameters:
dbObject
- Raw db object data that should be converted- Returns:
- Object that is ready for export
-
-