|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface to the object that will keep track of ObjectChanges.
Method Summary | |
java.util.Enumeration |
changes(TransactionLog log)
An enumeration of ObjectChangeRequest objects for this particular transaction log. |
void |
clearChanges(TransactionLog log)
DO NOT USE THIS METHOD. |
void |
commit(TransactionLog log,
boolean force)
Commit the changes found in the transaction log to the transactional object. |
boolean |
containsAnyChanges()
Broader in scope than isDirty. |
TransactionalObjectIF |
getDomainObject()
The object for which this EditingView represents. |
boolean |
isDirty()
Gets the Dirty attribute of the ObjectEditingView object |
boolean |
isTransient()
Gets the Transient attribute of the ObjectEditingView object |
boolean |
lock(boolean wait)
Pessimistically lock the object. |
void |
migrateChanges(TransactionLog log,
TransactionLog newLog)
Used by nested transactions. |
void |
rollback(TransactionLog log,
boolean forget)
Rollback the changes found in the transaction log to the transactional object. |
void |
setAsTransient(boolean value)
Sets the AsTransient attribute of the ObjectEditingView object |
void |
unlock()
This method was created in VisualAge. |
Methods inherited from interface com.objectwave.transactionalSupport.SetAndGetDelegateIF |
get, get, get, get, get, get, get, get, get, set, set, set, set, set, set, set, set, set, set, set |
Method Detail |
public java.util.Enumeration changes(TransactionLog log)
log
-
public void clearChanges(TransactionLog log)
log
- public void commit(TransactionLog log, boolean force) throws UpdateException
log
- force
-
UpdateException
public boolean containsAnyChanges()
public TransactionalObjectIF getDomainObject()
public boolean isDirty()
public boolean isTransient()
public boolean lock(boolean wait)
wait
- boolean true if the current thread should wait until lock is available. Otherwise return immediately.
public void migrateChanges(TransactionLog log, TransactionLog newLog)
log
- newLog
- public void rollback(TransactionLog log, boolean forget)
log
- forget
- public void setAsTransient(boolean value)
value
- The new AsTransient valuepublic void unlock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |