| 
 | Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.toplink.publicinterface.Session
oracle.toplink.publicinterface.Session
       oracle.toplink.remote.DistributedSession
oracle.toplink.remote.DistributedSession
Purpose: Super class to all remote client session's.
| Field Summary | 
| Fields inherited from interface oracle.toplink.remotecommand.CommandProcessor | 
| LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING | 
| Constructor Summary | |
| DistributedSession(oracle.toplink.internal.remote.RemoteConnection remoteConnection)PUBLIC: Creates a DistributedSession. | |
| Method Summary | |
| abstract oracle.toplink.publicinterface.UnitOfWork | acquireUnitOfWork()PUBLIC: Return a unit of work for this session. | 
| void | beginTransaction()PUBLIC: Start a transaction on the server. | 
| void | commitTransaction()PUBLIC: Commit a transaction on the server. | 
| abstract java.lang.Object | executeQuery(DatabaseQuery query)Execute the database query. | 
| java.lang.Object | executeQuery(java.lang.String queryName)PUBLIC: Execute the pre-defined query by name and return the result. | 
| java.lang.Object | executeQuery(java.lang.String queryName, java.lang.Class domainClass)PUBLIC: Execute the pre-defined query by name and return the result. | 
| java.lang.Object | executeQuery(java.lang.String queryName, java.lang.Class domainClass, java.util.Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result. | 
| java.lang.Object | executeQuery(java.lang.String queryName, java.util.Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result. | 
| void | initializeAllIdentityMaps()Reset the entire object cache. | 
| boolean | isConnected()PUBLIC: Return if this session is connected. | 
| void | release()PUBLIC: Logout the session, close the remote connection and release the hold resources | 
| void | rollbackTransaction()PUBLIC: Rollback a transaction on the server. | 
| java.lang.String | toString()PUBLIC: Avoid printing the accessor and platform. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public DistributedSession(oracle.toplink.internal.remote.RemoteConnection remoteConnection)
remoteConnection - remote session requires a remote connection. This must be accessed remotely from the client through RMI or CORBA.| Method Detail | 
public abstract oracle.toplink.publicinterface.UnitOfWork acquireUnitOfWork()
acquireUnitOfWork in interface SessionacquireUnitOfWork in class oracle.toplink.publicinterface.SessionUnitOfWorkpublic void beginTransaction()
beginTransaction in class oracle.toplink.publicinterface.SessionSession.isInTransaction()public void commitTransaction()
commitTransaction in class oracle.toplink.publicinterface.Session
public java.lang.Object executeQuery(java.lang.String queryName)
                              throws DatabaseException
executeQuery in interface SessionexecuteQuery in class oracle.toplink.publicinterface.SessionDatabaseExceptionSession.addQuery(String, DatabaseQuery)
public java.lang.Object executeQuery(java.lang.String queryName,
                                     java.lang.Class domainClass)
                              throws DatabaseException
executeQuery in interface SessionexecuteQuery in class oracle.toplink.publicinterface.SessionDatabaseExceptionDescriptorQueryManager.addQuery(String, DatabaseQuery)
public java.lang.Object executeQuery(java.lang.String queryName,
                                     java.lang.Class domainClass,
                                     java.util.Vector argumentValues)
                              throws DatabaseException
executeQuery in interface SessionexecuteQuery in class oracle.toplink.publicinterface.SessionDatabaseExceptionDescriptorQueryManager.addQuery(String, DatabaseQuery)
public java.lang.Object executeQuery(java.lang.String queryName,
                                     java.util.Vector argumentValues)
                              throws DatabaseException
executeQuery in interface SessionexecuteQuery in class oracle.toplink.publicinterface.SessionDatabaseExceptionSession.addQuery(String, DatabaseQuery)public abstract java.lang.Object executeQuery(DatabaseQuery query)
executeQuery in interface SessionexecuteQuery in class oracle.toplink.publicinterface.SessionDatabaseQuerypublic void initializeAllIdentityMaps()
initializeAllIdentityMaps in interface SessioninitializeAllIdentityMaps in class oracle.toplink.publicinterface.Sessionpublic boolean isConnected()
isConnected in interface SessionisConnected in class oracle.toplink.publicinterface.Sessionpublic void rollbackTransaction()
rollbackTransaction in class oracle.toplink.publicinterface.Sessionpublic java.lang.String toString()
toString in class oracle.toplink.publicinterface.Sessionpublic void release()
release in interface Sessionrelease in class oracle.toplink.publicinterface.Session| 
 |  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||