org.neodatis.odb.core.transaction
Interface ISession

All Superinterfaces:
java.util.Observer
All Known Implementing Classes:
ClientSession, LocalSession, ServerSession, Session

public interface ISession
extends java.util.Observer


Method Summary
 void addObjectToCache(OID oid, java.lang.Object object, ObjectInfoHeader oih)
          Add these information on a session cache.
 void clear()
           
 void clearCache()
           
 void close()
           
 void commit()
           
 java.lang.String getBaseIdentification()
           
 ICache getCache()
           
 java.lang.String getId()
           
 MetaModel getMetaModel()
           
 IStorageEngine getStorageEngine()
           
 ITmpCache getTmpCache()
           
 ITransaction getTransaction()
           
 boolean isRollbacked()
           
 void removeObjectFromCache(java.lang.Object object)
           
 void rollback()
           
 void setFileSystemInterfaceToApplyTransaction(IFileSystemInterface fsi)
           
 void setId(java.lang.String id)
           
 void setMetaModel(MetaModel metaModel2)
           
 boolean transactionIsPending()
           
 
Methods inherited from interface java.util.Observer
update
 

Method Detail

getCache

ICache getCache()

getTmpCache

ITmpCache getTmpCache()

rollback

void rollback()

close

void close()

clearCache

void clearCache()

isRollbacked

boolean isRollbacked()

clear

void clear()

getStorageEngine

IStorageEngine getStorageEngine()

transactionIsPending

boolean transactionIsPending()

commit

void commit()

getTransaction

ITransaction getTransaction()

setFileSystemInterfaceToApplyTransaction

void setFileSystemInterfaceToApplyTransaction(IFileSystemInterface fsi)

getBaseIdentification

java.lang.String getBaseIdentification()

getMetaModel

MetaModel getMetaModel()

setMetaModel

void setMetaModel(MetaModel metaModel2)

getId

java.lang.String getId()

setId

void setId(java.lang.String id)

removeObjectFromCache

void removeObjectFromCache(java.lang.Object object)

addObjectToCache

void addObjectToCache(OID oid,
                      java.lang.Object object,
                      ObjectInfoHeader oih)
Add these information on a session cache.

Parameters:
oid. - This parameter can not be null
object. - This parameter can not be null
oih. - This parameter can not be null