Uses of Class
org.apache.openjpa.kernel.PCState
-
Packages that use PCState Package Description org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementationorg.apache.openjpa.datacache OpenJPA Data Cacheorg.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.util OpenJPA Utilitiesorg.apache.openjpa.xmlstore XML Store -
-
Uses of PCState in org.apache.openjpa.abstractstore
Methods in org.apache.openjpa.abstractstore with parameters of type PCState Modifier and Type Method Description void
AbstractStoreManager. beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState)
abstract boolean
AbstractStoreManager. initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.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.java.util.Collection<java.lang.Object>
AbstractStoreManager. loadAll(java.util.Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, java.lang.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
Methods in org.apache.openjpa.datacache with parameters of type PCState Modifier and Type Method Description boolean
DataCacheStoreManager. initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object edata)
java.util.Collection<java.lang.Object>
DataCacheStoreManager. loadAll(java.util.Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object edata)
-
Uses of PCState in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel with parameters of type PCState Modifier and Type Method Description void
JDBCStoreManager. beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState)
boolean
JDBCStoreManager. initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object context)
protected boolean
JDBCStoreManager. initializeState(OpenJPAStateManager sm, PCState state, JDBCFetchConfiguration fetch, ConnectionInfo info)
Initialize a newly-loaded instance.java.util.Collection
JDBCStoreManager. loadAll(java.util.Collection sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object context)
-
Uses of PCState in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta with parameters of type PCState Modifier and Type Method Description boolean
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
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type PCState Modifier and Type Method Description boolean
AbstractClassStrategy. customLoad(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch)
-
Uses of PCState in org.apache.openjpa.kernel
Subclasses of PCState in org.apache.openjpa.kernel Modifier and Type Class Description class
PNonTransDeletedState
Lifecycle state.Fields in org.apache.openjpa.kernel declared as PCState Modifier and Type Field Description protected PCState
StateManagerImpl. _state
static PCState
PCState. ECLEAN
Embedded-Cleanstatic PCState
PCState. ECOPY
Embedded-Copystatic PCState
PCState. EDELETED
Embedded-Deletedstatic PCState
PCState. EDIRTY
Embedded-Dirtystatic PCState
PCState. ENONTRANS
Embedded-Nontransactionalstatic PCState
PCState. HOLLOW
Hollow; exists in data storestatic PCState
PCState. PCLEAN
Persistent-Cleanstatic PCState
PCState. PDELETED
Persistent-Deletedstatic PCState
PCState. PDELETEDFLUSHED
Persistent-Deleted-Flushedstatic PCState
PCState. PDIRTY
Persistent-Dirtystatic PCState
PCState. PNEW
Persistent-Newstatic PCState
PCState. PNEWDELETED
Persistent-New-Deletedstatic PCState
PCState. PNEWFLUSHEDDELETED
Persistent-New-Flushed-Deletedstatic PCState
PCState. PNEWFLUSHEDDELETEDFLUSHED
Persistent-New-Flushed-Deleted-Flushedstatic PCState
PCState. PNEWPROVISIONAL
Persistent-New-Provisionalstatic PCState
PCState. PNONTRANS
Persistent-Nontransactinoalstatic PCState
PCState. PNONTRANSDELETED
Persistent-Deleted-Nontransactionalstatic PCState
PCState. PNONTRANSDIRTY
Persistent-Dirty-Nontransactinoalstatic PCState
PCState. PNONTRANSNEW
Persistent-New-Nontransactionalstatic PCState
PCState. TCLEAN
Transient-Cleanstatic PCState
PCState. TDIRTY
Transient-Dirtystatic PCState
PCState. TLOADED
Transient-Loadedstatic PCState
PCState. TRANSIENT
Transient; unmanaged instanceMethods in org.apache.openjpa.kernel that return PCState Modifier and Type Method Description PCState
DetachedStateManager. getPCState()
PCState
DetachedValueStateManager. getPCState()
PCState
ObjectIdStateManager. getPCState()
PCState
OpenJPAStateManager. getPCState()
Return the state that this object is in.PCState
StateManagerImpl. getPCState()
Methods in org.apache.openjpa.kernel with parameters of type PCState Modifier and Type Method Description void
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, java.lang.Object context)
void
DetachedStateManager. initialize(java.lang.Class forType, PCState state)
void
DetachedValueStateManager. initialize(java.lang.Class forType, PCState state)
void
ObjectIdStateManager. initialize(java.lang.Class forType, PCState state)
void
OpenJPAStateManager. initialize(java.lang.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(java.lang.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, java.lang.Object edata)
Initialize the given state manager.java.util.Collection<java.lang.Object>
DelegatingStoreManager. loadAll(java.util.Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object context)
java.util.Collection<java.lang.Object>
StoreManager. loadAll(java.util.Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object edata)
Initialize, load, or validate the existance of all of the given objects.Constructors in org.apache.openjpa.kernel with parameters of type PCState Constructor Description StateManagerImpl(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
Methods in org.apache.openjpa.util with parameters of type PCState Modifier and Type Method Description static java.util.Collection
ImplHelper. loadAll(java.util.Collection sms, StoreManager store, PCState state, int load, FetchConfiguration fetch, java.lang.Object context)
Helper for store manager implementations. -
Uses of PCState in org.apache.openjpa.xmlstore
Methods in org.apache.openjpa.xmlstore with parameters of type PCState Modifier and Type Method Description boolean
XMLStoreManager. initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object context)
-