|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.model.mem.DataRow
com.sibvisions.rad.model.mem.ChangeableDataRow
com.sibvisions.rad.model.mem.MemDataBook
com.sibvisions.rad.model.remote.RemoteDataBook
com.sibvisions.rad.persist.StorageDataBook
public class StorageDataBook
The StorageDataBook is a RemoteDataBook directly connected to an IStorage.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.rad.model.IDataBook |
|---|
IDataBook.SelectionMode, IDataBook.WriteBackIsolationLevel |
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.model.mem.MemDataBook |
|---|
bMemFilter, bMemSort, rowInstance1, rowInstance2 |
| Fields inherited from class com.sibvisions.rad.model.mem.ChangeableDataRow |
|---|
DELETING, DETAILS_CHANGED, INSERTING, INTERNAL_OFFSET, UPDATING, WRITABLE_COLUMN_CHANGED |
| Fields inherited from class com.sibvisions.rad.model.mem.DataRow |
|---|
oaStorage, rdRowDefinition |
| Constructor Summary | |
|---|---|
StorageDataBook()
Creates a new instance of StorageDataBook. |
|
StorageDataBook(IStorage pStorage)
Creates a new instance of StorageDataBook for the given storage. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the IDataBook. |
IStorage |
getStorageImpl()
Gets the configured storage implementation. |
void |
open()
Opens the IDataBook. |
void |
setDataSource(IDataSource pDataSource)
Sets the IDataSource for this IDataBook. |
void |
setName(String pName)
Set the name of the IDataBook. |
void |
setStorageImpl(IStorage pStorage)
Sets the storage implementation which should be used to access data. |
| Methods inherited from class com.sibvisions.rad.model.mem.ChangeableDataRow |
|---|
restore, setDeleting, setDetailChanged, setInserting, setUID, setUpdating, setValueIntern |
| Methods inherited from class com.sibvisions.rad.model.mem.DataRow |
|---|
compareTo, compareTo, createDataRow, createEmptyRow, equals, equals, eventValuesChanged, eventValuesChanged, getControls, getValue, getValueAsString, getValuesAsString, hashCode, invokeCancelEditingControls, invokeRepaintListeners, invokeSaveEditingControls, removeControl, setDefaultValues, setValuesIntern |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.model.IDataRow |
|---|
compareTo, createDataRow, createEmptyRow, equals, eventValuesChanged, eventValuesChanged, getControls, getValue, getValueAsString, getValuesAsString, removeControl |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public StorageDataBook()
StorageDataBook.
public StorageDataBook(IStorage pStorage)
StorageDataBook for the given storage.
pStorage - the storage| Method Detail |
|---|
public void open()
throws ModelException
IDataBook. AbstractStorage oriented implementations should open
the storage (DB, XML, File) and load the Meta data/defaulting
the RowDefinition.
open in interface IDataBookopen in class RemoteDataBookModelException - if the IDataBook couldn't be opened, because of
empty storage unit name, empty IDataSource,
missing RowDefinition or failed DataPage creationpublic void close()
IDataBook. AbstractStorage oriented implementations should close
the storage (DB, XML, file).
close in interface IDataBookclose in class RemoteDataBookpublic void setName(String pName)
IDataBook.
setName in interface IDataBooksetName in interface INamedObjectsetName in class MemDataBookpName - IDataBook namepublic void setDataSource(IDataSource pDataSource)
IDataSource for this IDataBook.IDataSource defines the access to the storage like DB, XML, ...
setDataSource in interface IDataBooksetDataSource in class RemoteDataBookpDataSource - the IDataSource to use for load/save dataIDataSourcepublic void setStorageImpl(IStorage pStorage)
pStorage - the storagepublic IStorage getStorageImpl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||