Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractFilePersistenceDelegatingToStore.storeReadRoot() |
protected void |
AbstractFilePersistenceDelegatingToStore.storeSave(boolean closing,
boolean autoSave) |
protected void |
AbstractFilePersistenceDelegatingToStore.storeSetRoot(Object rootObject,
Map<EnumKey,Enum<?>> storedEnumMap) |
Modifier and Type | Method and Description |
---|---|
ObjectAndPersistInfo |
Store.createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier,
boolean notLazy) |
ObjectAndPersistInfo |
IStore.createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier,
boolean notLazy) |
int |
Store.garbageSweep(String filePath) |
int |
IStore.garbageSweep(String filePath)
garbage sweep, remove data record for object not attached to root
should be call only when all object detached, at startup or after commit |
Object |
Store.readAndGetRoot() |
boolean |
Store.readRoot() |
boolean |
IStore.readRoot()
read root object
|
void |
Store.save(boolean closing,
boolean autoSave) |
void |
IStore.save(boolean closing,
boolean autoSave)
save the object modification, creation, and deletion on file
then clear all informations on object persistence, persistent object are detached |
void |
Store.setRoot(Object rootObject) |
void |
Store.setRoot(Object rootObject,
Map<EnumKey,Enum<?>> storedEnumMap) |
void |
IStore.setRoot(Object rootObject,
Map<EnumKey,Enum<?>> storedEnumMap)
set root object
do not save the modification |
void |
IStore.xmlExport(String directoryName,
String temporaryDirectoryName,
boolean exportPersistedClassByteCode)
export persisted data in file export.xml put in
directoryName |
void |
AbstractDelegatingToStoreManagers.xmlExport(String directoryName,
String temporaryDirectoryName,
boolean exportPersistedClassByteCode) |
void |
IStore.xmlImport(String directoryName,
boolean validating)
import from exported data in
directoryName |
void |
AbstractDelegatingToStoreManagers.xmlImport(String directoryName,
boolean validating) |
Modifier and Type | Method and Description |
---|---|
void |
IImporter.doImport(String directoryName,
boolean validating)
import from exported data in
directoryName |
Modifier and Type | Method and Description |
---|---|
ObjectAndItsClassInfo |
StoreAccessForExport.createGenericObjectReadingInStoreNotLazy(DataRecordIdentifier dataRecordIdentifier)
create object setting its state from storage
|
void |
IExporter.export(String directoryName,
String temporaryDirectoryName,
boolean exportPersistedClassByteCode)
FIXMELUC x generic export or xml export ?
|
void |
AbstractExporter.export(String directoryName,
String temporaryDirectoryName,
boolean exportPersistedClassByteCode) |
void |
IExporter.export(String directoryName,
String temporaryDirectoryName,
Object objectToExport) |
void |
AbstractExporter.export(String directoryName,
String temporaryDirectoryName,
Object objectToExport) |
ClassInfo |
StoreAccessForExport.getClassInfo(DataRecordIdentifier dataRecordIdentifier) |
Modifier and Type | Method and Description |
---|---|
int |
StoreGarbager.garbageSweep(String filePath)
garbage sweep, remove data record for object not attached to root
|
Modifier and Type | Method and Description |
---|---|
void |
ForSaveLinkManager.decrementNumberOfLink(ObjectAndPersistInfo referencingObject,
ObjectAndPersistInfo referencedObject)
Decrement number of link to the object
|
void |
ForSaveLinkManager.incrementNumberOfLink(ObjectAndPersistInfo referencingObject,
ObjectAndPersistInfo referencedObject)
increment number of link to the object
|
void |
ForSaveLinkManager.removeLink(ObjectAndPersistInfo referencingObject,
ObjectClassInfoAndDeclared[] referenceds) |
void |
StoreSaver3.save(boolean closing,
boolean autoSave)
save the object modification, creation, and deletion on file
then clear all informations on object persistence, persistent object are detached |
void |
StoreSaver3.saveForImport(Set<ObjectAndPersistInfo> toNotSave) |
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.