com.atlassian.confluence.importexport.impl
Class HibernateObjectHandleTranslator
java.lang.Object
com.atlassian.confluence.importexport.impl.HibernateObjectHandleTranslator
- All Implemented Interfaces:
- com.atlassian.hibernate.extras.HibernateTranslator
public class HibernateObjectHandleTranslator
- extends Object
- implements com.atlassian.hibernate.extras.HibernateTranslator
Creates TransientHibernateHandles to represent Hibernate objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateObjectHandleTranslator
public HibernateObjectHandleTranslator(net.sf.hibernate.Session session)
objectOrHandleToHandle
public TransientHibernateHandle objectOrHandleToHandle(Object object)
- Specified by:
objectOrHandleToHandle
in interface com.atlassian.hibernate.extras.HibernateTranslator
objectOrHandleToObject
public Object objectOrHandleToObject(Object object)
- Specified by:
objectOrHandleToObject
in interface com.atlassian.hibernate.extras.HibernateTranslator
objectToHandle
public TransientHibernateHandle objectToHandle(Object object)
- Specified by:
objectToHandle
in interface com.atlassian.hibernate.extras.HibernateTranslator
handleToObject
public Object handleToObject(com.atlassian.hibernate.extras.ExportHibernateHandle handle)
- Specified by:
handleToObject
in interface com.atlassian.hibernate.extras.HibernateTranslator
handleToObject
@Deprecated
public Object handleToObject(TransientHibernateHandle handle)
- Deprecated. since 5.0. Use Object handleToObject(ExportHibernateHandle) instead
idToHandleFunction
public com.google.common.base.Function<Long,TransientHibernateHandle> idToHandleFunction(Class<Notification> notificationClass)
Copyright © 2003-2013 Atlassian. All Rights Reserved.