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.event |
OpenJPA Events
This package provides some interfaces and useful implementations
for OpenJPA's event notification framework.
|
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.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
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.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.persistence.jest | |
org.apache.openjpa.slice |
Extended OpenJPA Interfaces for distributed databases.
|
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 |
---|---|
protected boolean |
AbstractStoreManager.assignDataStoreId(OpenJPAStateManager sm,
Object val)
Assign a new datastore identity to the given instance.
|
boolean |
AbstractStoreManager.assignField(OpenJPAStateManager sm,
int field,
boolean preFlush) |
boolean |
AbstractStoreManager.assignObjectId(OpenJPAStateManager sm,
boolean preFlush) |
void |
AbstractStoreManager.beforeStateChange(OpenJPAStateManager sm,
PCState fromState,
PCState toState) |
int |
AbstractStoreManager.compareVersion(OpenJPAStateManager state,
Object v1,
Object v2)
|
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.
|
abstract boolean |
AbstractStoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object edata)
This method is invoked when OpenJPA needs to load additional data
into an object that has already been at least partially loaded by
a previous
AbstractStoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object) invocation. |
boolean |
AbstractStoreManager.syncVersion(OpenJPAStateManager sm,
Object edata)
Since this store manager does not provide optimistic locking
support, this method always returns
true . |
Modifier and Type | Method and Description |
---|---|
protected void |
DataCachePCDataImpl.clearInverseRelationCache(OpenJPAStateManager sm,
FieldMetaData fmd)
Check if this field is in use of "order by" by other field collections
in inverse relation.
|
Object |
QueryCacheStoreQuery.evaluate(Object value,
Object ob,
Object[] params,
OpenJPAStateManager sm) |
boolean |
DataCacheStoreManager.exists(OpenJPAStateManager sm,
Object edata) |
boolean |
DataCacheStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object edata) |
boolean |
DataCacheStoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object edata) |
AbstractPCData |
DataCachePCDataImpl.newEmbeddedPCData(OpenJPAStateManager sm) |
DataCache |
DataCacheManager.selectCache(OpenJPAStateManager sm)
Select the cache where the given managed proxy instance should be cached.
|
DataCache |
AbstractDataCache.selectCache(OpenJPAStateManager sm) |
DataCache |
DataCacheManagerImpl.selectCache(OpenJPAStateManager sm)
Select cache for the given managed instance.
|
String |
CacheDistributionPolicy.selectCache(OpenJPAStateManager sm,
Object context)
Selects the name of the cache where the given managed proxy object state be cached.
|
String |
TypeBasedCacheDistributionPolicy.selectCache(OpenJPAStateManager sm,
Object context) |
String |
DefaultCacheDistributionPolicy.selectCache(OpenJPAStateManager sm,
Object context) |
void |
DataCachePCDataImpl.store(OpenJPAStateManager sm) |
void |
DataCachePCDataImpl.store(OpenJPAStateManager sm,
BitSet fields) |
protected void |
DataCachePCDataImpl.storeField(OpenJPAStateManager sm,
FieldMetaData fmd)
Store field-level information from the given state manager.
|
boolean |
DataCacheStoreManager.syncVersion(OpenJPAStateManager sm,
Object edata) |
Modifier and Type | Method and Description |
---|---|
Collection<Exception> |
DataCacheStoreManager.flush(Collection<OpenJPAStateManager> states) |
Collection<Object> |
DataCacheStoreManager.loadAll(Collection<OpenJPAStateManager> sms,
PCState state,
int load,
FetchConfiguration fetch,
Object edata) |
Modifier and Type | Method and Description |
---|---|
Object |
ExceptionOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Object |
NoneOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Object |
OrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
Object |
LogOrphanedKeyAction.orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd) |
Modifier and Type | Field and Description |
---|---|
OpenJPAStateManager |
ConnectionInfo.sm |
Modifier and Type | Method and Description |
---|---|
boolean |
JDBCStoreManager.assignField(OpenJPAStateManager sm,
int field,
boolean preFlush) |
boolean |
JDBCStoreManager.assignObjectId(OpenJPAStateManager sm,
boolean preFlush) |
void |
JDBCStoreManager.beforeStateChange(OpenJPAStateManager sm,
PCState fromState,
PCState toState) |
protected void |
PessimisticLockManager.checkLock(ResultSet rs,
OpenJPAStateManager sm,
int timeout)
This method is to provide override for non-JDBC or JDBC-like
implementation of checking lock from the result set.
|
int |
JDBCStoreManager.compareVersion(OpenJPAStateManager state,
Object v1,
Object v2) |
protected void |
AbstractUpdateManager.delete(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to delete the given instance, base class last.
|
Object |
JDBCStoreQuery.evaluate(Object value,
Object ob,
Object[] params,
OpenJPAStateManager sm) |
Result |
FinderQueryImpl.execute(OpenJPAStateManager sm,
StoreManager store,
FetchConfiguration fetch) |
boolean |
JDBCStoreManager.exists(OpenJPAStateManager sm,
Object context) |
protected void |
JDBCStoreManager.getVersion(ClassMapping mapping,
OpenJPAStateManager sm,
Result res)
This method is to provide override for non-JDBC or JDBC-like
implementation of getting version from the result set.
|
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.
|
protected void |
AbstractUpdateManager.insert(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to insert the given instance, base class first.
|
boolean |
JDBCStoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object context) |
void |
PessimisticLockManager.loadedForUpdate(OpenJPAStateManager sm) |
void |
JDBCLockManager.loadedForUpdate(OpenJPAStateManager sm)
Notification that the given instance was loaded via a result set
produced by a FOR UPDATE select.
|
protected void |
PessimisticLockManager.lockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata,
boolean postVersionCheck) |
protected void |
MixedLockManager.lockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata,
boolean postLockVersionCheck) |
protected void |
MixedLockManager.optimisticLockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata,
boolean postLockVersionCheck) |
protected Collection |
AbstractUpdateManager.populateRowManager(OpenJPAStateManager sm,
RowManager rowMgr,
JDBCStore store,
Collection exceps,
Collection customs)
Populate the row manager with rows to be flushed for the given state.
|
boolean |
JDBCStoreManager.select(Select sel,
ClassMapping mapping,
int subs,
OpenJPAStateManager sm,
BitSet fields,
JDBCFetchConfiguration fetch,
int eager,
boolean ident,
boolean outer)
For implementation use only.
|
protected void |
JDBCStoreManager.setMappedBy(OpenJPAStateManager sm,
FieldMapping mappedByFieldMapping,
Object mappedByObject) |
boolean |
JDBCStoreManager.syncVersion(OpenJPAStateManager sm,
Object context) |
protected void |
AbstractUpdateManager.update(OpenJPAStateManager sm,
BitSet dirty,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs,
boolean updateIndicators)
Recursive method to update the given instance.
|
protected void |
AbstractUpdateManager.updateIndicators(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs,
boolean versionUpdateOnly)
Update version and discriminator indicators.
|
Modifier and Type | Method and Description |
---|---|
Collection |
JDBCStoreManager.flush(Collection<OpenJPAStateManager> sms) |
Constructor and Description |
---|
CustomMapping(int action,
OpenJPAStateManager sm,
Strategy strat) |
Modifier and Type | Method and Description |
---|---|
void |
Version.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
void |
VersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store)
This method is called after data is loaded into the instance, in
case the version indicator works off of a state image.
|
boolean |
Version.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
boolean |
VersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion)
Checks the version of the given state manager with the version
stored in memory.
|
void |
Discriminator.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
Strategy.customDelete(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Version.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
Discriminator.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
Strategy.customInsert(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Version.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
boolean |
ClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result)
Implement this method to customize loading from a
Result
into an instance. |
boolean |
ClassMapping.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result) |
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) |
void |
Discriminator.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
Strategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Version.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
Discriminator.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set the where values appropriately to delete the proper instance,
and set all relations on non-secondary tables as updates.
|
void |
Version.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.deleteRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Delete the row for this object if the reference foreign key exists.
|
Object |
DelegatingJoinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
Joinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
Return the join value of the given column.
|
Row |
FieldMapping.getRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
int action)
Return the row to use for this field.
|
void |
Discriminator.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
Version.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
Boolean |
Discriminator.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Strategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.FALSE if this mapping does not customize the
delete process, Boolean.TRUE if it does, or null if it does
customize the delete, but also relies on the standard delete method
being called. |
Boolean |
Version.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Discriminator.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Strategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.FALSE if this mapping does not customize the
insert process, Boolean.TRUE if it does, or null if it does
customize the insert, but also relies on the standard insert method
being called. |
Boolean |
Version.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Discriminator.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Strategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.FALSE if this mapping does not customize the
update process, Boolean.TRUE if it does, or null if it does
customize the update, but also relies on the standard update method
being called. |
Boolean |
Version.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
FieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch)
Load secondary data using a connection from the store manager.
|
void |
FieldMapping.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
FieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res)
Load virtual row data; the given result is not guaranteed to contain
data for this field, so the field mapping should make sure the
result contains its needed column data before loading.
|
Object |
Version.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
VersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res)
Load data.
|
Object |
Version.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
VersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins)
Load data.
|
void |
FieldMapping.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
FieldStrategy.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res)
Load the joined eager result.
|
Object |
FieldMapping.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
FieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res)
Load the batched eager result.
|
void |
Embeddable.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val)
Load this strategy's field by transforming the given datastore value.
|
int |
FieldMapping.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
FieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Select the virtual row columns of this mapping.
|
void |
FieldMapping.selectEagerJoin(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
FieldStrategy.selectEagerJoin(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Fill in joined select to related objects.
|
void |
FieldMapping.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
FieldStrategy.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Fill in parallel eager select for related objects.
|
void |
DelegatingJoinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen) |
void |
Joinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen)
Use the given auto-assigned value to set this join value's field
on the given instance.
|
void |
FieldMapping.setForeignKey(Row row,
OpenJPAStateManager sm) |
void |
ValueMappingImpl.setForeignKey(Row row,
OpenJPAStateManager rel) |
void |
ValueMapping.setForeignKey(Row row,
OpenJPAStateManager rel)
Sets this value's foreign key to the given related object.
|
void |
FieldMapping.setForeignKey(Row row,
OpenJPAStateManager sm,
int targetNumber) |
void |
ValueMappingImpl.setForeignKey(Row row,
OpenJPAStateManager rel,
int targetNumber) |
void |
ValueMapping.setForeignKey(Row row,
OpenJPAStateManager rel,
int targetNumber)
Sets this value's foreign key to the given related object.
|
boolean |
ClassStrategy.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch)
Return true if this strategy can perform the given select from
the given
base mapping. |
boolean |
ClassMapping.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch) |
int |
FieldMapping.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
FieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch)
Return whether this mapping can perform the given select type.
|
Object |
ValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch)
Translate the given datastore value into its Java equivalent.
|
Object |
RelationId.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col)
Return the serialized value for the given related object, now that
its id has been assigned.
|
void |
Discriminator.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
Version.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
FieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue)
Add a WHERE condition to the row for this field such that the field's
current DB value must equal the given previous value.
|
void |
FieldMapping.whereForeignKey(Row row,
OpenJPAStateManager sm) |
void |
ValueMappingImpl.whereForeignKey(Row row,
OpenJPAStateManager rel) |
void |
ValueMapping.whereForeignKey(Row row,
OpenJPAStateManager rel)
Sets this value's foreign key to the given related object.
|
void |
FieldMapping.wherePrimaryKey(Select sel,
OpenJPAStateManager sm,
JDBCStore store)
Add a
wherePrimaryKey or whereForeignKey
condition to the given select, depending on whether we have a join
foreign key. |
Modifier and Type | Method and Description |
---|---|
static OpenJPAStateManager |
RelationStrategies.getStateManager(Object obj,
StoreContext ctx)
Return the state manager for the given instance, using a detached
state manager if the instnace is not managed.
|
Modifier and Type | Method and Description |
---|---|
void |
SuperclassVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
void |
StateComparisonVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
boolean |
ColumnVersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
boolean |
SuperclassVersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
boolean |
StateComparisonVersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
boolean |
AbstractVersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
void |
EmbedFieldStrategy.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractStrategy.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
EmbedFieldStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
StateComparisonVersionStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store)
This method is for class mappings that take over the insert
process, but still want to use this indicator for optimistic locking.
|
void |
LobFieldStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
boolean |
AbstractClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result) |
boolean |
AbstractClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch) |
void |
EmbedFieldStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
LobFieldStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
StateComparisonVersionStrategy.CustomUpdate |
StateComparisonVersionStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store,
Table table,
boolean record)
This method is for class mappings that take over the update
process, but still want to use this indicator for optimistic locking.
|
void |
HandlerRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
MapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.delete(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Delete an embedded object record.
|
Object |
PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
StringFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
EmbeddedClassStrategy.getNullIndicatorValue(OpenJPAStateManager sm)
Return the proper synthetic null indicator value for the given instance.
|
Result[] |
HandlerRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationMapInverseKeyFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
RelationHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
HandlerHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
LRSMapFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs)
Return results containing all keys and values for this map.
|
Row |
StateComparisonVersionStrategy.CustomUpdate.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create) |
protected Object |
MaxEmbeddedBlobFieldStrategy.getValue(OpenJPAStateManager sm) |
protected Object |
MaxEmbeddedClobFieldStrategy.getValue(OpenJPAStateManager sm) |
protected Object |
MaxEmbeddedCharArrayFieldStrategy.getValue(OpenJPAStateManager sm) |
protected Object |
MaxEmbeddedByteArrayFieldStrategy.getValue(OpenJPAStateManager sm) |
void |
HandlerRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
InValueDiscriminatorStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.insert(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Insert an embedded object.
|
protected Boolean |
MaxEmbeddedBlobFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedClobFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedCharArrayFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedByteArrayFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
LobFieldStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
LobFieldStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
MapTableFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
StoreCollectionFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
AbstractFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
RelationFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
HandlerFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
PrimitiveFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
EmbedFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
StringFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
AbstractFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
RelationFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
LobFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
HandlerFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
Object |
ColumnVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
AbstractVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
ColumnVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
AbstractVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
void |
StoreCollectionFieldStrategy.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
AbstractFieldStrategy.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
RelationFieldStrategy.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
Object |
StoreCollectionFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
AbstractFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
RelationFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
protected Object |
RelationToManyInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
protected abstract Object |
StoreCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
Object |
RelationCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationCollectionInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
protected Object |
RelationToManyTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
void |
PrimitiveFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
EmbedFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
StringFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
RelationFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
HandlerFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
Object |
HandlerRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a key from the given result.
|
static Object |
HandlerStrategies.loadObject(ValueMapping vm,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins,
Column[] cols,
boolean objectValueRequiresLoad)
Load the Object value from the given result.
|
Object |
HandlerRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a value from the given result.
|
protected boolean |
MapTableFieldStrategy.populateKey(Row row,
OpenJPAStateManager valsm,
Object obj,
StoreContext ctx,
RowManager rm,
JDBCStore store) |
protected void |
MaxEmbeddedBlobFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedClobFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedCharArrayFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
protected void |
MaxEmbeddedByteArrayFieldStrategy.putData(OpenJPAStateManager sm,
ResultSet rs,
DBDictionary dict) |
int |
PrimitiveFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
EmbedFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
StringFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
AbstractFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
RelationFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
LobFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
HandlerFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
protected Joins |
StoreCollectionFieldStrategy.selectAll(Select sel,
ClassMapping elem,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Select data for loading, starting in field table.
|
void |
StoreCollectionFieldStrategy.selectEagerJoin(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
AbstractFieldStrategy.selectEagerJoin(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
RelationFieldStrategy.selectEagerJoin(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
StoreCollectionFieldStrategy.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
AbstractFieldStrategy.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
RelationFieldStrategy.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
void |
HandlerRelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationRelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapInverseKeyFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
HandlerHandlerMapTableFieldStrategy.selectKey(Select sel,
ClassMapping cls,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
LRSMapFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Implement this method to select the keys of this field.
|
void |
HandlerRelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationRelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapInverseKeyFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
HandlerHandlerMapTableFieldStrategy.selectValue(Select sel,
ClassMapping cls,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
LRSMapFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Implement this method to select the values of this field.
|
void |
PrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
StringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
RelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
HandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
boolean |
AbstractClassStrategy.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch) |
boolean |
FullClassStrategy.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch) |
boolean |
VerticalClassStrategy.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch) |
int |
PrimitiveFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
MapTableFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
EmbedFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
StringFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
StoreCollectionFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
HandlerCollectionTableFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
AbstractFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
RelationFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
LobFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
HandlerFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
protected Object |
EmbedValueHandler.toDataStoreValue(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
Object rval,
int idx)
Helper to convert an object value to its datastore equivalent.
|
protected int |
EmbedValueHandler.toDataStoreValue1(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
List rvals,
int idx) |
protected void |
EmbedValueHandler.toObjectValue(OpenJPAStateManager em,
ValueMapping vm,
Object val,
JDBCStore store,
JDBCFetchConfiguration fetch,
Column[] cols,
int idx)
Helper to convert a datastore value to its object equivalent.
|
Object |
UntypedPCValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
AbstractValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
ElementEmbedValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
protected int |
EmbedValueHandler.toObjectValue1(OpenJPAStateManager em,
ValueMapping vm,
Object val,
JDBCStore store,
JDBCFetchConfiguration fetch,
Column[] cols,
int idx) |
Object |
UntypedPCValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col) |
Object |
ElementEmbedValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col) |
void |
HandlerRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.update(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Update an embedded object.
|
protected void |
MaxEmbeddedBlobFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedClobFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedCharArrayFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedByteArrayFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
void |
PrimitiveFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
StringFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
AbstractFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
HandlerFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
Modifier and Type | Method and Description |
---|---|
OpenJPAStateManager |
PrimaryRow.getForeignKeySet(ForeignKey fk)
Return the value for the given foreign key.
|
OpenJPAStateManager |
PrimaryRow.getForeignKeyWhere(ForeignKey fk)
Return the value for the given foreign key.
|
OpenJPAStateManager |
Row.getPrimaryKey()
Return the instance that controls this row.
|
OpenJPAStateManager |
PrimaryRow.getPrimaryKey() |
OpenJPAStateManager |
RowImpl.getPrimaryKey()
This implementation does not track primary keys.
|
OpenJPAStateManager |
PrimaryRow.getRelationIdSet(Column col)
Return the recorded value for the given relation id column.
|
Modifier and Type | Method and Description |
---|---|
Row |
RowManager.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create)
Return the row for the given table and owner object, or null if
create is false and the row has not already been created. |
Row |
RowManagerImpl.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create) |
void |
Row.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm)
Set the value of the given foreign key to the given object.
|
void |
PrimaryRow.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
RowImpl.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
SecondaryRow.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
Row.setForeignKey(ForeignKey fk,
OpenJPAStateManager sm)
Set the value of the given foreign key to the given object.
|
void |
PrimaryRow.setForeignKey(ForeignKey fk,
OpenJPAStateManager sm) |
void |
RowImpl.setForeignKey(ForeignKey fk,
OpenJPAStateManager sm) |
void |
SecondaryRow.setForeignKey(ForeignKey fk,
OpenJPAStateManager sm) |
void |
Row.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm)
Set the primary key to represent the given object.
|
void |
PrimaryRow.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm) |
void |
RowImpl.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm) |
void |
Row.setPrimaryKey(OpenJPAStateManager sm)
Set the primary key to represent the given object.
|
void |
PrimaryRow.setPrimaryKey(OpenJPAStateManager sm) |
void |
RowImpl.setPrimaryKey(OpenJPAStateManager sm) |
void |
Row.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
Set the value of the given column to the identity of given instance,
using the given callback to create the column value.
|
void |
PrimaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
void |
RowImpl.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
void |
SecondaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
boolean |
DBDictionary.validateBatchProcess(RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Validate the batch process.
|
boolean |
DBDictionary.validateDBSpecificBatchProcess(boolean disableBatch,
RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Allow each Dictionary to validate its own batch process.
|
void |
Row.whereForeignKey(ForeignKey fk,
OpenJPAStateManager sm)
Set the foreign key equality criteria to link to the given object.
|
void |
PrimaryRow.whereForeignKey(ForeignKey fk,
OpenJPAStateManager sm) |
void |
RowImpl.whereForeignKey(ForeignKey fk,
OpenJPAStateManager sm) |
void |
Row.wherePrimaryKey(OpenJPAStateManager sm)
Set the primary key equality criteria for this row.
|
void |
PrimaryRow.wherePrimaryKey(OpenJPAStateManager sm) |
void |
RowImpl.wherePrimaryKey(OpenJPAStateManager sm) |
Constructor and Description |
---|
PrimaryRow(Column[] cols,
int action,
OpenJPAStateManager owner) |
PrimaryRow(Table table,
int action,
OpenJPAStateManager owner)
Constructor; supply table and action.
|
Modifier and Type | Class and Description |
---|---|
class |
DetachedStateManager
Internal state manager for detached instances.
|
class |
DetachedValueStateManager
Implementation of
OpenJPAStateManager designed to retrieve
values from a detached instance, including when managed by a
DetachedStateManager . |
class |
ObjectIdStateManager
State manager used to access state of embedded object id primary key fields.
|
class |
StateManagerImpl
Implementation of the
OpenJPAStateManager interface for use
with this runtime. |
Modifier and Type | Method and Description |
---|---|
OpenJPAStateManager |
DelegatingBroker.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
BrokerImpl.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
StoreContext.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta)
Make the given instance embedded.
|
OpenJPAStateManager |
ObjectIdStateManager.getOwner() |
OpenJPAStateManager |
DetachedStateManager.getOwner() |
OpenJPAStateManager |
StateManagerImpl.getOwner() |
OpenJPAStateManager |
OpenJPAStateManager.getOwner()
Return the owning state if this is an embedded instance.
|
OpenJPAStateManager |
DetachedValueStateManager.getOwner() |
OpenJPAStateManager |
DelegatingBroker.getStateManager(Object obj) |
OpenJPAStateManager |
BrokerImpl.getStateManager(Object obj) |
OpenJPAStateManager |
StoreContext.getStateManager(Object obj)
Return the state manager for the given instance.
|
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
boolean explicit,
OpCallbacks call)
Persist the given object.
|
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
boolean explicit,
OpCallbacks call,
boolean fireEvent)
Persist the given object.
|
OpenJPAStateManager |
Broker.persist(Object pc,
Object id,
OpCallbacks call)
Make the given instance persistent.
|
OpenJPAStateManager |
DelegatingBroker.persist(Object obj,
Object id,
OpCallbacks call) |
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
OpCallbacks call) |
Modifier and Type | Method and Description |
---|---|
protected void |
InverseManager.addToCollection(OpenJPAStateManager sm,
FieldMetaData fmd,
Object val)
Add the given value to the collection at the selected field.
|
boolean |
DelegatingStoreManager.assignField(OpenJPAStateManager sm,
int field,
boolean preFlush) |
boolean |
StoreManager.assignField(OpenJPAStateManager sm,
int field,
boolean preFlush)
Assign a value to the given field.
|
boolean |
DelegatingStoreManager.assignObjectId(OpenJPAStateManager sm,
boolean preFlush) |
boolean |
StoreManager.assignObjectId(OpenJPAStateManager sm,
boolean preFlush)
Assign an object id to the given new instance.
|
Object |
DetachedStateManager.attach(AttachManager manager,
Object toAttach,
ClassMetaData meta,
PersistenceCapable into,
OpenJPAStateManager owner,
ValueMetaData ownerMeta,
boolean explicit) |
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.
|
protected void |
InverseManager.clearInverseRelations(OpenJPAStateManager sm,
FieldMetaData fmd,
FieldMetaData[] inverses,
Object newValue)
Remove all relations between the initial value of
fmd for
the instance managed by sm and its inverses. |
protected void |
InverseManager.clearInverseRelations(OpenJPAStateManager sm,
Object val,
FieldMetaData fmd,
FieldMetaData[] inverses)
Clear all inverse the relations from
val to the instance
managed by sm . |
int |
DelegatingStoreManager.compareVersion(OpenJPAStateManager state,
Object v1,
Object v2) |
int |
StoreManager.compareVersion(OpenJPAStateManager state,
Object v1,
Object v2)
Compare the two version objects.
|
void |
InverseManager.correctRelations(OpenJPAStateManager sm,
FieldMetaData fmd,
Object value)
Correct relations from the given dirty field to inverse instances.
|
OpenJPAStateManager |
DelegatingBroker.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
BrokerImpl.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta) |
OpenJPAStateManager |
StoreContext.embed(Object obj,
Object id,
OpenJPAStateManager owner,
ValueMetaData ownerMeta)
Make the given instance embedded.
|
Object |
AbstractStoreQuery.evaluate(Object value,
Object ob,
Object[] params,
OpenJPAStateManager sm) |
Object |
StoreQuery.evaluate(Object value,
Object ob,
Object[] params,
OpenJPAStateManager sm) |
R |
FinderQuery.execute(OpenJPAStateManager sm,
StoreManager store,
FetchConfiguration fetch)
Execute the query for a given instance.
|
boolean |
DelegatingStoreManager.exists(OpenJPAStateManager sm,
Object context) |
boolean |
StoreManager.exists(OpenJPAStateManager sm,
Object edata)
Verify that the given instance exists in the data store; return false
if it does not.
|
int |
VersionLockManager.getLockLevel(OpenJPAStateManager sm)
Returns the given instance's lock level, assuming that the state's
lock object is a number.
|
int |
LockManager.getLockLevel(OpenJPAStateManager sm)
Return the lock level of the specified instance, or
LockLevels.LOCK_NONE if not locked. |
int |
NoneLockManager.getLockLevel(OpenJPAStateManager sm) |
void |
PCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch)
Initializes the state manager.
|
void |
AbstractPCResultObjectProvider.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch) |
boolean |
DelegatingStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object context) |
boolean |
StoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object edata)
Initialize the given state manager.
|
boolean |
DelegatingStoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object context) |
boolean |
StoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object edata)
Load the given state manager.
|
void |
PCData.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
Object context)
Loads some or all of the marked fields from the cache into the
given state manager.
|
void |
PCDataImpl.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
Object context) |
protected abstract void |
AbstractPCResultObjectProvider.load(OpenJPAStateManager sm,
FetchConfiguration fetch)
Load data from the current input record into the given state
manager.
|
void |
PCData.load(OpenJPAStateManager sm,
FetchConfiguration fetch,
Object context)
Loads all fields that are currently stored in the cache
into the given state manager.
|
void |
PCDataImpl.load(OpenJPAStateManager sm,
FetchConfiguration fetch,
Object context) |
protected void |
PCDataImpl.loadField(OpenJPAStateManager sm,
FieldMetaData fmd,
FetchConfiguration fetch,
Object context)
Set field-level information into the given state manager.
|
protected void |
PCDataImpl.loadImplData(OpenJPAStateManager sm)
Set impl data information into the given state manager.
|
protected void |
PCDataImpl.loadImplData(OpenJPAStateManager sm,
FieldMetaData fmd)
Set field-level impl data into the given state manager.
|
protected void |
PCDataImpl.loadIntermediate(OpenJPAStateManager sm,
FieldMetaData fmd)
Set intermediate information for the given field into the state manager.
|
protected void |
PCDataImpl.loadVersion(OpenJPAStateManager sm)
Set version information into the given state manager.
|
void |
VersionLockManager.lock(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata)
Delegates to
VersionLockManager.lockInternal(org.apache.openjpa.kernel.OpenJPAStateManager, int, int, java.lang.Object, boolean) after traversing to owning
instance (if embedded) and assuring that the instance is persistent,
is not new, and is not already locked at a higher level. |
void |
LockManager.lock(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata)
Obtain a lock on the specified object.
|
void |
NoneLockManager.lock(OpenJPAStateManager sm,
int level,
int timeout,
Object context) |
protected void |
VersionLockManager.lockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata,
boolean postLockVersionCheck)
Marks the instance's transactional status in accordance with
the settings of
VersionLockManager.getVersionCheckOnReadLock()
and VersionLockManager.getVersionUpdateOnWriteLock() . |
abstract AbstractPCData |
AbstractPCData.newEmbeddedPCData(OpenJPAStateManager sm)
Create a new pcdata for holding the state of an embedded instance.
|
AbstractPCData |
PCDataImpl.newEmbeddedPCData(OpenJPAStateManager sm)
Return a new
PCData implementation of the right type for
embedded instances. |
protected void |
VersionLockManager.optimisticLockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata,
boolean postLockVersionCheck) |
int |
OpCallbacks.processArgument(int op,
Object arg,
OpenJPAStateManager sm)
Process operation argument.
|
Object |
FindCallbacks.processReturn(Object oid,
OpenJPAStateManager sm)
Process operation return value.
|
Object |
BrokerImpl.processReturn(Object oid,
OpenJPAStateManager sm) |
void |
VersionLockManager.refreshLock(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata) |
void |
LockManager.refreshLock(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata)
Perform the same function as previous lock method and has the option
to perform a version check after the lock function has completed.
|
void |
NoneLockManager.refreshLock(OpenJPAStateManager sm,
int level,
int timeout,
Object context) |
void |
VersionLockManager.release(OpenJPAStateManager sm)
Nulls given instance's lock object.
|
void |
LockManager.release(OpenJPAStateManager sm)
Release the lock on the given object.
|
void |
NoneLockManager.release(OpenJPAStateManager sm) |
protected void |
InverseManager.removeFromCollection(OpenJPAStateManager sm,
FieldMetaData fmd,
Object val)
Remove the given instance from the collection.
|
protected void |
VersionLockManager.setLockLevel(OpenJPAStateManager sm,
int level)
Sets the given instance's lock level to the given number.
|
void |
PCData.store(OpenJPAStateManager sm)
Store all loaded fields of the state manager.
|
void |
PCDataImpl.store(OpenJPAStateManager sm) |
void |
PCData.store(OpenJPAStateManager sm,
BitSet fields)
Store the given fields from the state manager.
|
void |
PCDataImpl.store(OpenJPAStateManager sm,
BitSet fields) |
protected void |
PCDataImpl.storeField(OpenJPAStateManager sm,
FieldMetaData fmd)
Store field-level information from the given state manager.
|
protected void |
InverseManager.storeField(OpenJPAStateManager sm,
FieldMetaData fmd,
Object compare,
Object val)
Store a given value at the given field.
|
protected void |
PCDataImpl.storeImplData(OpenJPAStateManager sm)
Store impl data from the given state manager.
|
protected void |
PCDataImpl.storeImplData(OpenJPAStateManager sm,
FieldMetaData fmd,
boolean fieldLoaded)
Store impl data for the given field.
|
protected void |
PCDataImpl.storeIntermediate(OpenJPAStateManager sm,
FieldMetaData fmd)
Store the intermediate field value for the given field.
|
protected void |
InverseManager.storeNull(OpenJPAStateManager sm,
FieldMetaData fmd,
Object compare)
Store null value at the given field.
|
protected void |
PCDataImpl.storeVersion(OpenJPAStateManager sm)
Store version information from the given state manager.
|
boolean |
DelegatingStoreManager.syncVersion(OpenJPAStateManager sm,
Object context) |
boolean |
StoreManager.syncVersion(OpenJPAStateManager sm,
Object edata)
Update the version information in the given state manager to the
version stored in the data store.
|
protected void |
InverseManager.throwException(OpenJPAStateManager sm,
FieldMetaData fmd)
Throw an inconsistency exception
|
protected Object |
AbstractPCData.toEmbeddedField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data into an embedded PC field value.
|
protected Object |
AbstractPCData.toField(OpenJPAStateManager sm,
FieldMetaData fmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data value into its field value.
|
protected Object |
AbstractPCData.toNestedField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data value to its field value.
|
protected Collection |
AbstractPCData.toNestedFields(OpenJPAStateManager sm,
ValueMetaData vmd,
Collection data,
FetchConfiguration fetch,
Object context)
Transform the given data value to its field value.
|
protected Object |
AbstractPCData.toRelationField(OpenJPAStateManager sm,
ValueMetaData vmd,
Object data,
FetchConfiguration fetch,
Object context)
Transform the given data into a relation field value.
|
protected Object[] |
AbstractPCData.toRelationFields(OpenJPAStateManager sm,
Object data,
FetchConfiguration fetch)
Transform the given data into relation field values.
|
protected void |
InverseManager.warnConsistency(OpenJPAStateManager sm,
FieldMetaData fmd)
Log an inconsistency warning
|
Modifier and Type | Method and Description |
---|---|
Collection<Exception> |
DelegatingStoreManager.flush(Collection<OpenJPAStateManager> sms) |
Collection<Exception> |
StoreManager.flush(Collection<OpenJPAStateManager> sms)
Flush the given state manager collection to the datastore, returning
a collection of exceptions encountered during flushing.
|
Collection<Object> |
DelegatingStoreManager.loadAll(Collection<OpenJPAStateManager> sms,
PCState state,
int load,
FetchConfiguration fetch,
Object context) |
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.
|
Constructor and Description |
---|
DetachedStateManager(PersistenceCapable pc,
OpenJPAStateManager sm,
BitSet load,
boolean access,
boolean multithreaded)
Constructor.
|
ObjectIdStateManager(Object oid,
OpenJPAStateManager owner,
ValueMetaData ownerVal)
Constructor; supply embedded object id and its owner.
|
Modifier and Type | Method and Description |
---|---|
int |
EntityManagerImpl.processArgument(int op,
Object obj,
OpenJPAStateManager sm) |
Object |
EntityManagerImpl.processReturn(Object oid,
OpenJPAStateManager sm) |
Modifier and Type | Method and Description |
---|---|
Iterator<OpenJPAStateManager> |
Closure.iterator() |
Modifier and Type | Method and Description |
---|---|
static String |
IOR.toString(OpenJPAStateManager sm)
Stringified representation of a managed instance identity.
|
Modifier and Type | Method and Description |
---|---|
Document |
XMLFormatter.encode(Collection<OpenJPAStateManager> sms,
javax.persistence.metamodel.Metamodel model)
Encodes the closure of given collection of managed instance into a new XML document
according to JEST Instance XML Schema.
|
JSON |
JSONObjectFormatter.encode(Collection<OpenJPAStateManager> sms,
javax.persistence.metamodel.Metamodel model) |
T |
ObjectFormatter.encode(Collection<OpenJPAStateManager> objs,
javax.persistence.metamodel.Metamodel model)
Encode the
persistent closure of the given collection of managed instances as a
resource e.g a XML or HTML document or an interactive document with JavaScript or a JSON array. |
Document |
XMLFormatter.writeOut(Collection<OpenJPAStateManager> objs,
javax.persistence.metamodel.Metamodel model,
String title,
String desc,
String uri,
OutputStream out) |
JSON |
JSONObjectFormatter.writeOut(Collection<OpenJPAStateManager> sms,
javax.persistence.metamodel.Metamodel model,
String title,
String desc,
String uri,
OutputStream out) |
T |
ObjectFormatter.writeOut(Collection<OpenJPAStateManager> objs,
javax.persistence.metamodel.Metamodel model,
String title,
String desc,
String uri,
OutputStream out)
Encodes the
persistent closure of the given collection of objects, then write it into
the given output stream. |
Constructor and Description |
---|
Closure(OpenJPAStateManager root) |
Constructor and Description |
---|
Closure(Collection<OpenJPAStateManager> roots) |
Modifier and Type | Method and Description |
---|---|
OpenJPAStateManager |
DistributedBrokerImpl.persist(Object pc,
Object id,
boolean explicit,
OpCallbacks call)
Assigns slice identifier to the resultant StateManager as initialized by
the super class implementation.
|
Modifier and Type | Method and Description |
---|---|
static SliceInfo |
SliceImplHelper.getSliceInfo(OpenJPAStateManager sm)
Gets the assigned slice information, if any, from the given StateManager.
|
static SliceInfo |
SliceImplHelper.getSlicesByPolicy(OpenJPAStateManager sm,
DistributedConfiguration conf,
Object ctx)
Gets the target slices for the given StateManager.
|
static boolean |
SliceImplHelper.isSliceAssigned(OpenJPAStateManager sm)
Affirms if the given StateManager has an assigned slice.
|
SliceInfo |
SliceInfo.setInto(OpenJPAStateManager sm)
Sets this receiver as the given StateManager's internal instance-level
data.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ApplicationIds.assign(OpenJPAStateManager sm,
StoreManager store,
boolean preFlush)
Assign an application identity object to the given state, or return
false if determining the application identity requires a flush.
|
static BitSet |
ImplHelper.getUpdateFields(OpenJPAStateManager sm)
Returns the fields of the state that require an update.
|
static boolean |
Proxies.isOwner(Proxy proxy,
OpenJPAStateManager sm,
int field)
Used by proxy types to check if the given owners and field names
are equivalent.
|
void |
AbstractLRSProxyCollection.setOwner(OpenJPAStateManager sm,
int field) |
void |
DelayedHashSetProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
DelayedTreeSetProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
DelayedLinkedHashSetProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
DelayedPriorityQueueProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
DelayedVectorProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
DelayedArrayListProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
void |
Proxy.setOwner(OpenJPAStateManager sm,
int field)
Reset the state of the proxy, and set the owning instance of the
proxy and the name of the field it is assigned to.
|
void |
AbstractLRSProxyMap.setOwner(OpenJPAStateManager sm,
int field) |
void |
DelayedLinkedListProxy.setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt) |
Modifier and Type | Method and Description |
---|---|
boolean |
XMLStoreManager.exists(OpenJPAStateManager sm,
Object context) |
boolean |
XMLStoreManager.initialize(OpenJPAStateManager sm,
PCState state,
FetchConfiguration fetch,
Object context) |
void |
ObjectData.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch)
Load the data and version information for this object into the
given state manager.
|
boolean |
XMLStoreManager.load(OpenJPAStateManager sm,
BitSet fields,
FetchConfiguration fetch,
int lockLevel,
Object context) |
void |
ObjectData.load(OpenJPAStateManager sm,
FetchConfiguration fetch)
Load the data and version information for this object into the
given state manager.
|
void |
ObjectData.store(OpenJPAStateManager sm)
Store the data and version information for this object from the
given state manager.
|
boolean |
XMLStoreManager.syncVersion(OpenJPAStateManager sm,
Object context) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.