org.apache.openjpa.kernel
Class PDeletedFlushedState
java.lang.Object
org.apache.openjpa.kernel.PCState
org.apache.openjpa.kernel.PDeletedState
org.apache.openjpa.kernel.PDeletedFlushedState
- All Implemented Interfaces:
- Serializable
class PDeletedFlushedState
- extends PDeletedState
Lifecycle state.
Represents a persistent instance that has been deleted in the current
transaction, and that has been flushed to the database.
- Author:
- Patrick Linskey
Fields inherited from class org.apache.openjpa.kernel.PCState |
ECLEAN, ECOPY, EDELETED, EDIRTY, ENONTRANS, HOLLOW, PCLEAN, PDELETED, PDELETEDFLUSHED, PDIRTY, PNEW, PNEWDELETED, PNEWFLUSHEDDELETED, PNEWFLUSHEDDELETEDFLUSHED, PNEWPROVISIONAL, PNONTRANS, PNONTRANSDELETED, PNONTRANSDIRTY, PNONTRANSNEW, TCLEAN, TDIRTY, TLOADED, TRANSIENT |
Methods inherited from class org.apache.openjpa.kernel.PDeletedState |
beforeOptimisticWrite, beforeWrite, commit, commitRetain, initialize, isDeleted, isDirty, isPersistent, isTransactional, nontransactional, release, rollback, rollbackRestore |
Methods inherited from class org.apache.openjpa.kernel.PCState |
afterNontransactionalRefresh, afterOptimisticRefresh, afterRefresh, beforeFlush, beforeNontransactionalRead, beforeNontransactionalWrite, beforeOptimisticRead, beforeRead, delete, error, evict, isNew, isPendingTransactional, isProvisional, isVersionCheckRequired, nonprovisional, readResolve, transactional |
PDeletedFlushedState
PDeletedFlushedState()
flush
PCState flush(StateManagerImpl context)
- Description copied from class:
PCState
- Perform any actions necessary and return the proper lifecycle
state on fush. Returns the
this
pointer by default.
- Overrides:
flush
in class PDeletedState
persist
PCState persist(StateManagerImpl context)
- Description copied from class:
PCState
- Perform any actions necesssary and return the proper lifecycle state
on a call to
Broker.persist(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)
with the given instance.
Returns the this
pointer by default. Note: this method
is not called for embedded states, and is only called when an
existing managed instance is the target of a persist call.
- Overrides:
persist
in class PDeletedState
toString
public String toString()
- Overrides:
toString
in class PDeletedState
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.