Class HibernateObjectHandleTranslator
- java.lang.Object
-
- com.atlassian.confluence.importexport.impl.HibernateObjectHandleTranslator
-
- All Implemented Interfaces:
HibernateTranslator
public class HibernateObjectHandleTranslator extends Object implements HibernateTranslator
Creates TransientHibernateHandles to represent Hibernate objects
-
-
Constructor Summary
Constructors Constructor Description HibernateObjectHandleTranslator(org.hibernate.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
handleToObject(ExportHibernateHandle handle)
<T> com.google.common.base.Function<T,TransientHibernateHandle>
idToHandle(Class<?> clazz)
Deprecated.since 7.0.1.com.google.common.base.Function<Long,TransientHibernateHandle>
idToHandleFunction(Class<Notification> notificationClass)
Deprecated.Since 5.3.<T> Function<T,TransientHibernateHandle>
idToHandleTransformer(Class<?> clazz)
TransientHibernateHandle
objectOrHandleToHandle(Object object)
Object
objectOrHandleToObject(Object object)
com.google.common.base.Function<Object,TransientHibernateHandle>
objectToHandle()
Deprecated.since 7.0.1.TransientHibernateHandle
objectToHandle(Object object)
-
-
-
Method Detail
-
objectOrHandleToHandle
public TransientHibernateHandle objectOrHandleToHandle(Object object)
- Specified by:
objectOrHandleToHandle
in interfaceHibernateTranslator
-
objectOrHandleToObject
public Object objectOrHandleToObject(Object object)
- Specified by:
objectOrHandleToObject
in interfaceHibernateTranslator
-
objectToHandle
public TransientHibernateHandle objectToHandle(Object object)
- Specified by:
objectToHandle
in interfaceHibernateTranslator
-
objectToHandle
@Deprecated public com.google.common.base.Function<Object,TransientHibernateHandle> objectToHandle()
Deprecated.since 7.0.1. UseobjectToHandle(Object)
-
handleToObject
public Object handleToObject(ExportHibernateHandle handle)
- Specified by:
handleToObject
in interfaceHibernateTranslator
-
idToHandleFunction
@Deprecated public com.google.common.base.Function<Long,TransientHibernateHandle> idToHandleFunction(Class<Notification> notificationClass)
Deprecated.Since 5.3. UseidToHandleTransformer(Class)
-
idToHandle
@Deprecated public <T> com.google.common.base.Function<T,TransientHibernateHandle> idToHandle(Class<?> clazz)
Deprecated.since 7.0.1. UseidToHandleTransformer(Class)
- Since:
- 5.3
-
idToHandleTransformer
public <T> Function<T,TransientHibernateHandle> idToHandleTransformer(Class<?> clazz)
- Since:
- 7.0.1
-
-