public class HibernateObjectHandleTranslator extends Object implements com.atlassian.hibernate.extras.HibernateTranslator
Constructor and Description |
---|
HibernateObjectHandleTranslator(org.hibernate.Session session) |
Modifier and Type | Method and Description |
---|---|
Object |
handleToObject(com.atlassian.hibernate.extras.ExportHibernateHandle handle) |
<T> com.google.common.base.Function<T,TransientHibernateHandle> |
idToHandle(Class<?> clazz)
Deprecated.
since 7.0.1. Use
idToHandleTransformer(Class) |
com.google.common.base.Function<Long,TransientHibernateHandle> |
idToHandleFunction(Class<Notification> notificationClass)
Deprecated.
Since 5.3. Use
idToHandleTransformer(Class) |
<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. Use
objectToHandle(Object) |
TransientHibernateHandle |
objectToHandle(Object object) |
public HibernateObjectHandleTranslator(org.hibernate.Session session)
public TransientHibernateHandle objectOrHandleToHandle(Object object)
objectOrHandleToHandle
in interface com.atlassian.hibernate.extras.HibernateTranslator
public Object objectOrHandleToObject(Object object)
objectOrHandleToObject
in interface com.atlassian.hibernate.extras.HibernateTranslator
public TransientHibernateHandle objectToHandle(Object object)
objectToHandle
in interface com.atlassian.hibernate.extras.HibernateTranslator
@Deprecated public com.google.common.base.Function<Object,TransientHibernateHandle> objectToHandle()
objectToHandle(Object)
public Object handleToObject(com.atlassian.hibernate.extras.ExportHibernateHandle handle)
handleToObject
in interface com.atlassian.hibernate.extras.HibernateTranslator
@Deprecated public com.google.common.base.Function<Long,TransientHibernateHandle> idToHandleFunction(Class<Notification> notificationClass)
idToHandleTransformer(Class)
@Deprecated public <T> com.google.common.base.Function<T,TransientHibernateHandle> idToHandle(Class<?> clazz)
idToHandleTransformer(Class)
public <T> Function<T,TransientHibernateHandle> idToHandleTransformer(Class<?> clazz)
Copyright © 2003–2020 Atlassian. All rights reserved.