Uses of Class
org.apache.openjpa.kernel.PCState
Packages that use 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
Methods in org.apache.openjpa.abstractstore with parameters of type PCStateModifier and TypeMethodDescriptionvoidAbstractStoreManager.beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState) abstract booleanAbstractStoreManager.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
Methods in org.apache.openjpa.datacache with parameters of type PCStateModifier and TypeMethodDescriptionbooleanDataCacheStoreManager.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
Methods in org.apache.openjpa.jdbc.kernel with parameters of type PCStateModifier and TypeMethodDescriptionvoidJDBCStoreManager.beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState) booleanJDBCStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) protected booleanJDBCStoreManager.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
Methods in org.apache.openjpa.jdbc.meta with parameters of type PCStateModifier and TypeMethodDescriptionbooleanClassMapping.customLoad(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) booleanClassStrategy.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 PCStateModifier and TypeMethodDescriptionbooleanAbstractClassStrategy.customLoad(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) -
Uses of PCState in org.apache.openjpa.kernel
Subclasses of PCState in org.apache.openjpa.kernelFields in org.apache.openjpa.kernel declared as PCStateModifier and TypeFieldDescriptionprotected PCStateStateManagerImpl._statestatic final PCStatePCState.ECLEANEmbedded-Cleanstatic final PCStatePCState.ECOPYEmbedded-Copystatic final PCStatePCState.EDELETEDEmbedded-Deletedstatic final PCStatePCState.EDIRTYEmbedded-Dirtystatic final PCStatePCState.ENONTRANSEmbedded-Nontransactionalstatic final PCStatePCState.HOLLOWHollow; exists in data storestatic final PCStatePCState.PCLEANPersistent-Cleanstatic final PCStatePCState.PDELETEDPersistent-Deletedstatic final PCStatePCState.PDELETEDFLUSHEDPersistent-Deleted-Flushedstatic final PCStatePCState.PDIRTYPersistent-Dirtystatic final PCStatePCState.PNEWPersistent-Newstatic final PCStatePCState.PNEWDELETEDPersistent-New-Deletedstatic final PCStatePCState.PNEWFLUSHEDDELETEDPersistent-New-Flushed-Deletedstatic final PCStatePCState.PNEWFLUSHEDDELETEDFLUSHEDPersistent-New-Flushed-Deleted-Flushedstatic final PCStatePCState.PNEWPROVISIONALPersistent-New-Provisionalstatic final PCStatePCState.PNONTRANSPersistent-Nontransactinoalstatic final PCStatePCState.PNONTRANSDELETEDPersistent-Deleted-Nontransactionalstatic final PCStatePCState.PNONTRANSDIRTYPersistent-Dirty-Nontransactinoalstatic final PCStatePCState.PNONTRANSNEWPersistent-New-Nontransactionalstatic final PCStatePCState.TCLEANTransient-Cleanstatic final PCStatePCState.TDIRTYTransient-Dirtystatic final PCStatePCState.TLOADEDTransient-Loadedstatic final PCStatePCState.TRANSIENTTransient; unmanaged instanceMethods in org.apache.openjpa.kernel that return PCStateModifier and TypeMethodDescriptionDetachedStateManager.getPCState()DetachedValueStateManager.getPCState()ObjectIdStateManager.getPCState()OpenJPAStateManager.getPCState()Return the state that this object is in.StateManagerImpl.getPCState()Methods in org.apache.openjpa.kernel with parameters of type PCStateModifier and TypeMethodDescriptionvoidDelegatingStoreManager.beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState) voidStoreManager.beforeStateChange(OpenJPAStateManager sm, PCState fromState, PCState toState) Notification that the given state manager is about to change its lifecycle state.voidAbstractPCResultObjectProvider.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) booleanDelegatingStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) voidDetachedStateManager.initialize(Class forType, PCState state) voidDetachedValueStateManager.initialize(Class forType, PCState state) voidObjectIdStateManager.initialize(Class forType, PCState state) voidOpenJPAStateManager.initialize(Class forType, PCState state) Initialize the state manager with a new instance of the given persistence capable type and the proper lifecycle state.voidPCResultObjectProvider.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) Initializes the state manager.voidStateManagerImpl.initialize(Class cls, PCState state) protected voidStateManagerImpl.initialize(PersistenceCapable pc, PCState state) Initialize with the given instance and state.booleanStoreManager.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.Constructors in org.apache.openjpa.kernel with parameters of type PCStateModifierConstructorDescriptionStateManagerImpl(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 PCStateModifier and TypeMethodDescriptionstatic CollectionImplHelper.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
Methods in org.apache.openjpa.xmlstore with parameters of type PCStateModifier and TypeMethodDescriptionbooleanXMLStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context)