Uses of Interface
org.datanucleus.enhancement.StateManager
Packages that use StateManager
Package
Description
Provides adapters for different client APIs, like JDO, JPA and so on.
DataNucleus ByteCode enhancement contract.
DataNucleus ByteCode enhancer framework.
Provides classes relating to the life cycle state management of a persistable object.
-
Uses of StateManager in org.datanucleus.api
Methods in org.datanucleus.api that return StateManagerModifier and TypeMethodDescriptiondefault StateManager
ApiAdapter.getStateManager
(Object pc) Accessor for the state manager for the object. -
Uses of StateManager in org.datanucleus.enhancement
Methods in org.datanucleus.enhancement that return StateManagerModifier and TypeMethodDescriptionPersistable.dnGetStateManager()
Return the associated StateManager if there is one.StateManager.replacingStateManager
(Persistable pc, StateManager sm) Replace the current value ofdnStateManager
.Methods in org.datanucleus.enhancement with parameters of type StateManagerModifier and TypeMethodDescriptionPersistable.dnNewInstance
(StateManager sm) Return a new instance of this class, with the StateManager set to the parameter, and dnFlags set to LOAD_REQUIRED.Persistable.dnNewInstance
(StateManager sm, Object oid) Return a new instance of this class, with the StateManager set to the parameter, key fields initialised to the values in the oid, and dnFlags set to LOAD_REQUIRED.void
Persistable.dnReplaceStateManager
(StateManager sm) This method sets the StateManager instance that manages the state of this instance.StateManager.replacingStateManager
(Persistable pc, StateManager sm) Replace the current value ofdnStateManager
. -
Uses of StateManager in org.datanucleus.enhancer
Methods in org.datanucleus.enhancer with parameters of type StateManagerModifier and TypeMethodDescriptionEnhancementHelper.newInstance
(Class pcClass, StateManager sm) Create a new instance of the class and assign its StateManager.EnhancementHelper.newInstance
(Class pcClass, StateManager sm, Object oid) Create a new instance of the class and assign its StateManager and key values from the ObjectId. -
Uses of StateManager in org.datanucleus.state
Subinterfaces of StateManager in org.datanucleus.stateModifier and TypeInterfaceDescriptioninterface
StateManager for DataNucleus systems for a managed object, extending the basic enhancement contract for a StateManager.Classes in org.datanucleus.state that implement StateManagerModifier and TypeClassDescriptionclass
Implementation of a StateManager for use where insertion ordering is important (such as RDBMS).class
Implementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus.Methods in org.datanucleus.state that return StateManagerModifier and TypeMethodDescriptionStateManagerImpl.replacingStateManager
(Persistable pc, StateManager sm) Replace the current value of StateManager in the Persistable object.Methods in org.datanucleus.state with parameters of type StateManagerModifier and TypeMethodDescriptionprotected void
StateManagerImpl.replaceStateManager
(Persistable pc, StateManager sm) Utility to update the passed object with the passed StateManager (can be null).StateManagerImpl.replacingStateManager
(Persistable pc, StateManager sm) Replace the current value of StateManager in the Persistable object.