Package org.datanucleus.api.jdo.state
Class PersistentNontransactional
- java.lang.Object
-
- org.datanucleus.state.LifeCycleState
-
- org.datanucleus.api.jdo.state.PersistentNontransactional
-
class PersistentNontransactional extends org.datanucleus.state.LifeCycleState
Class representing the life cycle state of PersistentNontransactional.
-
-
Field Summary
-
Fields inherited from class org.datanucleus.state.LifeCycleState
DETACHED_CLEAN, DETACHED_DIRTY, HOLLOW, ILLEGAL_STATE, isDeleted, isDirty, isNew, isPersistent, isTransactional, P_CLEAN, P_DELETED, P_DIRTY, P_NEW, P_NEW_DELETED, P_NONTRANS, P_NONTRANS_DIRTY, stateType, T_CLEAN, T_DIRTY, TOTAL, TRANSIENT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PersistentNontransactional()
Protected Constructor to prevent external instantiation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Method to return a string version of this object.org.datanucleus.state.LifeCycleState
transitionCommit(org.datanucleus.state.DNStateManager sm, org.datanucleus.transaction.Transaction tx)
org.datanucleus.state.LifeCycleState
transitionDeletePersistent(org.datanucleus.state.DNStateManager sm)
org.datanucleus.state.LifeCycleState
transitionDetach(org.datanucleus.state.DNStateManager sm)
org.datanucleus.state.LifeCycleState
transitionEvict(org.datanucleus.state.DNStateManager sm)
org.datanucleus.state.LifeCycleState
transitionMakeTransactional(org.datanucleus.state.DNStateManager sm, boolean refreshFields)
org.datanucleus.state.LifeCycleState
transitionMakeTransient(org.datanucleus.state.DNStateManager sm, boolean useFetchPlan, boolean detachAllOnCommit)
org.datanucleus.state.LifeCycleState
transitionReadField(org.datanucleus.state.DNStateManager sm, boolean isLoaded)
org.datanucleus.state.LifeCycleState
transitionRefresh(org.datanucleus.state.DNStateManager sm)
org.datanucleus.state.LifeCycleState
transitionRetrieve(org.datanucleus.state.DNStateManager sm, boolean fgOnly)
org.datanucleus.state.LifeCycleState
transitionRetrieve(org.datanucleus.state.DNStateManager sm, org.datanucleus.FetchPlan fetchPlan)
org.datanucleus.state.LifeCycleState
transitionRollback(org.datanucleus.state.DNStateManager sm, org.datanucleus.transaction.Transaction tx)
org.datanucleus.state.LifeCycleState
transitionSerialize(org.datanucleus.state.DNStateManager sm)
org.datanucleus.state.LifeCycleState
transitionWriteField(org.datanucleus.state.DNStateManager sm)
-
-
-
Method Detail
-
transitionDeletePersistent
public org.datanucleus.state.LifeCycleState transitionDeletePersistent(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionDeletePersistent
in classorg.datanucleus.state.LifeCycleState
-
transitionMakeTransactional
public org.datanucleus.state.LifeCycleState transitionMakeTransactional(org.datanucleus.state.DNStateManager sm, boolean refreshFields)
- Overrides:
transitionMakeTransactional
in classorg.datanucleus.state.LifeCycleState
-
transitionMakeTransient
public org.datanucleus.state.LifeCycleState transitionMakeTransient(org.datanucleus.state.DNStateManager sm, boolean useFetchPlan, boolean detachAllOnCommit)
- Overrides:
transitionMakeTransient
in classorg.datanucleus.state.LifeCycleState
-
transitionCommit
public org.datanucleus.state.LifeCycleState transitionCommit(org.datanucleus.state.DNStateManager sm, org.datanucleus.transaction.Transaction tx)
- Overrides:
transitionCommit
in classorg.datanucleus.state.LifeCycleState
-
transitionRollback
public org.datanucleus.state.LifeCycleState transitionRollback(org.datanucleus.state.DNStateManager sm, org.datanucleus.transaction.Transaction tx)
- Overrides:
transitionRollback
in classorg.datanucleus.state.LifeCycleState
-
transitionRefresh
public org.datanucleus.state.LifeCycleState transitionRefresh(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionRefresh
in classorg.datanucleus.state.LifeCycleState
-
transitionEvict
public org.datanucleus.state.LifeCycleState transitionEvict(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionEvict
in classorg.datanucleus.state.LifeCycleState
-
transitionReadField
public org.datanucleus.state.LifeCycleState transitionReadField(org.datanucleus.state.DNStateManager sm, boolean isLoaded)
- Overrides:
transitionReadField
in classorg.datanucleus.state.LifeCycleState
-
transitionWriteField
public org.datanucleus.state.LifeCycleState transitionWriteField(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionWriteField
in classorg.datanucleus.state.LifeCycleState
-
transitionRetrieve
public org.datanucleus.state.LifeCycleState transitionRetrieve(org.datanucleus.state.DNStateManager sm, boolean fgOnly)
- Overrides:
transitionRetrieve
in classorg.datanucleus.state.LifeCycleState
-
transitionRetrieve
public org.datanucleus.state.LifeCycleState transitionRetrieve(org.datanucleus.state.DNStateManager sm, org.datanucleus.FetchPlan fetchPlan)
- Overrides:
transitionRetrieve
in classorg.datanucleus.state.LifeCycleState
-
transitionSerialize
public org.datanucleus.state.LifeCycleState transitionSerialize(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionSerialize
in classorg.datanucleus.state.LifeCycleState
-
transitionDetach
public org.datanucleus.state.LifeCycleState transitionDetach(org.datanucleus.state.DNStateManager sm)
- Overrides:
transitionDetach
in classorg.datanucleus.state.LifeCycleState
-
toString
public java.lang.String toString()
Method to return a string version of this object.- Specified by:
toString
in classorg.datanucleus.state.LifeCycleState
- Returns:
- The string "P_NONTRANS".
-
-