|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.solarmetric.kodo.runtime.JDOState
|
+--com.solarmetric.kodo.runtime.PNewFlushedDeletedState
JDO lifecycle state.
Represents an instance that was made persistent within the current transaction, flushed, and subsequently deleted.
| 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) |
PNewFlushedDeletedState()
|
| Method Summary | |
(package private) JDOState |
beforeOptimisticRead(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state prior to the state of the given instance being read in an optimistic transaction. |
(package private) JDOState |
beforeOptimisticWrite(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state prior to the state of the given instance being written within an optimistic transaction. |
(package private) JDOState |
beforeRead(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state prior to the state of the given instance being read within an active transaction. |
(package private) JDOState |
beforeWrite(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state prior to the state of the given instance being written within an active transaction. |
(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 |
flush(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state on transaction flush. |
(package private) void |
initialize(StateManagerImpl context)
Called when this state is first assigned to the given state manager. |
(package private) boolean |
isDeleted()
Return whether this is a deleted state. |
(package private) boolean |
isDirty()
Return whether this is a dirty state. |
(package private) boolean |
isFlushed()
Return whether this is a flushed state. |
(package private) boolean |
isNew()
Return whether this is a new state. |
(package private) boolean |
isPersistent()
Return whether this is a persistent 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 |
makeTransient(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state on a call to PersistenceManager.makeTransient(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, deletePersistent, error, evict, makePersistent, makeTransactional |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
PNewFlushedDeletedState()
| Method Detail |
void initialize(StateManagerImpl context)
JDOStateinitialize in class JDOStateJDOState flush(StateManagerImpl context)
JDOStatePersistenceManagerImpl.flush(). That
is, it is not invoked when flushing due to a commit
operation. That is Returns the this pointer by
default.flush in class JDOStateJDOState commit(StateManagerImpl context)
JDOStatethis pointer by default.commit in class JDOStateJDOState commitRetain(StateManagerImpl context)
JDOStatethis pointer by default.commitRetain in class JDOStateJDOState rollback(StateManagerImpl context)
JDOStatethis pointer by default.rollback in class JDOStateJDOState rollbackRetain(StateManagerImpl context)
JDOStatethis pointer by default.rollbackRetain in class JDOStateJDOState makeNontransactional(StateManagerImpl context)
JDOStatePersistenceManager.makeNontransactional(java.lang.Object)
with the given instance.
Returns the this pointer by default.makeNontransactional in class JDOStateJDOState makeTransient(StateManagerImpl context)
JDOStatePersistenceManager.makeTransient(java.lang.Object)
with the given instance.
Returns the this pointer by default.makeTransient in class JDOStateJDOState beforeRead(StateManagerImpl context)
JDOStatethis pointer by default.beforeRead in class JDOStateJDOState beforeOptimisticRead(StateManagerImpl context)
JDOStatethis pointer by default.beforeOptimisticRead in class JDOStateJDOState beforeWrite(StateManagerImpl context)
JDOStatethis pointer by default.beforeWrite in class JDOStateJDOState beforeOptimisticWrite(StateManagerImpl context)
JDOStatethis pointer by default.beforeOptimisticWrite in class JDOStateboolean isTransactional()
JDOStatefalse by default.isTransactional in class JDOStateboolean isPersistent()
JDOStatefalse by default.isPersistent in class JDOStateboolean isNew()
JDOStatefalse by default.isNew in class JDOStateboolean isDeleted()
JDOStatefalse by default.isDeleted in class JDOStateboolean isDirty()
JDOStatefalse by default.isDirty in class JDOStateboolean isFlushed()
JDOStatefalse by default. Flushed states are those for
which PersistenceManagerImpl.flush() has been invoked at
least once. That is, PNewFlushed returns
true, and so does PNewFlushedDeleted. So,
it is not sufficient to check if this returns
true to know if there are outstanding changes
that need to be flushed.isFlushed in class JDOState
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||