Uses of Interface
org.apache.openjpa.kernel.OpenJPAStateManager

Packages that use OpenJPAStateManager
org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementation 
org.apache.openjpa.datacache OpenJPA Data Cache 
org.apache.openjpa.event OpenJPA Events 
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.jdbc.sql OpenJPA-JDBC SQL Abstraction 
org.apache.openjpa.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.util OpenJPA Utilities 
org.apache.openjpa.xmlstore XML Store 
 

Uses of OpenJPAStateManager in org.apache.openjpa.abstractstore
 

Methods in org.apache.openjpa.abstractstore with parameters of type OpenJPAStateManager
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)
          Casts v1 and v2 to Comparable, and invokes v1.compareTo (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.
 

Uses of OpenJPAStateManager in org.apache.openjpa.datacache
 

Methods in org.apache.openjpa.datacache with parameters of type OpenJPAStateManager
 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)
           
 void DataCachePCDataImpl.store(OpenJPAStateManager sm)
           
 void DataCachePCDataImpl.store(OpenJPAStateManager sm, BitSet fields)
           
 boolean DataCacheStoreManager.syncVersion(OpenJPAStateManager sm, Object edata)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.event
 

Methods in org.apache.openjpa.event with parameters of type OpenJPAStateManager
 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 ExceptionOrphanedKeyAction.orphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd)
           
 Object LogOrphanedKeyAction.orphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.kernel
 

Fields in org.apache.openjpa.jdbc.kernel declared as OpenJPAStateManager
 OpenJPAStateManager ConnectionInfo.sm
           
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type OpenJPAStateManager
 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)
           
 int JDBCStoreManager.compareVersion(OpenJPAStateManager state, Object v1, Object v2)
           
 boolean JDBCStoreManager.exists(OpenJPAStateManager sm, Object context)
           
 boolean JDBCStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context)
           
 boolean JDBCStoreManager.load(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context)
           
 void JDBCLockManager.loadedForUpdate(OpenJPAStateManager sm)
          Notification that the given instance was loaded via a result set produced by a FOR UPDATE select.
 void PessimisticLockManager.loadedForUpdate(OpenJPAStateManager sm)
           
protected  void PessimisticLockManager.lockInternal(OpenJPAStateManager sm, int level, int timeout, Object sdata)
           
 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.
 boolean JDBCStoreManager.syncVersion(OpenJPAStateManager sm, Object context)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.meta
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type OpenJPAStateManager
 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.
 void Version.afterLoad(OpenJPAStateManager sm, JDBCStore store)
           
 boolean VersionStrategy.checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion)
          Checks the version of the given state manager with the version stored in memory.
 boolean Version.checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion)
           
 void Discriminator.customDelete(OpenJPAStateManager sm, JDBCStore store)
           
 void FieldMapping.customDelete(OpenJPAStateManager sm, JDBCStore store)
           
 void Strategy.customDelete(OpenJPAStateManager sm, JDBCStore store)
          Override this method to customize flushing this mapping.
 void ClassMapping.customDelete(OpenJPAStateManager sm, JDBCStore store)
           
 void Version.customDelete(OpenJPAStateManager sm, JDBCStore store)
           
 void Discriminator.customInsert(OpenJPAStateManager sm, JDBCStore store)
           
 void FieldMapping.customInsert(OpenJPAStateManager sm, JDBCStore store)
           
 void Strategy.customInsert(OpenJPAStateManager sm, JDBCStore store)
          Override this method to customize flushing this mapping.
 void ClassMapping.customInsert(OpenJPAStateManager sm, JDBCStore store)
           
 void Version.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 FieldMapping.customUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 void Strategy.customUpdate(OpenJPAStateManager sm, JDBCStore store)
          Override this method to customize flushing this mapping.
 void ClassMapping.customUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 void Version.customUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 void Discriminator.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void FieldMapping.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 ClassMapping.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void Version.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 FieldMapping.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 ClassMapping.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void Version.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 Boolean Discriminator.isCustomDelete(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean FieldMapping.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 ClassMapping.isCustomDelete(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean Version.isCustomDelete(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean Discriminator.isCustomInsert(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean FieldMapping.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 ClassMapping.isCustomInsert(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean Version.isCustomInsert(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean Discriminator.isCustomUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean FieldMapping.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 ClassMapping.isCustomUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean Version.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.
 void VersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res)
          Load data.
 void Version.load(OpenJPAStateManager sm, JDBCStore store, Result res)
           
 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 ValueMapping.setForeignKey(Row row, OpenJPAStateManager rel)
          Sets this value's foreign key to the given related object.
 void ValueMappingImpl.setForeignKey(Row row, OpenJPAStateManager rel)
           
 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 FieldMapping.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 ClassMapping.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void Version.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 ValueMapping.whereForeignKey(Row row, OpenJPAStateManager rel)
          Sets this value's foreign key to the given related object.
 void ValueMappingImpl.whereForeignKey(Row row, OpenJPAStateManager rel)
           
 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.
 

Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.meta.strats
 

Methods in org.apache.openjpa.jdbc.meta.strats that return OpenJPAStateManager
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.
 

Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type OpenJPAStateManager
 void StateComparisonVersionStrategy.afterLoad(OpenJPAStateManager sm, JDBCStore store)
           
 void SuperclassVersionStrategy.afterLoad(OpenJPAStateManager sm, JDBCStore store)
           
 void AbstractVersionStrategy.afterLoad(OpenJPAStateManager sm, JDBCStore store)
           
 boolean ColumnVersionStrategy.checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion)
           
 boolean StateComparisonVersionStrategy.checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion)
           
 boolean SuperclassVersionStrategy.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 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 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 RelationToManyTableFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void HandlerFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void ColumnVersionStrategy.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 FullClassStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationToManyInverseKeyFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void VerticalClassStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void StringFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void PrimitiveFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationFieldStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void NoneClassStrategy.delete(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void AbstractStrategy.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 HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store)
           
 Object StringFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store)
           
 Object PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store)
           
 Object RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm, Column col, JDBCStore store)
           
 Object EmbeddedClassStrategy.getNullIndicatorValue(OpenJPAStateManager sm)
          Return the proper synthetic null indicator value for the given instance.
 Result[] RelationMapTableFieldStrategy.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.
 Result[] RelationMapInverseKeyFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs)
           
 Row StateComparisonVersionStrategy.CustomUpdate.getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
           
 void RelationToManyTableFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void HandlerFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void ColumnVersionStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void InValueDiscriminatorStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void EmbedFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void StateComparisonVersionStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void FullClassStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationToManyInverseKeyFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void VerticalClassStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void StringFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void PrimitiveFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationFieldStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void NoneClassStrategy.insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void AbstractStrategy.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 MaxEmbeddedClobFieldStrategy.isCustom(OpenJPAStateManager sm, JDBCStore store)
           
protected  Boolean MaxEmbeddedBlobFieldStrategy.isCustom(OpenJPAStateManager sm, JDBCStore store)
           
protected  Boolean MaxEmbeddedByteArrayFieldStrategy.isCustom(OpenJPAStateManager sm, JDBCStore store)
           
protected  Boolean MaxEmbeddedCharArrayFieldStrategy.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 AbstractStrategy.isCustomInsert(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean EmbedFieldStrategy.isCustomUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 Boolean AbstractStrategy.isCustomUpdate(OpenJPAStateManager sm, JDBCStore store)
           
 void HandlerFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 void MapTableFieldStrategy.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 StoreCollectionFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 void HandlerFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void EmbedFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void AbstractFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void StringFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void PrimitiveFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void RelationFieldStrategy.load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void ColumnVersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res)
           
 void AbstractVersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res)
           
 void AbstractFieldStrategy.loadEagerJoin(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void RelationFieldStrategy.loadEagerJoin(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 void StoreCollectionFieldStrategy.loadEagerJoin(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
           
 Object AbstractFieldStrategy.loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res)
           
 Object RelationFieldStrategy.loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res)
           
 Object StoreCollectionFieldStrategy.loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res)
           
protected  Object RelationToManyTableFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
           
 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 LRSCollectionFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
          Load an element of the collection.
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.
 void HandlerFieldStrategy.loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val)
           
 void StringFieldStrategy.loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val)
           
 void PrimitiveFieldStrategy.loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val)
           
 void RelationFieldStrategy.loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val)
           
 Object RelationMapTableFieldStrategy.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.
 Object RelationMapInverseKeyFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
           
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 RelationMapTableFieldStrategy.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.
 Object RelationMapInverseKeyFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
           
protected  void MaxEmbeddedClobFieldStrategy.putData(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict)
           
protected  void MaxEmbeddedBlobFieldStrategy.putData(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict)
           
protected  void MaxEmbeddedByteArrayFieldStrategy.putData(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict)
           
protected  void MaxEmbeddedCharArrayFieldStrategy.putData(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict)
           
 int HandlerFieldStrategy.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 AbstractFieldStrategy.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 PrimitiveFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int RelationFieldStrategy.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 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.selectEagerJoin(Select 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 StoreCollectionFieldStrategy.selectEagerParallel(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 void RelationMapTableFieldStrategy.selectKey(Select sel, ClassMapping key, 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 RelationMapInverseKeyFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationMapTableFieldStrategy.selectValue(Select sel, ClassMapping val, 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 RelationMapInverseKeyFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void HandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc)
           
 void StringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc)
           
 void PrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc)
           
 void RelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc)
           
 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)
           
 boolean AbstractClassStrategy.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
           
 int HandlerFieldStrategy.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 AbstractFieldStrategy.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 PrimitiveFieldStrategy.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 StoreCollectionFieldStrategy.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  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 UntypedPCValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm, Column col)
           
 void RelationToManyTableFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void HandlerFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void ColumnVersionStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void EmbedFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void StateComparisonVersionStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void FullClassStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationToManyInverseKeyFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void VerticalClassStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void StringFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void PrimitiveFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void RelationFieldStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void NoneClassStrategy.update(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
           
 void AbstractStrategy.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 MaxEmbeddedClobFieldStrategy.update(OpenJPAStateManager sm, Row row)
           
protected  void MaxEmbeddedBlobFieldStrategy.update(OpenJPAStateManager sm, Row row)
           
protected  void MaxEmbeddedByteArrayFieldStrategy.update(OpenJPAStateManager sm, Row row)
           
protected  void MaxEmbeddedCharArrayFieldStrategy.update(OpenJPAStateManager sm, Row row)
           
 void HandlerFieldStrategy.where(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue)
           
 void AbstractFieldStrategy.where(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue)
           
 void StringFieldStrategy.where(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue)
           
 void PrimitiveFieldStrategy.where(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.sql
 

Methods in org.apache.openjpa.jdbc.sql that return OpenJPAStateManager
 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 RowImpl.getPrimaryKey()
          This implementation does not track primary keys.
 OpenJPAStateManager PrimaryRow.getPrimaryKey()
           
 OpenJPAStateManager Row.getPrimaryKey()
          Return the instance that controls this row.
 OpenJPAStateManager PrimaryRow.getRelationIdSet(Column col)
          Return the recorded value for the given relation id column.
 

Methods in org.apache.openjpa.jdbc.sql with parameters of type OpenJPAStateManager
 Row RowManagerImpl.getRow(Table table, int action, OpenJPAStateManager sm, boolean create)
           
 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.
 void RowImpl.setForeignKey(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm)
           
 void SecondaryRow.setForeignKey(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm)
           
 void PrimaryRow.setForeignKey(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm)
           
 void Row.setForeignKey(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm)
          Set the value of the given foreign key to the given object.
 void RowImpl.setForeignKey(ForeignKey fk, OpenJPAStateManager sm)
           
 void SecondaryRow.setForeignKey(ForeignKey fk, OpenJPAStateManager sm)
           
 void PrimaryRow.setForeignKey(ForeignKey fk, OpenJPAStateManager sm)
           
 void Row.setForeignKey(ForeignKey fk, OpenJPAStateManager sm)
          Set the value of the given foreign key to the given object.
 void RowImpl.setPrimaryKey(ColumnIO io, OpenJPAStateManager sm)
           
 void PrimaryRow.setPrimaryKey(ColumnIO io, OpenJPAStateManager sm)
           
 void Row.setPrimaryKey(ColumnIO io, OpenJPAStateManager sm)
          Set the primary key to represent the given object.
 void RowImpl.setPrimaryKey(OpenJPAStateManager sm)
           
 void PrimaryRow.setPrimaryKey(OpenJPAStateManager sm)
           
 void Row.setPrimaryKey(OpenJPAStateManager sm)
          Set the primary key to represent the given object.
 void RowImpl.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel)
           
 void SecondaryRow.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel)
           
 void PrimaryRow.setRelationId(Column col, OpenJPAStateManager sm, RelationId rel)
           
 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 RowImpl.whereForeignKey(ForeignKey fk, OpenJPAStateManager sm)
           
 void PrimaryRow.whereForeignKey(ForeignKey fk, OpenJPAStateManager sm)
           
 void Row.whereForeignKey(ForeignKey fk, OpenJPAStateManager sm)
          Set the foreign key equality criteria to link to the given object.
 void RowImpl.wherePrimaryKey(OpenJPAStateManager sm)
           
 void PrimaryRow.wherePrimaryKey(OpenJPAStateManager sm)
           
 void Row.wherePrimaryKey(OpenJPAStateManager sm)
          Set the primary key equality criteria for this row.
 

Constructors in org.apache.openjpa.jdbc.sql with parameters of type OpenJPAStateManager
PrimaryRow(Column[] cols, int action, OpenJPAStateManager owner)
           
PrimaryRow(Table table, int action, OpenJPAStateManager owner)
          Constructor; supply table and action.
 

Uses of OpenJPAStateManager in org.apache.openjpa.kernel
 

Classes in org.apache.openjpa.kernel that implement OpenJPAStateManager
 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.
 

Methods in org.apache.openjpa.kernel that return OpenJPAStateManager
 OpenJPAStateManager StoreContext.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
          Make the given instance embedded.
 OpenJPAStateManager BrokerImpl.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
           
 OpenJPAStateManager DelegatingBroker.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
           
 OpenJPAStateManager DetachedValueStateManager.getOwner()
           
 OpenJPAStateManager DetachedStateManager.getOwner()
           
 OpenJPAStateManager OpenJPAStateManager.getOwner()
          Return the owning state if this is an embedded instance.
 OpenJPAStateManager StateManagerImpl.getOwner()
           
 OpenJPAStateManager ObjectIdStateManager.getOwner()
           
 OpenJPAStateManager StoreContext.getStateManager(Object obj)
          Return the state manager for the given instance.
 OpenJPAStateManager BrokerImpl.getStateManager(Object obj)
           
 OpenJPAStateManager DelegatingBroker.getStateManager(Object obj)
           
 OpenJPAStateManager BrokerImpl.persist(Object obj, Object id, boolean explicit, OpCallbacks call)
          Persist the given object.
 OpenJPAStateManager BrokerImpl.persist(Object obj, Object id, OpCallbacks call)
           
 OpenJPAStateManager DelegatingBroker.persist(Object obj, Object id, OpCallbacks call)
           
 OpenJPAStateManager Broker.persist(Object pc, Object id, OpCallbacks call)
          Make the given instance persistent.
 

Methods in org.apache.openjpa.kernel with parameters of type OpenJPAStateManager
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(org.apache.openjpa.kernel.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 StoreContext.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
          Make the given instance embedded.
 OpenJPAStateManager BrokerImpl.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
           
 OpenJPAStateManager DelegatingBroker.embed(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta)
           
 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) 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)
          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.
 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.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  Object AbstractPCData.toRelationField(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context)
          Transform the given data into a relation field value.
protected  void InverseManager.warnConsistency(OpenJPAStateManager sm, FieldMetaData fmd)
          Log an inconsistency warning
 

Constructors in org.apache.openjpa.kernel with parameters of type OpenJPAStateManager
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.
 

Uses of OpenJPAStateManager in org.apache.openjpa.persistence
 

Methods in org.apache.openjpa.persistence with parameters of type OpenJPAStateManager
 int EntityManagerImpl.processArgument(int op, Object obj, OpenJPAStateManager sm)
           
 Object EntityManagerImpl.processReturn(Object oid, OpenJPAStateManager sm)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.util
 

Methods in org.apache.openjpa.util that return OpenJPAStateManager
 OpenJPAStateManager Proxy.getOwner()
          Return the owning object.
 OpenJPAStateManager AbstractLRSProxyMap.getOwner()
           
 OpenJPAStateManager AbstractLRSProxyCollection.getOwner()
           
 

Methods in org.apache.openjpa.util with parameters of type OpenJPAStateManager
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 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 AbstractLRSProxyCollection.setOwner(OpenJPAStateManager sm, int field)
           
 

Uses of OpenJPAStateManager in org.apache.openjpa.xmlstore
 

Methods in org.apache.openjpa.xmlstore with parameters of type OpenJPAStateManager
 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-2007 Apache Software Foundation. All Rights Reserved.