public interface IObjectIOManagerForProxyObjectIO
| Modifier and Type | Method and Description |
|---|---|
ObjectAndPersistInfo |
createObjectPersistInfoOfObject(Object object,
Boolean proxyInstance,
ClassInfo objectClassInfo,
boolean persisted) |
ObjectAndPersistInfo |
createObjectPersistInfoOfObject(Object object,
boolean proxyInstance,
ClassInfo objectClassInfo,
DataRecordIdentifier dataRecordIdentifier) |
void |
dataRecordIdentifierAssociatedToObjectSetted(ObjectAndPersistInfo objectAndItsClassInfo) |
ClassInfoFactory |
getClassInfoFactory() |
long |
getCurrentFileAccessSessionIdentifier() |
ObjectAndPersistInfo |
getObjectAndPersistInfoOfObject(Object object) |
ObjectAndPersistInfo |
getOrCreateObjectPersistInfoOfObject(Object object,
Boolean proxyInstance,
boolean persisted)
Get existing, or create, object and its persistence information, for an
object.
|
ObjectAndPersistInfo |
getOrCreateObjectPersistInfoOfObject(Object object,
Boolean proxyInstance,
ClassInfo objectClassInfo,
boolean persisted)
Get existing, or create, object and its persistence information, for an
object.
|
ObjectAndPersistInfo |
getOrCreateObjectPersistInfoOfObject(Object object,
boolean proxyInstance,
ClassInfo objectClassInfo,
DataRecordIdentifier dataRecordIdentifier)
Get existing, or create, object and its persistence information, for an
object.
|
IProxyManagerForObjectIO |
getProxyManager2() |
JoafipMutex |
getStoreMutex()
get the mutex for storage file access
|
boolean |
isAutoSaveEnabled() |
boolean |
isExclusiveAccessSession() |
boolean |
isMaintainInMemoryEnabled() |
boolean |
isRunAutosaveEnableAndDisable() |
void |
newObjectLoaded() |
void |
objectIsAccessed(ObjectAndPersistInfo proxyObjectAndPersistInfo)
call when object is accessed
|
void |
setProxyObjectState(ObjectAndPersistInfo objectAndPersistInfo)
set proxy object state reading in file
|
void |
setRunAutosaveEnable(boolean runAutosaveEnable) |
void |
unsetProxyObjectState(ObjectAndPersistInfo objectAndItsClassInfo) |
ObjectAndPersistInfo getOrCreateObjectPersistInfoOfObject(Object object, boolean proxyInstance, ClassInfo objectClassInfo, DataRecordIdentifier dataRecordIdentifier) throws ObjectIOException, ObjectIODataCorruptedException
object - the object which for object and its persistence information is
askproxyInstance - true if object is proxy instanceobjectClassInfo - the class information of the objectdataRecordIdentifier - the data record identifier to associate to the objectObjectIOExceptionObjectIODataCorruptedExceptionObjectAndPersistInfo createObjectPersistInfoOfObject(Object object, boolean proxyInstance, ClassInfo objectClassInfo, DataRecordIdentifier dataRecordIdentifier) throws ObjectIOException
ObjectIOExceptionObjectAndPersistInfo getOrCreateObjectPersistInfoOfObject(Object object, Boolean proxyInstance, ClassInfo objectClassInfo, boolean persisted) throws ObjectIOException, ObjectIODataCorruptedException
object - the object which for object and its persistence information is
askproxyInstance - true if object is proxy instance (use by creation only)objectClassInfo - the class information of the objectpersisted - true if object to be persistedObjectIOExceptionObjectIODataCorruptedExceptionObjectAndPersistInfo createObjectPersistInfoOfObject(Object object, Boolean proxyInstance, ClassInfo objectClassInfo, boolean persisted) throws ObjectIOException, ObjectIODataCorruptedException
ObjectAndPersistInfo getObjectAndPersistInfoOfObject(Object object) throws ObjectIOException
object - ObjectIOExceptionObjectAndPersistInfo getOrCreateObjectPersistInfoOfObject(Object object, Boolean proxyInstance, boolean persisted) throws ObjectIOException, ObjectIODataCorruptedException
object - the object which for object and its persistence information is
askproxyInstance - true if object is a proxy instance (use by creation only)persisted - true if object to be persistedObjectIOExceptionObjectIODataCorruptedExceptionvoid dataRecordIdentifierAssociatedToObjectSetted(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException
ObjectIOExceptionJoafipMutex getStoreMutex()
long getCurrentFileAccessSessionIdentifier()
void setProxyObjectState(ObjectAndPersistInfo objectAndPersistInfo) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOInvalidClassException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
objectAndPersistInfo - object that must be a proxyObjectIODataRecordNotFoundException - data record for object not foundObjectIOException - set object state errorObjectIOInvalidClassExceptionObjectIODataCorruptedExceptionObjectIOClassNotFoundExceptionObjectIONotSerializableExceptionvoid newObjectLoaded()
throws ObjectIOException
ObjectIOExceptionvoid unsetProxyObjectState(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIOInvalidClassException
IProxyManagerForObjectIO getProxyManager2()
ClassInfoFactory getClassInfoFactory()
boolean isExclusiveAccessSession()
boolean isMaintainInMemoryEnabled()
boolean isAutoSaveEnabled()
void objectIsAccessed(ObjectAndPersistInfo proxyObjectAndPersistInfo)
proxyObjectAndPersistInfo - boolean isRunAutosaveEnableAndDisable()
void setRunAutosaveEnable(boolean runAutosaveEnable)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.