|
||||||||||
| 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 ObjectChangeRequestisCollection in class ObjectModifiedpublic boolean returnThis()
returnThis in class ObjectModified
public void commit(boolean force)
throws UpdateException
ObjectChangeRequest
commit in interface ObjectChangeRequestcommit in class ObjectModifiedforce -
UpdateExceptionpublic void rollback()
ObjectModified
rollback in interface ObjectChangeRequestrollback in class ObjectModifiedpublic java.lang.Object currentValue()
currentValue in interface ObjectChangeRequestcurrentValue in class ObjectModifiedpublic java.lang.Object originalValue()
originalValue in interface ObjectChangeRequestoriginalValue in class ObjectModified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||