|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataSource
The IDataSource is a storage independent way to access table oriented
data, or any data that can be approximately represented as table.
IDataBook| Method Detail |
|---|
void open()
throws ModelException
IDataSource so that it can be used. Only an open
IDataSource can be used.
Implementing classes should perform their set up work here.
ModelException - if there was an error during opening.close(),
isOpen()boolean isOpen()
IDataSource is open.
Only an open IDataSource is a usable IDataSource.
true if this IDataSource is open.open()void close()
IDataSource. A closed IDataSource can no
longer be used, however it can always be reopened.
Implementing classes should perform their clean up work here. It closes the IDataSource and all its IDataBooks.
isOpen(),
open()
void saveAllDataBooks()
throws ModelException
added
IDataBooks by invoking IDataBook.saveAllRows().
ModelException - if the changes could not be saved.reloadAllDataBooks(),
restoreAllDataBooks(),
IDataBook.saveAllRows()
void reloadAllDataBooks()
throws ModelException
added IDataBooks by
invoking IDataBook.reload().
ModelException - if the IDataBooks could not be reloaded.restoreAllDataBooks(),
saveAllDataBooks(),
IDataBook.reload()
void restoreAllDataBooks()
throws ModelException
added IDataBooks by
invoking IDataBook.restoreAllRows().
ModelException - if the IDataBooks could not be restored.reloadAllDataBooks(),
saveAllDataBooks(),
IDataBook.restoreAllRows()void addDataBook(IDataBook pDataBook)
IDataBook.
pDataBook - the IDataBook to add.void removeDataBook(IDataBook pDataBook)
IDataBook.
pDataBook - the given IDataBook to remove.IDataBook[] getDataBooks()
IDataBooks which have been added to this
IDataSource.
IDataBooks which have been added to this
IDataSource.IDataBook getDataBook(java.lang.String pName)
IDataBook with the given name.
pName - the name of the IDataBook to get.
IDataBook with the given name, null
if none was found.void setWritebackIsolationLevel(IDataBook.WriteBackIsolationLevel pIsolationLevel)
IDataBook.WriteBackIsolationLevel for all
added IDataBooks.
The default IDataBook.WriteBackIsolationLevel is
IDataBook.WriteBackIsolationLevel.DATA_ROW.
pIsolationLevel - the default IDataBook.WriteBackIsolationLevel for
all added IDataBooks.getWritebackIsolationLevel()IDataBook.WriteBackIsolationLevel getWritebackIsolationLevel()
IDataBook.WriteBackIsolationLevel for all
added IDataBooks.
The default IDataBook.WriteBackIsolationLevel is
IDataBook.WriteBackIsolationLevel.DATA_ROW.
IDataBook.WriteBackIsolationLevel for all
added IDataBooks.setWritebackIsolationLevel(IDataBook.WriteBackIsolationLevel)DataSourceHandler eventDataBookAdded()
DataSourceHandler for databook added event.
This event is fired if an IDataBook has been
added.
DataSourceHandler for databook added event.DataSourceHandler eventDataBookRemoved()
DataSourceHandler for databook removed event.
This event is fired if an IDataBook has been
removed.
DataSourceHandler for databook removed event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||