Uses of Interface
org.datanucleus.enhancement.StateManager
-
Packages that use StateManager Package Description org.datanucleus.api Provides adapters for different client APIs, like JDO, JPA and so on.org.datanucleus.enhancement DataNucleus ByteCode enhancement contract.org.datanucleus.enhancer DataNucleus ByteCode enhancer framework.org.datanucleus.state 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 StateManager Modifier and Type Method Description default 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 StateManager Modifier and Type Method Description StateManager
Persistable. dnGetStateManager()
Return the associated StateManager if there is one.StateManager
StateManager. replacingStateManager(Persistable pc, StateManager sm)
Replace the current value ofdnStateManager
.Methods in org.datanucleus.enhancement with parameters of type StateManager Modifier and Type Method Description Persistable
Persistable. dnNewInstance(StateManager sm)
Return a new instance of this class, with the StateManager set to the parameter, and dnFlags set to LOAD_REQUIRED.Persistable
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
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 StateManager Modifier and Type Method Description Persistable
EnhancementHelper. newInstance(Class pcClass, StateManager sm)
Create a new instance of the class and assign its StateManager.Persistable
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.state Modifier and Type Interface Description interface
DNStateManager<T>
StateManager for DataNucleus systems for a managed object, extending the basic enhancement contract for a StateManager.Classes in org.datanucleus.state that implement StateManager Modifier and Type Class Description class
ReferentialStateManagerImpl
Implementation of a StateManager for use where insertion ordering is important (such as RDBMS).class
StateManagerImpl
Implementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus.Methods in org.datanucleus.state that return StateManager Modifier and Type Method Description StateManager
StateManagerImpl. replacingStateManager(Persistable pc, StateManager sm)
Replace the current value of StateManager in the Persistable object.Methods in org.datanucleus.state with parameters of type StateManager Modifier and Type Method Description protected void
StateManagerImpl. replaceStateManager(Persistable pc, StateManager sm)
Utility to update the passed object with the passed StateManager (can be null).StateManager
StateManagerImpl. replacingStateManager(Persistable pc, StateManager sm)
Replace the current value of StateManager in the Persistable object.
-