|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.transactionalSupport.ObjectModified | +--com.objectwave.persist.mapping.NullChange
For a special kind of change to this object. In particular, a delete request sent to this object.
Nested Class Summary |
Nested classes inherited from class com.objectwave.transactionalSupport.ObjectModified |
ObjectModified.Test |
Constructor Summary | |
NullChange(RDBPersistentAdapter anAdapter,
boolean delete,
boolean anInsert)
Constructor for the NullChange object |
Method Summary | |
void |
commit(boolean force)
Commit the change. |
java.lang.Object |
currentValue()
|
boolean |
isCollection()
Gets the Collection attribute of the NullChange object |
java.lang.Object |
originalValue()
|
boolean |
returnThis()
ObjectModified objects are returned to a pool of object modified objects. |
void |
rollback()
Change the domain object to contain the 'old' value. |
Methods inherited from class com.objectwave.transactionalSupport.ObjectModified |
clean, getAccessor, initObjectModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullChange(RDBPersistentAdapter anAdapter, boolean delete, boolean anInsert)
delete
- anInsert
- anAdapter
- Method Detail |
public boolean isCollection()
isCollection
in interface ObjectChangeRequest
isCollection
in class ObjectModified
public boolean returnThis()
returnThis
in class ObjectModified
public void commit(boolean force) throws UpdateException
ObjectChangeRequest
commit
in interface ObjectChangeRequest
commit
in class ObjectModified
force
-
UpdateException
public void rollback()
ObjectModified
rollback
in interface ObjectChangeRequest
rollback
in class ObjectModified
public java.lang.Object currentValue()
currentValue
in interface ObjectChangeRequest
currentValue
in class ObjectModified
public java.lang.Object originalValue()
originalValue
in interface ObjectChangeRequest
originalValue
in class ObjectModified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |