class HollowState 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 |
|---|
HollowState() |
| 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) PCState |
delete(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state
on a call to
Broker.delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks) with the given instance. |
(package private) void |
initialize(StateManagerImpl context,
PCState previous)
Called when this state is first assigned to the given state manager.
|
(package private) boolean |
isPersistent()
Return whether this is a persistent state.
|
(package private) PCState |
release(StateManagerImpl context)
Perform any actions necesssary and return the proper lifecycle state
on a call to
Broker#makeTransient 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, error, evict, flush, isDeleted, isDirty, isNew, isPendingTransactional, isProvisional, isTransactional, isVersionCheckRequired, nonprovisional, nontransactional, persist, readResolve, rollback, rollbackRestorevoid initialize(StateManagerImpl context, PCState previous)
PCStateinitialize in class PCStatePCState delete(StateManagerImpl context)
PCStateBroker.delete(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks) with the given instance.
Returns the this pointer by default.PCState transactional(StateManagerImpl context)
PCStateStoreContext.nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks) with the given
instance. Returns the this pointer by default.transactional in class PCStatePCState release(StateManagerImpl context)
PCStateBroker#makeTransient with the given instance.
Returns the this pointer by default.PCState beforeRead(StateManagerImpl context, int field)
PCStatethis pointer by default.beforeRead in class PCStatePCState beforeOptimisticRead(StateManagerImpl context, int field)
PCStatethis pointer by default.beforeOptimisticRead in class PCStatePCState beforeNontransactionalRead(StateManagerImpl context, int field)
PCStatethis pointer by default.beforeNontransactionalRead in class PCStatePCState beforeWrite(StateManagerImpl context, int field, boolean mutate)
PCStatethis pointer by default.beforeWrite in class PCStatePCState beforeOptimisticWrite(StateManagerImpl context, int field, boolean mutate)
PCStatethis pointer by default.beforeOptimisticWrite in class PCStatePCState beforeNontransactionalWrite(StateManagerImpl context, int field, boolean mutate)
PCStatethis pointer by default.beforeNontransactionalWrite in class PCStateboolean isPersistent()
PCStatefalse by default.isPersistent in class PCStateCopyright © 2006–2015 Apache Software Foundation. All rights reserved.