SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.runtime
Class TDirtyState

java.lang.Object
  |
  +--com.solarmetric.kodo.runtime.JDOState
        |
        +--com.solarmetric.kodo.runtime.TDirtyState

class TDirtyState
extends JDOState

JDO lifecycle state.

Represents a transient instance that is participating in the current transaction, and has been modified.


Fields inherited from class com.solarmetric.kodo.runtime.JDOState
HOLLOW, PCLEAN, PDELETED, PDELETEDFLUSHED, PDIRTY, PNEW, PNEWDELETED, PNEWDELETEDFLUSHED, PNEWFLUSHED, PNEWFLUSHEDDELETED, PNEWFLUSHEDDELETEDFLUSHED, PNONTRANS, TCLEAN, TDIRTY, TRANSIENT
 
Constructor Summary
(package private) TDirtyState()
           
 
Method Summary
(package private)  JDOState commit(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on transaction commit.
(package private)  JDOState commitRetain(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on transaction commit with the retainValues flag set.
(package private)  JDOState deletePersistent(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.deletePersistent(java.lang.Object) with the given instance.
(package private)  void initialize(StateManagerImpl context)
          Called when this state is first assigned to the given state manager.
(package private)  boolean isDirty()
          Return whether this is a dirty state.
(package private)  boolean isTransactional()
          Return whether this is a transactional state.
(package private)  JDOState makeNontransactional(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.makeNontransactional(java.lang.Object) with the given instance.
(package private)  JDOState makePersistent(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.makePersistent(java.lang.Object) with the given instance.
(package private)  JDOState rollback(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on transaction rollback.
(package private)  JDOState rollbackRetain(StateManagerImpl context)
          Perform any actions necesssary and return the proper lifecycle state on transaction rollback with the retainValues flag set.
 
Methods inherited from class com.solarmetric.kodo.runtime.JDOState
afterNontransactionalRefresh, afterOptimisticRefresh, afterRefresh, beforeCommit, beforeFlush, beforeNontransactionalRead, beforeNontransactionalWrite, beforeOptimisticRead, beforeOptimisticWrite, beforeRead, beforeWrite, error, evict, flush, isDeleted, isFlushed, isNew, isPersistent, makeTransactional, makeTransient
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TDirtyState

TDirtyState()
Method Detail

initialize

void initialize(StateManagerImpl context)
Description copied from class: JDOState
Called when this state is first assigned to the given state manager.
Overrides:
initialize in class JDOState

commit

JDOState commit(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on transaction commit. Returns the this pointer by default.
Overrides:
commit in class JDOState

commitRetain

JDOState commitRetain(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on transaction commit with the retainValues flag set. Returns the this pointer by default.
Overrides:
commitRetain in class JDOState

rollback

JDOState rollback(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on transaction rollback. Returns the this pointer by default.
Overrides:
rollback in class JDOState

rollbackRetain

JDOState rollbackRetain(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on transaction rollback with the retainValues flag set. Returns the this pointer by default.
Overrides:
rollbackRetain in class JDOState

makePersistent

JDOState makePersistent(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.makePersistent(java.lang.Object) with the given instance. Returns the this pointer by default.
Overrides:
makePersistent in class JDOState

deletePersistent

JDOState deletePersistent(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.deletePersistent(java.lang.Object) with the given instance. Returns the this pointer by default.
Overrides:
deletePersistent in class JDOState

makeNontransactional

JDOState makeNontransactional(StateManagerImpl context)
Description copied from class: JDOState
Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.makeNontransactional(java.lang.Object) with the given instance. Returns the this pointer by default.
Overrides:
makeNontransactional in class JDOState

isTransactional

boolean isTransactional()
Description copied from class: JDOState
Return whether this is a transactional state. Returns false by default.
Overrides:
isTransactional in class JDOState

isDirty

boolean isDirty()
Description copied from class: JDOState
Return whether this is a dirty state. Returns false by default.
Overrides:
isDirty in class JDOState

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.