com.intersys.classes
Interface ObjectHandle

All Known Implementing Classes:
AbstractCacheArray, AbstractCacheList, CacheRootObject, RelationshipObject

public interface ObjectHandle

ObjectHandle.java Created: Fri Oct 12 04:46:21 2001


Method Summary
 String _className()
           
 String _className(Boolean fullname)
           
 void _close()
          Deprecated. To close object myObject Use Database.closeObject(myObject.getZRef()) instead. This method does not exactly what can be expected from it, because it closes and makes invalid all instances of objects which refer to particular object reference. Therefore it's use is dangerous.
 Integer _isModified()
           
 void _normalizeObject()
           
 String _packageName()
           
 void _validateObject()
           
 void _validateObject(Integer force)
           
 Database getDatabase()
           
 int getOref()
           
 com.intersys.cache.CacheObject getProxy()
           
 Object getZRef()
           
 

Method Detail

getOref

public int getOref()
            throws ObjectClosedException
Throws:
ObjectClosedException

getZRef

public Object getZRef()
               throws CacheException
Throws:
CacheException

getProxy

public com.intersys.cache.CacheObject getProxy()
                                        throws CacheException
Throws:
CacheException

getDatabase

public Database getDatabase()

_close

public void _close()
            throws CacheException
Deprecated. To close object myObject Use Database.closeObject(myObject.getZRef()) instead. This method does not exactly what can be expected from it, because it closes and makes invalid all instances of objects which refer to particular object reference. Therefore it's use is dangerous.

Throws:
CacheException
See Also:
Database.closeObject(java.lang.Object)

_className

public String _className()
                  throws CacheException
Throws:
CacheException

_className

public String _className(Boolean fullname)
                  throws CacheException
Throws:
CacheException

_isModified

public Integer _isModified()
                    throws CacheException
Throws:
CacheException

_normalizeObject

public void _normalizeObject()
                      throws CacheException
Throws:
CacheException

_packageName

public String _packageName()
                    throws CacheException
Throws:
CacheException

_validateObject

public void _validateObject()
                     throws CacheException
Throws:
CacheException

_validateObject

public void _validateObject(Integer force)
                     throws CacheException
Throws:
CacheException