Class TransientHibernateHandle
- java.lang.Object
-
- com.atlassian.confluence.core.persistence.hibernate.TransientHibernateHandle
-
- All Implemented Interfaces:
Handle
,ExportHibernateHandle
,Serializable
@Deprecated public class TransientHibernateHandle extends Object implements Handle, ExportHibernateHandle
Deprecated.since 8.0.0This handle implementation cannot be converted to a String. It is intended to be used in memory during long transactions to maintain large collections of persistent objects while using less memory. This would be temporarily available to support legacy import export and removed in 8.0. This handle implementation cannot be converted to a String. It is intended to be used in memory during long transactions to maintain large collections of persistent objects while using less memory.- Since:
- 8.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransientHibernateHandle(Class clazz, Object id)
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternativeTransientHibernateHandle(org.hibernate.Session session, Object object)
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TransientHibernateHandle
create(Class clazz, Serializable id)
Deprecated.boolean
equals(Object obj)
Deprecated.Object
get(org.hibernate.Session session)
Deprecated.Class
getClazz()
Deprecated.Serializable
getId()
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.ThetoString()
method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object
-
-
-
Field Detail
-
storage
protected final Object storage
Deprecated.
-
-
Constructor Detail
-
TransientHibernateHandle
@Deprecated public TransientHibernateHandle(Class clazz, Object id)
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative
-
TransientHibernateHandle
@Deprecated public TransientHibernateHandle(org.hibernate.Session session, Object object)
Deprecated.since 6.0 Use TransientHibernateHandle.create as an alternative
-
-
Method Detail
-
create
public static TransientHibernateHandle create(Class clazz, Serializable id)
Deprecated.
-
getClazz
public Class getClazz()
Deprecated.- Specified by:
getClazz
in interfaceExportHibernateHandle
-
getId
public Serializable getId()
Deprecated.
-
get
public Object get(org.hibernate.Session session)
Deprecated.- Specified by:
get
in interfaceExportHibernateHandle
-
-