public class PNonTransDeletedState extends PCState
ECLEAN, ECOPY, EDELETED, EDIRTY, ENONTRANS, HOLLOW, PCLEAN, PDELETED, PDELETEDFLUSHED, PDIRTY, PNEW, PNEWDELETED, PNEWFLUSHEDDELETED, PNEWFLUSHEDDELETEDFLUSHED, PNEWPROVISIONAL, PNONTRANS, PNONTRANSDELETED, PNONTRANSDIRTY, PNONTRANSNEW, TCLEAN, TDIRTY, TLOADED, TRANSIENT
Constructor and Description |
---|
PNonTransDeletedState() |
Modifier and Type | Method and Description |
---|---|
(package private) PCState |
beforeNontransactionalRead(StateManagerImpl context,
int field)
Perform any actions necesssary and return the proper lifecycle state
prior to the state of the given instance being read outside of
an active transaction.
|
(package private) PCState |
beforeNontransactionalWrite(StateManagerImpl context,
int field,
boolean mutate)
Perform any actions necesssary and return the proper lifecycle state
prior to the state of the given instance being written outside of
an active transaction.
|
(package private) PCState |
beforeOptimisticRead(StateManagerImpl context,
int field)
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) PCState |
beforeOptimisticWrite(StateManagerImpl context,
int field,
boolean mutate)
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) PCState |
beforeRead(StateManagerImpl context,
int field)
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) PCState |
beforeWrite(StateManagerImpl context,
int field,
boolean mutate)
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) boolean |
isDeleted()
Return whether this is a deleted state.
|
(package private) boolean |
isDirty()
Return whether this is a dirty state.
|
(package private) boolean |
isPendingTransactional()
Return whether this is a state that will become transactional
upon the begin of the next transaction.
|
(package private) boolean |
isPersistent()
Return whether this is a persistent state.
|
(package private) PCState |
persist(StateManagerImpl context)
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. |
String |
toString() |
(package private) PCState |
transactional(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state
on a call to
StoreContext.nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks) with the given
instance. |
afterNontransactionalRefresh, afterOptimisticRefresh, afterRefresh, beforeFlush, commit, commitRetain, delete, error, evict, flush, initialize, isNew, isProvisional, isTransactional, isVersionCheckRequired, nonprovisional, nontransactional, readResolve, release, rollback, rollbackRestore
PCState persist(StateManagerImpl context)
PCState
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.PCState transactional(StateManagerImpl context)
PCState
StoreContext.nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)
with the given
instance. Returns the this
pointer by default.transactional
in class PCState
PCState beforeRead(StateManagerImpl context, int field)
PCState
this
pointer by default.beforeRead
in class PCState
PCState beforeNontransactionalRead(StateManagerImpl context, int field)
PCState
this
pointer by default.beforeNontransactionalRead
in class PCState
PCState beforeOptimisticRead(StateManagerImpl context, int field)
PCState
this
pointer by default.beforeOptimisticRead
in class PCState
PCState beforeWrite(StateManagerImpl context, int field, boolean mutate)
PCState
this
pointer by default.beforeWrite
in class PCState
PCState beforeOptimisticWrite(StateManagerImpl context, int field, boolean mutate)
PCState
this
pointer by default.beforeOptimisticWrite
in class PCState
PCState beforeNontransactionalWrite(StateManagerImpl context, int field, boolean mutate)
PCState
this
pointer by default.beforeNontransactionalWrite
in class PCState
boolean isPendingTransactional()
PCState
false
by default.isPendingTransactional
in class PCState
boolean isPersistent()
PCState
false
by default.isPersistent
in class PCState
boolean isDeleted()
PCState
false
by default.boolean isDirty()
PCState
false
by default.Copyright © 2006–2013 Apache Software Foundation. All rights reserved.