|
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.PDirtyState
JDO lifecycle state.
Represents a persistent 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) |
PDirtyState()
|
| Method Summary | |
(package private) JDOState |
afterOptimisticRefresh()
Return the state to transition to after refresh. |
(package private) JDOState |
afterRefresh()
Return the state to transition to after refresh. |
(package private) void |
beforeCommit(StateManagerImpl context)
Called before the state is committed. |
(package private) void |
beforeFlush(StateManagerImpl context)
Called before the state is flushed. |
(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 |
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, beforeNontransactionalRead, beforeNontransactionalWrite, beforeOptimisticRead, beforeOptimisticWrite, beforeRead, beforeWrite, error, evict, flush, isDeleted, isFlushed, isNew, makePersistent, makeTransactional |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
PDirtyState()
| Method Detail |
void initialize(StateManagerImpl context)
JDOStateinitialize in class JDOStatevoid beforeFlush(StateManagerImpl context)
JDOStatePersistenceManagerImpl.flush(). That is, it is not invoked when
flushing due to a commit operation.beforeFlush in class JDOStatevoid beforeCommit(StateManagerImpl context)
JDOStatebeforeCommit 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 deletePersistent(StateManagerImpl context)
JDOStatePersistenceManager.deletePersistent(java.lang.Object)
with the given instance.
Returns the this pointer by default.deletePersistent 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 afterRefresh()
JDOStateafterRefresh in class JDOStateJDOState afterOptimisticRefresh()
JDOStateafterOptimisticRefresh in class JDOStateboolean isTransactional()
JDOStatefalse by default.isTransactional in class JDOStateboolean isPersistent()
JDOStatefalse by default.isPersistent in class JDOStateboolean isDirty()
JDOStatefalse by default.isDirty 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 | ||||||||