bucket.core.persistence.hibernate.schema
Class TransientHibernateHandle

java.lang.Object
  extended by bucket.core.persistence.hibernate.schema.TransientHibernateHandle
All Implemented Interfaces:
com.atlassian.bonnie.Handle, Serializable
Direct Known Subclasses:
TransientHibernateHandle

Deprecated. since Confluence 4.2 this has been moved to com.atlassian.confluence.core.persistence.hibernate.TransientHibernateHandle, which currently extends this class.

@Deprecated
public class TransientHibernateHandle
extends Object
implements com.atlassian.bonnie.Handle

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 persisten objects while using less memory.

See Also:
Serialized Form

Constructor Summary
TransientHibernateHandle(Class clazz, Object id)
          Deprecated.  
TransientHibernateHandle(net.sf.hibernate.Session session, Object object)
          Deprecated.  
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
 Object get(net.sf.hibernate.Session session)
          Deprecated.  
 Class getClazz()
          Deprecated.  
 Serializable getId()
          Deprecated.  
 int hashCode()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientHibernateHandle

public TransientHibernateHandle(Class clazz,
                                Object id)
Deprecated. 

TransientHibernateHandle

public TransientHibernateHandle(net.sf.hibernate.Session session,
                                Object object)
Deprecated. 
Method Detail

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

getId

public Serializable getId()
Deprecated. 

getClazz

public Class getClazz()
Deprecated. 

get

public Object get(net.sf.hibernate.Session session)
           throws net.sf.hibernate.HibernateException
Deprecated. 
Throws:
net.sf.hibernate.HibernateException

toString

public String toString()
Deprecated. 
Specified by:
toString in interface com.atlassian.bonnie.Handle
Overrides:
toString in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.