Modifier and Type | Method and Description |
---|---|
protected IFilePersistence |
AbstractPersistence.createFilePersistence(boolean removeFiles)
creation of file persistence manager
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFilePersistenceDelegatingToStore.clearStore() |
protected void |
AbstractFilePersistenceDelegatingToStore.openStore(boolean removeFiles) |
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 |
---|---|
void |
Store.clear() |
void |
IStore.clear() |
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 |
int |
IStore.getClassIdentifier(Class<?> clazz) |
int |
AbstractDelegatingToStoreManagers.getClassIdentifier(Class<?> clazz) |
ClassInfo |
IStore.knownAsNotExisting(String className) |
ClassInfo |
AbstractDelegatingToStoreManagers.knownAsNotExisting(String className) |
protected void |
AbstractDelegatingToStoreManagers.loadClassName() |
void |
Store.open(boolean removeFiles) |
void |
IStore.open(boolean removeFiles)
open object storage management
|
void |
Store.openAndNewAccessSession(boolean removeFiles,
boolean exclusiveAccessSession) |
Object |
Store.readAndGetRoot() |
boolean |
Store.readRoot() |
boolean |
IStore.readRoot()
read root object
|
void |
Store.removeWriteSubstitution(String replacedName) |
void |
IStore.removeWriteSubstitution(String replacedName) |
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 |
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.