Class AncestorsEntityInfo
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.hibernate.AncestorsEntityInfo
-
- All Implemented Interfaces:
ExportableEntityInfo
public class AncestorsEntityInfo extends Object implements ExportableEntityInfo
Custom entity info for CONFANCESTORS table. We need it because Hibernate does not have the entity for this table. Note: it has to be removed when CONFANCESTORS table is removed.- Since:
- 8.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AncestorsEntityInfo.EntityClass
We do not have a dedicated class for ancestors, so we use this fake class basically for logging or methods like equals etc
-
Constructor Summary
Constructors Constructor Description AncestorsEntityInfo(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDiscriminatorColumnName()
Object
getDiscriminatorValue()
Class<?>
getEntityClass()
List<HibernateField>
getFields()
org.hibernate.type.Type
getHibernateTypeByFieldName(String propertyName)
HibernateField
getId()
org.hibernate.id.IdentifierGenerator
getIdentifierGenerator()
String
getTableName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.impl.backuprestore.hibernate.ExportableEntityInfo
getAllExternalReferences, getPersistableFields
-
-
-
-
Method Detail
-
getId
public HibernateField getId()
- Specified by:
getId
in interfaceExportableEntityInfo
-
getDiscriminatorColumnName
public String getDiscriminatorColumnName()
- Specified by:
getDiscriminatorColumnName
in interfaceExportableEntityInfo
-
getDiscriminatorValue
public Object getDiscriminatorValue()
- Specified by:
getDiscriminatorValue
in interfaceExportableEntityInfo
-
getIdentifierGenerator
public org.hibernate.id.IdentifierGenerator getIdentifierGenerator()
- Specified by:
getIdentifierGenerator
in interfaceExportableEntityInfo
-
getHibernateTypeByFieldName
public org.hibernate.type.Type getHibernateTypeByFieldName(String propertyName)
- Specified by:
getHibernateTypeByFieldName
in interfaceExportableEntityInfo
-
getFields
public List<HibernateField> getFields()
- Specified by:
getFields
in interfaceExportableEntityInfo
-
getTableName
public String getTableName()
- Specified by:
getTableName
in interfaceExportableEntityInfo
-
getEntityClass
public Class<?> getEntityClass()
- Specified by:
getEntityClass
in interfaceExportableEntityInfo
-
-