|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.model.mem.MemDataSource
com.sibvisions.rad.model.remote.RemoteDataSource
public class RemoteDataSource
The RemoteDataSource is a remote DataSource for all RemoteDataBook's,
which uses a connection to the server to forward the storage operation to server objects.
RemoteDataBook,
MemDataSource| Constructor Summary | |
|---|---|
RemoteDataSource()
It constructs a new RemoteDataSource. |
|
RemoteDataSource(AbstractConnection pConnection)
It constructs a new RemoteDataSource with the given AbstractConnection. |
|
| Method Summary | |
|---|---|
AbstractConnection |
getConnection()
Returns the AbstractConnection to the server IStorage object. |
static MetaData |
getMetaData(String pKey)
Returns the column meta data from the client cache. |
void |
open()
It opens the IDataSource. |
static void |
putMetaData(String pKey,
MetaData pMetaData)
Puts the column meta data to the client cache. |
void |
setConnection(AbstractConnection pConnection)
Sets the AbstractConnection to the server IStorage object. |
| Methods inherited from class com.sibvisions.rad.model.mem.MemDataSource |
|---|
addDataBook, close, finalize, getDataBooks, getWritebackIsolationLevel, isOpen, reloadAllDataBooks, removeDataBook, restoreAllDataBooks, saveAllDataBooks, setWritebackIsolationLevel, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDataSource()
public RemoteDataSource(AbstractConnection pConnection)
pConnection - the AbstractConnection to use for the communication to the server.| Method Detail |
|---|
public void open()
throws ModelException
open in interface IDataSourceopen in class MemDataSourceModelException - if the open dosn't work out.public AbstractConnection getConnection()
public void setConnection(AbstractConnection pConnection)
pConnection - the AbstractConnection to setpublic static MetaData getMetaData(String pKey)
pKey - is the AbstractConnection.getLifeCacleName() + RemoteDataBook.getName()
MetaData[] from the client cache
public static void putMetaData(String pKey,
MetaData pMetaData)
pKey - is the AbstractConnection.getLifeCacleName() + RemoteDataBook.getName()pMetaData - the MetaData[] to cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||