Package | Description |
---|---|
org.apache.openjpa.abstractstore |
OpenJPA Abstract StoreManager Implementation
This package provides some infrastructure classes to help in the creation
of OpenJPA drivers for new non-relational data stores.
|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.util |
OpenJPA Utilities
This package provides utilities to facilitate the handling of second
class objects and OpenJPA object ids.
|
org.apache.openjpa.xmlstore |
XML Store
Simple XML store using the common OpenJPA runtime system as a front end.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataCacheStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object edata) |
Collection<Object> |
DataCacheStoreManager.loadAll(Collection<OpenJPAStateManager> sms,
PCState state,
int load,
FetchConfiguration fetch,
Object edata) |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Collection |
JDBCStoreManager.loadAll(Collection sms,
PCState state,
int load,
FetchConfiguration fetch,
Object context) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch)
Implement this method to load the state of a given object, without
a previous
Result . |
boolean |
ClassMapping.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch) |
Modifier and Type | Class and Description |
---|---|
class |
PNonTransDeletedState
Lifecycle state.
|
Modifier and Type | Field and Description |
---|---|
protected PCState |
StateManagerImpl._state |
static PCState |
PCState.ECLEAN
Embedded-Clean
|
static PCState |
PCState.ECOPY
Embedded-Copy
|
static PCState |
PCState.EDELETED
Embedded-Deleted
|
static PCState |
PCState.EDIRTY
Embedded-Dirty
|
static PCState |
PCState.ENONTRANS
Embedded-Nontransactional
|
static PCState |
PCState.HOLLOW
Hollow; exists in data store
|
static PCState |
PCState.PCLEAN
Persistent-Clean
|
static PCState |
PCState.PDELETED
Persistent-Deleted
|
static PCState |
PCState.PDELETEDFLUSHED
Persistent-Deleted-Flushed
|
static PCState |
PCState.PDIRTY
Persistent-Dirty
|
static PCState |
PCState.PNEW
Persistent-New
|
static PCState |
PCState.PNEWDELETED
Persistent-New-Deleted
|
static PCState |
PCState.PNEWFLUSHEDDELETED
Persistent-New-Flushed-Deleted
|
static PCState |
PCState.PNEWFLUSHEDDELETEDFLUSHED
Persistent-New-Flushed-Deleted-Flushed
|
static PCState |
PCState.PNEWPROVISIONAL
Persistent-New-Provisional
|
static PCState |
PCState.PNONTRANS
Persistent-Nontransactinoal
|
static PCState |
PCState.PNONTRANSDELETED
Persistent-Deleted-Nontransactional
|
static PCState |
PCState.PNONTRANSDIRTY
Persistent-Dirty-Nontransactinoal
|
static PCState |
PCState.PNONTRANSNEW
Persistent-New-Nontransactional
|
static PCState |
PCState.TCLEAN
Transient-Clean
|
static PCState |
PCState.TDIRTY
Transient-Dirty
|
static PCState |
PCState.TLOADED
Transient-Loaded
|
static PCState |
PCState.TRANSIENT
Transient; unmanaged instance
|
Modifier and Type | Method and Description |
---|---|
PCState |
ObjectIdStateManager.getPCState() |
PCState |
DetachedStateManager.getPCState() |
PCState |
StateManagerImpl.getPCState() |
PCState |
DetachedValueStateManager.getPCState() |
PCState |
OpenJPAStateManager.getPCState()
Return the state that this object is in.
|
Modifier and Type | Method and Description |
---|---|
void |
StoreManager.beforeStateChange(OpenJPAStateManager sm,
PCState fromState,
PCState toState)
Notification that the given state manager is about to change its
lifecycle state.
|
void |
DelegatingStoreManager.beforeStateChange(OpenJPAStateManager sm,
PCState fromState,
PCState toState) |
void |
ObjectIdStateManager.initialize(Class forType,
PCState state) |
void |
DetachedStateManager.initialize(Class forType,
PCState state) |
void |
StateManagerImpl.initialize(Class cls,
PCState state) |
void |
DetachedValueStateManager.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 |
AbstractPCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch) |
void |
PCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch)
Initializes the state manager.
|
boolean |
StoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object edata)
Initialize the given state manager.
|
boolean |
DelegatingStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object context) |
protected void |
StateManagerImpl.initialize(PersistenceCapable pc,
PCState state)
Initialize with the given instance and state.
|
Collection<Object> |
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.
|
Collection<Object> |
DelegatingStoreManager.loadAll(Collection<OpenJPAStateManager> sms,
PCState state,
int load,
FetchConfiguration fetch,
Object context) |
Constructor and Description |
---|
StateManagerImpl(StateManagerImpl sm,
PCState newState)
Create a new StateManager instance, optionally overriding the state
(FLUSHED, DELETED, etc) of the underlying PersistenceCapable instance).
|
Modifier and Type | Method and Description |
---|---|
static Collection |
ImplHelper.loadAll(Collection sms,
StoreManager store,
PCState state,
int load,
FetchConfiguration fetch,
Object context)
Helper for store manager implementations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XMLStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object context) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.