Package | Description |
---|---|
org.apache.openjpa.abstractstore |
OpenJPA Abstract StoreManager Implementation
|
org.apache.openjpa.datacache |
OpenJPA Data Cache
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
org.apache.openjpa.util |
OpenJPA Utilities
|
org.apache.openjpa.xmlstore |
XML Store
|
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 |
StateManagerImpl.getPCState() |
PCState |
OpenJPAStateManager.getPCState()
Return the state that this object is in.
|
PCState |
ObjectIdStateManager.getPCState() |
PCState |
DetachedValueStateManager.getPCState() |
PCState |
DetachedStateManager.getPCState() |
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 |
StateManagerImpl.initialize(Class cls,
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 |
ObjectIdStateManager.initialize(Class forType,
PCState state) |
void |
DetachedValueStateManager.initialize(Class forType,
PCState state) |
void |
DetachedStateManager.initialize(Class forType,
PCState state) |
void |
PCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch)
Initializes the state manager.
|
void |
AbstractPCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch) |
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–2017 Apache Software Foundation. All rights reserved.