Uses of Class
org.apache.openjpa.kernel.StateManagerImpl
Package
Description
OpenJPA Enhancer
OpenJPA Runtime Kernel
Extended OpenJPA Interfaces for distributed databases.
-
Uses of StateManagerImpl in org.apache.openjpa.enhance
Modifier and TypeMethodDescriptionstatic void
RedefinitionHelper.assignLazyLoadProxies
(StateManagerImpl sm) Create a container instance that will delegate back to the state manager to emulate lazy loading. -
Uses of StateManagerImpl in org.apache.openjpa.kernel
Modifier and TypeMethodDescriptionStateManagerImpl.getObjectIdOwner()
protected StateManagerImpl
BrokerImpl.getStateManagerImpl
(Object obj, boolean assertThisContext) Return the state manager for the given instance, or null.protected StateManagerImpl
BrokerImpl.getStateManagerImplById
(Object oid, boolean allowNew) Return the state manager for the given oid.protected StateManagerImpl
BrokerImpl.initialize
(StateManagerImpl sm, boolean load, FetchConfiguration fetch, Object edata) Initialize a newly-constructed state manager.protected StateManagerImpl
BrokerImpl.newStateManagerImpl
(Object oid, ClassMetaData meta) Create a state manager for the given oid and metadata.Modifier and TypeMethodDescriptionprotected Map<StateManagerImpl,
org.apache.openjpa.kernel.SavepointFieldManager> OpenJPASavepoint.getStates()
Return the map of states to savepoint data.protected Collection<StateManagerImpl>
BrokerImpl.getTransactionalStates()
Return a copy of all transactional state managers.Modifier and TypeMethodDescriptionprotected void
BrokerImpl.assignObjectId
(Object cache, Object id, StateManagerImpl sm) Assign the object id to the cache.protected StateManagerImpl
BrokerImpl.initialize
(StateManagerImpl sm, boolean load, FetchConfiguration fetch, Object edata) Initialize a newly-constructed state manager.protected boolean
AuditManager.isAuditable
(AuditableOperation op, StateManagerImpl sm) Affirms if the given state manager is auditable for the given operation.protected void
DetachedStateManager.provideField
(Object toAttach, StateManagerImpl sm, int field) protected void
BrokerImpl.setStateManager
(Object id, StateManagerImpl sm, int status) Set the cached StateManager for the instance that had the given oid.Modifier and TypeMethodDescriptionvoid
DetachManagerLite.detachAll
(Collection<StateManagerImpl> states) This method will detach all provided StateManagers in place.void
OpenJPASavepoint.save
(Collection<StateManagerImpl> states) Set this savepoint, saving any state for the passed-inOpenJPAStateManager
s as necessary.ModifierConstructorDescriptionCreate a new StateManager instance based on the StateManager provided.StateManagerImpl
(StateManagerImpl sm, PCState newState) Create a new StateManager instance, optionally overriding the state (FLUSHED, DELETED, etc) of the underlying PersistenceCapable instance). -
Uses of StateManagerImpl in org.apache.openjpa.slice
Modifier and TypeMethodDescriptionprotected void
DistributedBrokerImpl.setStateManager
(Object id, StateManagerImpl sm, int status)