Methods Summary |
---|
public boolean | needsRestoreOnRollback(boolean retainValues)
//
// This is a special case where retores doesn't depend on
// retainValues.
//
return needsRestoreOnRollback;
|
public LifeCycleState | transitionCommit(boolean retainValues)
return changeState(TRANSIENT);
|
public LifeCycleState | transitionMakePersistent()
return changeState(P_NEW_DELETED);
|
public LifeCycleState | transitionReadField(boolean optimisitic, boolean nontransactonalRead, boolean transactionActive)
// Cannot read a deleted object
throw new JDOUserException(I18NHelper.getMessage(messages,
"jdo.lifecycle.deleted.accessField")); // NOI18N
|
public LifeCycleState | transitionRollback(boolean retainValues)
return changeState(TRANSIENT);
|
public LifeCycleState | transitionWriteField(boolean transactionActive)
// Cannot update a deleted object
throw new JDOUserException(I18NHelper.getMessage(messages,
"jdo.lifecycle.deleted.accessField")); // NOI18N
|