Uses of Class
org.apache.openjpa.kernel.PCState
Package
Description
OpenJPA Abstract StoreManager Implementation
OpenJPA Data Cache
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA Runtime Kernel
OpenJPA Utilities
XML Store
-
Uses of PCState in org.apache.openjpa.abstractstore
Modifier and TypeMethodDescriptionvoid
AbstractStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) abstract boolean
AbstractStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) This method is invoked when OpenJPA needs to load an object whose identity is known but which has not yet been loaded from the data store.AbstractStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) This implementation just delegates to the proper singular method (StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)
orStoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)
) depending on each state manager's state. -
Uses of PCState in org.apache.openjpa.datacache
Modifier and TypeMethodDescriptionboolean
DataCacheStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) DataCacheStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) -
Uses of PCState in org.apache.openjpa.jdbc.kernel
Modifier and TypeMethodDescriptionvoid
JDBCStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) boolean
JDBCStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) protected boolean
JDBCStoreManager.initializeState
(OpenJPAStateManager sm, PCState state, JDBCFetchConfiguration fetch, ConnectionInfo info) Initialize a newly-loaded instance.JDBCStoreManager.loadAll
(Collection sms, PCState state, int load, FetchConfiguration fetch, Object context) -
Uses of PCState in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionboolean
ClassMapping.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) boolean
ClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) Implement this method to load the state of a given object, without a previousResult
. -
Uses of PCState in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionboolean
AbstractClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) -
Uses of PCState in org.apache.openjpa.kernel
Modifier and TypeFieldDescriptionprotected PCState
StateManagerImpl._state
static final PCState
PCState.ECLEAN
Embedded-Cleanstatic final PCState
PCState.ECOPY
Embedded-Copystatic final PCState
PCState.EDELETED
Embedded-Deletedstatic final PCState
PCState.EDIRTY
Embedded-Dirtystatic final PCState
PCState.ENONTRANS
Embedded-Nontransactionalstatic final PCState
PCState.HOLLOW
Hollow; exists in data storestatic final PCState
PCState.PCLEAN
Persistent-Cleanstatic final PCState
PCState.PDELETED
Persistent-Deletedstatic final PCState
PCState.PDELETEDFLUSHED
Persistent-Deleted-Flushedstatic final PCState
PCState.PDIRTY
Persistent-Dirtystatic final PCState
PCState.PNEW
Persistent-Newstatic final PCState
PCState.PNEWDELETED
Persistent-New-Deletedstatic final PCState
PCState.PNEWFLUSHEDDELETED
Persistent-New-Flushed-Deletedstatic final PCState
PCState.PNEWFLUSHEDDELETEDFLUSHED
Persistent-New-Flushed-Deleted-Flushedstatic final PCState
PCState.PNEWPROVISIONAL
Persistent-New-Provisionalstatic final PCState
PCState.PNONTRANS
Persistent-Nontransactinoalstatic final PCState
PCState.PNONTRANSDELETED
Persistent-Deleted-Nontransactionalstatic final PCState
PCState.PNONTRANSDIRTY
Persistent-Dirty-Nontransactinoalstatic final PCState
PCState.PNONTRANSNEW
Persistent-New-Nontransactionalstatic final PCState
PCState.TCLEAN
Transient-Cleanstatic final PCState
PCState.TDIRTY
Transient-Dirtystatic final PCState
PCState.TLOADED
Transient-Loadedstatic final PCState
PCState.TRANSIENT
Transient; unmanaged instanceModifier and TypeMethodDescriptionDetachedStateManager.getPCState()
DetachedValueStateManager.getPCState()
ObjectIdStateManager.getPCState()
OpenJPAStateManager.getPCState()
Return the state that this object is in.StateManagerImpl.getPCState()
Modifier and TypeMethodDescriptionvoid
DelegatingStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) void
StoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) Notification that the given state manager is about to change its lifecycle state.void
AbstractPCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) boolean
DelegatingStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) void
DetachedStateManager.initialize
(Class forType, PCState state) void
DetachedValueStateManager.initialize
(Class forType, PCState state) void
ObjectIdStateManager.initialize
(Class forType, PCState state) void
OpenJPAStateManager.initialize
(Class forType, PCState state) Initialize the state manager with a new instance of the given persistence capable type and the proper lifecycle state.void
PCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) Initializes the state manager.void
StateManagerImpl.initialize
(Class cls, PCState state) protected void
StateManagerImpl.initialize
(PersistenceCapable pc, PCState state) Initialize with the given instance and state.boolean
StoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) Initialize the given state manager.DelegatingStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object context) StoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) Initialize, load, or validate the existance of all of the given objects.ModifierConstructorDescriptionStateManagerImpl
(StateManagerImpl sm, PCState newState) Create a new StateManager instance, optionally overriding the state (FLUSHED, DELETED, etc) of the underlying PersistenceCapable instance). -
Uses of PCState in org.apache.openjpa.util
Modifier and TypeMethodDescriptionstatic Collection
ImplHelper.loadAll
(Collection sms, StoreManager store, PCState state, int load, FetchConfiguration fetch, Object context) Helper for store manager implementations. -
Uses of PCState in org.apache.openjpa.xmlstore
Modifier and TypeMethodDescriptionboolean
XMLStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context)