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) |
Object |
handleToObject(TransientHibernateHandle handle)
Deprecated.
since 5.0. Use Object handleToObject(ExportHibernateHandle) instead
|
<T> com.google.common.base.Function<T,TransientHibernateHandle> |
idToHandle(Class<?> clazz) |
com.google.common.base.Function<Long,TransientHibernateHandle> |
idToHandleFunction(Class<Notification> notificationClass)
Deprecated.
Since 5.3. Use
idToHandle(Class) |
TransientHibernateHandle |
objectOrHandleToHandle(Object object) |
Object |
objectOrHandleToObject(Object object) |
com.google.common.base.Function<Object,TransientHibernateHandle> |
objectToHandle() |
TransientHibernateHandle |
objectToHandle(Object object) |
public HibernateObjectHandleTranslator(org.hibernate.Session session)
public TransientHibernateHandle objectOrHandleToHandle(Object object)
objectOrHandleToHandle in interface com.atlassian.hibernate.extras.HibernateTranslatorpublic Object objectOrHandleToObject(Object object)
objectOrHandleToObject in interface com.atlassian.hibernate.extras.HibernateTranslatorpublic TransientHibernateHandle objectToHandle(Object object)
objectToHandle in interface com.atlassian.hibernate.extras.HibernateTranslatorpublic com.google.common.base.Function<Object,TransientHibernateHandle> objectToHandle()
public Object handleToObject(com.atlassian.hibernate.extras.ExportHibernateHandle handle)
handleToObject in interface com.atlassian.hibernate.extras.HibernateTranslator@Deprecated public Object handleToObject(TransientHibernateHandle handle)
@Deprecated public com.google.common.base.Function<Long,TransientHibernateHandle> idToHandleFunction(Class<Notification> notificationClass)
idToHandle(Class)public <T> com.google.common.base.Function<T,TransientHibernateHandle> idToHandle(Class<?> clazz)
Copyright © 2003–2019 Atlassian. All rights reserved.