Package | Description |
---|---|
org.datanucleus.api |
Provides adapters for different client APIs, like JDO, JPA and so on.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
Modifier and Type | Method and Description |
---|---|
LifeCycleState |
ApiAdapter.getLifeCycleState(int stateType)
Returns the LifeCycleState for the state constant.
|
Modifier and Type | Field and Description |
---|---|
protected LifeCycleState |
StateManagerImpl.myLC
The actual LifeCycleState for the persistable instance
|
Modifier and Type | Method and Description |
---|---|
protected LifeCycleState |
LifeCycleState.changeState(ObjectProvider op,
int newStateType)
Utility to change state to a new state.
|
protected LifeCycleState |
LifeCycleState.changeTransientState(ObjectProvider op,
int newStateType)
Utility to change state to a new state.
|
LifeCycleState |
ObjectProvider.getLifecycleState()
Accessor for the LifeCycleState
|
LifeCycleState |
StateManagerImpl.getLifecycleState() |
LifeCycleState |
LifeCycleState.transitionAttach(ObjectProvider op)
Method to transition to persistent-clean.
|
LifeCycleState |
LifeCycleState.transitionBegin(ObjectProvider op,
Transaction tx)
Method to transition to transaction begin state.
|
LifeCycleState |
LifeCycleState.transitionCommit(ObjectProvider op,
Transaction tx)
Method to transition to commit state.
|
LifeCycleState |
LifeCycleState.transitionDeletePersistent(ObjectProvider op)
Method to transition to delete persistent state.
|
LifeCycleState |
LifeCycleState.transitionDetach(ObjectProvider op)
Method to transition to detached-clean.
|
LifeCycleState |
LifeCycleState.transitionEvict(ObjectProvider op)
Method to transition to evict state.
|
LifeCycleState |
LifeCycleState.transitionMakeNontransactional(ObjectProvider op)
Method to transition to nontransactional state.
|
LifeCycleState |
LifeCycleState.transitionMakePersistent(ObjectProvider op)
Method to transition to persistent state.
|
LifeCycleState |
LifeCycleState.transitionMakeTransactional(ObjectProvider op,
boolean refreshFields)
Method to transition to transactional state.
|
LifeCycleState |
LifeCycleState.transitionMakeTransient(ObjectProvider op,
boolean useFetchPlan,
boolean detachAllOnCommit)
Method to transition to transient state.
|
LifeCycleState |
LifeCycleState.transitionReadField(ObjectProvider op,
boolean isLoaded)
Method to transition to read-field state.
|
LifeCycleState |
LifeCycleState.transitionRefresh(ObjectProvider op)
Method to transition to refresh state.
|
LifeCycleState |
LifeCycleState.transitionRetrieve(ObjectProvider op,
boolean fgOnly)
Method to transition to retrieve state.
|
LifeCycleState |
LifeCycleState.transitionRetrieve(ObjectProvider op,
FetchPlan fetchPlan)
Method to transition to retrieve state.
|
LifeCycleState |
LifeCycleState.transitionRollback(ObjectProvider op,
Transaction tx)
Method to transition to rollback state.
|
LifeCycleState |
LifeCycleState.transitionSerialize(ObjectProvider op)
Method to transition when serialised.
|
LifeCycleState |
LifeCycleState.transitionWriteField(ObjectProvider op)
Method to transition to write-field state.
|
Constructor and Description |
---|
IllegalStateTransitionException(LifeCycleState state,
String transition,
ObjectProvider op)
Constructs an illegal state transition exception.
|
Copyright © 2019. All rights reserved.