public interface IObjectIOManagerForObjectIO extends IObjectIOManagerForProxyObjectIO
| Modifier and Type | Method and Description |
|---|---|
ObjectAndPersistInfo |
createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier,
boolean notLazy)
Create object, may return already created object
In case of lazy loading the object state is not set, else the object state is set reading its state in the file Must associate object created to its data record identifier NOTE FOR dataRecordIdentifier: for object creation that return same object for same state ( for example Integer.valueOf(int) or Enum.valueOf(Class, String) ), if
object already created it can have data record identifier different from
dataRecordIdentifier parameterParameter to force loading ( not lazy ) set data record associated to created object |
Object |
deepCopy(Object val) |
byte[] |
getBodyDataFromRecord(ObjectAndPersistInfo objectAndItsClassInfo) |
int |
getCurrentDataModelIdentifier() |
ObjectIOInputStream |
getObjectIOInputStream() |
ObjectIOOutputStream |
getObjectIOOutputStream() |
DataRecordIdentifier |
getOrCreateDataRecordIdentifierAssociatedToObject(ObjectAndPersistInfo objectAndItsClassInfo)
get or create data record identifier associated to object
check id data record associated to object exists and create it if needed |
int |
getZipCompressionLevel() |
createObjectPersistInfoOfObject, createObjectPersistInfoOfObject, dataRecordIdentifierAssociatedToObjectSetted, getClassInfoFactory, getCurrentFileAccessSessionIdentifier, getObjectAndPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getProxyManager2, getStoreMutex, isAutoSaveEnabled, isExclusiveAccessSession, isMaintainInMemoryEnabled, isRunAutosaveEnableAndDisable, newObjectLoaded, objectIsAccessed, setProxyObjectState, setRunAutosaveEnable, unsetProxyObjectStateObjectIOInputStream getObjectIOInputStream()
ObjectIOOutputStream getObjectIOOutputStream()
int getCurrentDataModelIdentifier()
DataRecordIdentifier getOrCreateDataRecordIdentifierAssociatedToObject(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIODataCorruptedException
object - the object instanceObjectIOExceptionObjectIODataCorruptedExceptionObjectAndPersistInfo createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier, boolean notLazy) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException, ObjectIOInvalidClassException, ObjectIODataCorruptedException, ObjectIONotSerializableException
Integer.valueOf(int) or Enum.valueOf(Class, String) ), if
object already created it can have data record identifier different from
dataRecordIdentifier parameterdataRecordIdentifier - identifier of data record associated to objectnotLazy - true if force not lazy modeObjectIODataRecordNotFoundException - data record for object not foundObjectIOException - create object errorObjectIODataCorruptedExceptionObjectIOInvalidClassExceptionObjectIOClassNotFoundExceptionObjectIONotSerializableExceptionint getZipCompressionLevel()
byte[] getBodyDataFromRecord(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIODataCorruptedException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException
object - ObjectIOExceptionObjectIODataCorruptedExceptionObjectIODataRecordNotFoundExceptionObjectIOClassNotFoundExceptionObject deepCopy(Object val) throws CopierException
CopierExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.