|
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.PNewState
JDO lifecycle state.
Represents an instance that was made persistent within the current transaction.
| 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) |
PNewState()
|
| Method Summary | |
(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) 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 |
isDirty()
Return whether this is a dirty 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, beforeNontransactionalRead, beforeNontransactionalWrite, beforeOptimisticRead, beforeOptimisticWrite, beforeRead, beforeWrite, error, evict, isDeleted, isFlushed, makePersistent, makeTransactional |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
PNewState()
| 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 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 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 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 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 | ||||||||