com.solarmetric.kodo.runtime
Class TCleanState
java.lang.Object
|
+--com.solarmetric.kodo.runtime.JDOState
|
+--com.solarmetric.kodo.runtime.TCleanState
- class TCleanState
- extends JDOState
JDO lifecycle state.
Represents a transient instance that is managed by a StateManager and
may be participating in the current transaction, but has not yet 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 |
| Methods inherited from class com.solarmetric.kodo.runtime.JDOState |
afterNontransactionalRefresh, afterOptimisticRefresh, afterRefresh, beforeCommit, beforeFlush, beforeNontransactionalRead, beforeNontransactionalWrite, beforeOptimisticRead, beforeRead, commit, commitRetain, error, evict, flush, isDeleted, isDirty, isFlushed, isNew, isPersistent, isTransactional, makeTransactional, makeTransient, rollback, rollbackRetain |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCleanState
TCleanState()
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
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
beforeWrite
JDOState beforeWrite(StateManagerImpl context)
- Description copied from class:
JDOState
- Perform any actions necesssary and return the proper lifecycle state
prior to the state of the given instance being written within
an active transaction.
Returns the
this pointer by default.
- Overrides:
beforeWrite in class JDOState
beforeOptimisticWrite
JDOState beforeOptimisticWrite(StateManagerImpl context)
- Description copied from class:
JDOState
- Perform any actions necesssary and return the proper lifecycle state
prior to the state of the given instance being written within
an optimistic transaction.
Returns the
this pointer by default.
- Overrides:
beforeOptimisticWrite in class JDOState
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.