public interface IObjectIOManagerForSave
Modifier and Type | Method and Description |
---|---|
boolean |
isValueChanged(ObjectAndPersistInfo objectAndItsClassInfo) |
Set<ObjectAndPersistInfo> |
mostAccessedObject() |
boolean |
objectHasPersistenceState(ObjectAndPersistInfo objectAndPersistInfo) |
void |
prepareWrite(ObjectAndPersistInfo objectAndPersistInfo)
write preparation, ensure all sons have a data record identifier
|
ObjectClassInfoAndDeclared[] |
willNotBeWrote(ObjectAndPersistInfo objectAndItsClassInfo)
notify that object will not be wrote
|
ObjectClassInfoAndDeclared[] |
write(ObjectAndPersistInfo objectAndItsClassInfo)
write object state
a data record must be associated to the object |
void prepareWrite(ObjectAndPersistInfo objectAndPersistInfo) throws ObjectIOException, ObjectIOInvalidClassException, ObjectIONotSerializableException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIOTooBigForSerializationException
boolean isValueChanged(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIOInvalidClassException, ObjectIONotSerializableException, ObjectIODataCorruptedException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException
objectAndItsClassInfo
- ObjectIOException
ObjectIONotSerializableException
ObjectIOInvalidClassException
ObjectIODataRecordNotFoundException
ObjectIODataCorruptedException
ObjectIOClassNotFoundException
ObjectClassInfoAndDeclared[] write(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIOInvalidClassException, ObjectIONotSerializableException, ObjectIOClassNotFoundException, ObjectIODataRecordNotFoundException, ObjectIODataCorruptedException
object
- object to writeObjectIOException
- write errorObjectIONotSerializableException
ObjectIOInvalidClassException
ObjectIOClassNotFoundException
ObjectIODataCorruptedException
ObjectIODataRecordNotFoundException
ObjectClassInfoAndDeclared[] willNotBeWrote(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException
objectAndItsClassInfo
- ObjectIOException
boolean objectHasPersistenceState(ObjectAndPersistInfo objectAndPersistInfo)
Set<ObjectAndPersistInfo> mostAccessedObject()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.