|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.AbstractStorage
com.sibvisions.rad.persist.AbstractCachedStorage
com.sibvisions.rad.persist.AbstractMemStorage
com.sibvisions.rad.persist.MemDataBookStorage
public class MemDataBookStorage
The MemDataBookStorage is a simple AbstractMemStorage without specific insert/update/delete
implementation. All calls are forwarded to the external MemDataBook.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sibvisions.rad.persist.AbstractStorage |
|---|
AbstractStorage.AllFetchedList<E> |
| Constructor Summary | |
|---|---|
MemDataBookStorage(MemDataBook pBook)
Creates a new instance of MemDataBookStorage. |
|
| Method Summary | |
|---|---|
void |
delete(DataBookEvent pEvent)
Deletes an existing row. |
RowDefinition |
getRowDefinition()
Returns the row definition for the internal MemDataBook. |
void |
insert(DataBookEvent pEvent)
Inserts a new row. |
void |
loadData(MemDataBook pBook,
ICondition pFilter)
Loads the relevant data into the internal data book. |
void |
update(DataBookEvent pEvent)
Updates an existing row. |
| Methods inherited from class com.sibvisions.rad.persist.AbstractCachedStorage |
|---|
clearMetaData, clearMetaData, getMetaData, getMetaData, getMetaDataCacheGroups, getMetaDataCacheOption, getMetaDataFromCache, getMetaDataFromCache, isGlobalMetaDataCacheEnabled, isMetaDataCacheEnabled, putMetaDataToCache, removeMetaData, setGlobalMetaDataCacheEnabled, setMetaDataCacheOption |
| Methods inherited from class com.sibvisions.rad.persist.AbstractStorage |
|---|
createBean, createCSV, createCSV, createCSV, createEmptyBean, createPOJO, createPOJO, debug, delete, delete, error, eventAfterDelete, eventAfterInsert, eventAfterUpdate, eventBeforeDelete, eventBeforeInsert, eventBeforeUpdate, eventCalculateRow, eventInsteadOfDelete, eventInsteadOfInsert, eventInsteadOfUpdate, fetch, fetch, fetch, fetchBean, fetchBean, getAndInitBeanType, getBeanConverter, getName, getPropertyNameForColumn, hasInsteadOfDeleteEventHandler, hasInsteadOfInsertEventHandler, hasInsteadOfUpdateEventHandler, info, insert, insert, isLogEnabled, isRefetch, refetch, refetchRow, setName, setPropertyNameForColumn, setRefetch, update, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.rad.persist.IStorage |
|---|
delete, fetch, insert, refetchRow, update |
| Constructor Detail |
|---|
public MemDataBookStorage(MemDataBook pBook)
MemDataBookStorage.
pBook - the data book| Method Detail |
|---|
public final RowDefinition getRowDefinition()
throws ModelException
MemDataBook. The row definition will
be used to create and cache the meta data. The ColumnView will be used to detect
the column which will be used for meta data creation.
getRowDefinition in class AbstractMemStorageModelException - if the row definition can not be created
public void loadData(MemDataBook pBook,
ICondition pFilter)
throws ModelException
loadData in class AbstractMemStoragepBook - the internal data bookpFilter - the filter
ModelException - if an error occurs during filling
public void insert(DataBookEvent pEvent)
throws ModelException
insert in class AbstractMemStoragepEvent - the data book event
ModelException - if an insert error occurs
public void update(DataBookEvent pEvent)
throws ModelException
update in class AbstractMemStoragepEvent - the data book event
ModelException - if an update error occurs
public void delete(DataBookEvent pEvent)
throws ModelException
delete in class AbstractMemStoragepEvent - the data book event
ModelException - if a delete error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||