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

Packages that use FetchConfiguration
org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementation 
org.apache.openjpa.datacache OpenJPA Data Cache 
org.apache.openjpa.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.util OpenJPA Utilities 
 

Uses of FetchConfiguration in org.apache.openjpa.abstractstore
 

Methods in org.apache.openjpa.abstractstore that return FetchConfiguration
 FetchConfiguration AbstractStoreManager.newFetchConfiguration()
           
 

Methods in org.apache.openjpa.abstractstore with parameters of type FetchConfiguration
abstract  org.apache.openjpa.lib.rop.ResultObjectProvider AbstractStoreManager.executeExtent(ClassMetaData meta, boolean subs, FetchConfiguration fetch)
          Create a ResultObjectProvider that can return all instances of type, optionally including subclasses as defined by subclasses.
abstract  boolean AbstractStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.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, java.util.BitSet fields, FetchConfiguration fetch, int lockLevel, java.lang.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.
 java.util.Collection AbstractStoreManager.loadAll(java.util.Collection sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object edata)
          This implementation just delegates to the proper singular method (StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object) or StoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)) depending on each state manager's state.
 

Uses of FetchConfiguration in org.apache.openjpa.datacache
 

Methods in org.apache.openjpa.datacache with parameters of type FetchConfiguration
 boolean DataCacheStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object edata)
           
 boolean DataCacheStoreManager.load(OpenJPAStateManager sm, java.util.BitSet fields, FetchConfiguration fetch, int lockLevel, java.lang.Object edata)
           
 java.util.Collection DataCacheStoreManager.loadAll(java.util.Collection sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object edata)
           
 

Uses of FetchConfiguration in org.apache.openjpa.kernel
 

Classes in org.apache.openjpa.kernel that implement FetchConfiguration
 class DelegatingFetchConfiguration
          Delegating fetch configuration that can also perform exception translation for use in facades.
 class FetchConfigurationImpl
          Allows configuration and optimization of how objects are loaded from the data store.
 

Methods in org.apache.openjpa.kernel that return FetchConfiguration
 FetchConfiguration FetchConfiguration.addFetchGroup(java.lang.String group)
          Adds group to the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFetchGroup(java.lang.String group)
           
 FetchConfiguration FetchConfigurationImpl.addFetchGroup(java.lang.String name)
           
 FetchConfiguration FetchConfiguration.addFetchGroups(java.util.Collection groups)
          Adds groups to the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFetchGroups(java.util.Collection groups)
           
 FetchConfiguration FetchConfigurationImpl.addFetchGroups(java.util.Collection groups)
           
 FetchConfiguration FetchConfiguration.addField(java.lang.String field)
          Adds field to the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addField(java.lang.String field)
           
 FetchConfiguration FetchConfigurationImpl.addField(java.lang.String field)
           
 FetchConfiguration FetchConfiguration.addFields(java.util.Collection fields)
          Adds fields to the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFields(java.util.Collection fields)
           
 FetchConfiguration FetchConfigurationImpl.addFields(java.util.Collection fields)
           
 FetchConfiguration FetchConfiguration.clearFetchGroups()
          Clears the set of fetch group names to use when loading data.
 FetchConfiguration DelegatingFetchConfiguration.clearFetchGroups()
           
 FetchConfiguration FetchConfigurationImpl.clearFetchGroups()
           
 FetchConfiguration FetchConfiguration.clearFields()
          Clears the set of field names to use when loading data.
 FetchConfiguration DelegatingFetchConfiguration.clearFields()
           
 FetchConfiguration FetchConfigurationImpl.clearFields()
           
 FetchConfiguration DelegatingFetchConfiguration.getDelegate()
          Return the direct delegate.
 FetchConfiguration StoreContext.getFetchConfiguration()
          Return the (mutable) fetch configuration for loading objects from this context.
 FetchConfiguration BrokerImpl.getFetchConfiguration()
           
 FetchConfiguration Extent.getFetchConfiguration()
          Return the (mutable) fetch configuration for this extent.
 FetchConfiguration QueryContext.getFetchConfiguration()
          Return the fetch configuration for this query.
 FetchConfiguration QueryImpl.getFetchConfiguration()
           
 FetchConfiguration DelegatingBroker.getFetchConfiguration()
           
 FetchConfiguration DelegatingExtent.getFetchConfiguration()
           
 FetchConfiguration DelegatingQuery.getFetchConfiguration()
           
 FetchConfiguration ExtentImpl.getFetchConfiguration()
           
 FetchConfiguration DelegatingFetchConfiguration.getInnermostDelegate()
          Return the native delegate.
 FetchConfiguration StoreManager.newFetchConfiguration()
          Return a fetch configuration suitable for this runtime.
 FetchConfiguration DelegatingStoreManager.newFetchConfiguration()
           
 FetchConfiguration FetchConfiguration.removeFetchGroup(java.lang.String group)
          Remove the given fetch group.
 FetchConfiguration DelegatingFetchConfiguration.removeFetchGroup(java.lang.String group)
           
 FetchConfiguration FetchConfigurationImpl.removeFetchGroup(java.lang.String group)
           
 FetchConfiguration FetchConfiguration.removeFetchGroups(java.util.Collection groups)
          Removes groups from the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.removeFetchGroups(java.util.Collection groups)
           
 FetchConfiguration FetchConfigurationImpl.removeFetchGroups(java.util.Collection groups)
           
 FetchConfiguration FetchConfiguration.removeField(java.lang.String field)
          Remove the given fully-qualified field.
 FetchConfiguration DelegatingFetchConfiguration.removeField(java.lang.String field)
           
 FetchConfiguration FetchConfigurationImpl.removeField(java.lang.String field)
           
 FetchConfiguration FetchConfiguration.removeFields(java.util.Collection fields)
          Removes fields from the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.removeFields(java.util.Collection fields)
           
 FetchConfiguration FetchConfigurationImpl.removeFields(java.util.Collection fields)
           
 FetchConfiguration FetchConfiguration.resetFetchGroups()
          Resets the set of fetch groups to the list in the global configuration.
 FetchConfiguration DelegatingFetchConfiguration.resetFetchGroups()
           
 FetchConfiguration FetchConfigurationImpl.resetFetchGroups()
           
 FetchConfiguration FetchConfiguration.setFetchBatchSize(int fetchBatchSize)
          Set the fetch batch size for large result set support.
 FetchConfiguration DelegatingFetchConfiguration.setFetchBatchSize(int fetchBatchSize)
           
 FetchConfiguration FetchConfigurationImpl.setFetchBatchSize(int fetchBatchSize)
           
 FetchConfiguration FetchConfiguration.setFlushBeforeQueries(int flush)
          The query automatic flush configuration.
 FetchConfiguration DelegatingFetchConfiguration.setFlushBeforeQueries(int flush)
           
 FetchConfiguration FetchConfigurationImpl.setFlushBeforeQueries(int flush)
           
 FetchConfiguration FetchConfiguration.setLockTimeout(int timeout)
          The number of milliseconds to wait for an object lock, or -1 for no limit.
 FetchConfiguration DelegatingFetchConfiguration.setLockTimeout(int timeout)
           
 FetchConfiguration FetchConfigurationImpl.setLockTimeout(int timeout)
           
 FetchConfiguration FetchConfiguration.setMaxFetchDepth(int max)
          Set the maximum depth of the fetched instance graph.
 FetchConfiguration DelegatingFetchConfiguration.setMaxFetchDepth(int depth)
           
 FetchConfiguration FetchConfigurationImpl.setMaxFetchDepth(int depth)
           
 FetchConfiguration FetchConfiguration.setQueryCacheEnabled(boolean cache)
          Control whether or not query caching is enabled.
 FetchConfiguration DelegatingFetchConfiguration.setQueryCacheEnabled(boolean cache)
           
 FetchConfiguration FetchConfigurationImpl.setQueryCacheEnabled(boolean cache)
           
 FetchConfiguration FetchConfiguration.setReadLockLevel(int level)
          The lock level to use for locking loaded objects.
 FetchConfiguration DelegatingFetchConfiguration.setReadLockLevel(int level)
           
 FetchConfiguration FetchConfigurationImpl.setReadLockLevel(int level)
           
 FetchConfiguration FetchConfiguration.setRootClasses(java.util.Collection classes)
          Root classes for recursive operations.
 FetchConfiguration DelegatingFetchConfiguration.setRootClasses(java.util.Collection roots)
           
 FetchConfiguration FetchConfigurationImpl.setRootClasses(java.util.Collection classes)
           
 FetchConfiguration FetchConfiguration.setRootInstances(java.util.Collection roots)
          Root instances for recursive operations.
 FetchConfiguration DelegatingFetchConfiguration.setRootInstances(java.util.Collection roots)
           
 FetchConfiguration FetchConfigurationImpl.setRootInstances(java.util.Collection instances)
           
 FetchConfiguration FetchConfiguration.setWriteLockLevel(int level)
          The lock level to use for locking dirtied objects.
 FetchConfiguration DelegatingFetchConfiguration.setWriteLockLevel(int level)
           
 FetchConfiguration FetchConfigurationImpl.setWriteLockLevel(int level)
           
 FetchConfiguration FetchConfiguration.traverse(FieldMetaData fm)
          Traverse the given field to generate (possibly) a new configuration state.
 FetchConfiguration DelegatingFetchConfiguration.traverse(FieldMetaData fmd)
           
 FetchConfiguration FetchConfigurationImpl.traverse(FieldMetaData fm)
           
 

Methods in org.apache.openjpa.kernel with parameters of type FetchConfiguration
 void FetchConfiguration.copy(FetchConfiguration fetch)
          Copy the state from the given fetch configuration to this one.
 void DelegatingFetchConfiguration.copy(FetchConfiguration fetch)
           
 void FetchConfigurationImpl.copy(FetchConfiguration fetch)
           
 org.apache.openjpa.lib.rop.ResultObjectProvider StoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
          Return a provider for all instances of the given candidate class, optionally including subclasses.
 org.apache.openjpa.lib.rop.ResultObjectProvider DelegatingStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
 java.util.Iterator StoreContext.extentIterator(java.lang.Class cls, boolean subs, FetchConfiguration fetch, boolean ignoreChanges)
          Return an iterator over all instances of the given type.
 java.util.Iterator BrokerImpl.extentIterator(java.lang.Class type, boolean subclasses, FetchConfiguration fetch, boolean ignoreChanges)
           
 java.util.Iterator DelegatingBroker.extentIterator(java.lang.Class cls, boolean subs, FetchConfiguration fetch, boolean ignoreChanges)
           
 java.lang.Object StoreContext.find(java.lang.Object oid, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
          Return the object with the given oid.
 java.lang.Object BrokerImpl.find(java.lang.Object oid, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
           
 java.lang.Object DelegatingBroker.find(java.lang.Object oid, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
           
protected  java.lang.Object BrokerImpl.find(java.lang.Object oid, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags, FindCallbacks call)
          Internal finder.
 java.lang.Object[] StoreContext.findAll(java.util.Collection oids, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
          Return the objects with the given oids.
 java.lang.Object[] BrokerImpl.findAll(java.util.Collection oids, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
           
 java.lang.Object[] DelegatingBroker.findAll(java.util.Collection oids, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags)
           
protected  java.lang.Object[] BrokerImpl.findAll(java.util.Collection oids, FetchConfiguration fetch, java.util.BitSet exclude, java.lang.Object edata, int flags, FindCallbacks call)
          Internal finder.
 java.util.BitSet OpenJPAStateManager.getUnloaded(FetchConfiguration fetch)
          Return a mutable mask of the unloaded fields that need loading based on the given fetch configuration.
 java.util.BitSet StateManagerImpl.getUnloaded(FetchConfiguration fetch)
           
 java.util.BitSet DetachedStateManager.getUnloaded(FetchConfiguration fetch)
           
 java.util.BitSet DetachedValueStateManager.getUnloaded(FetchConfiguration fetch)
           
 java.util.BitSet ObjectIdStateManager.getUnloaded(FetchConfiguration fetch)
           
 void AbstractPCResultObjectProvider.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch)
           
 void PCResultObjectProvider.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch)
          Initializes the state manager.
 boolean StoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object edata)
          Initialize the given state manager.
 boolean DelegatingStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, java.lang.Object context)
           
protected  StateManagerImpl BrokerImpl.initialize(StateManagerImpl sm, boolean load, FetchConfiguration fetch, java.lang.Object edata)
          Initialize a newly-constructed state manager.
 void OpenJPAStateManager.load(FetchConfiguration fetch)
          Load fetch group fields.
 void StateManagerImpl.load(FetchConfiguration fetch)
           
 void DetachedStateManager.load(FetchConfiguration fetch)
           
 void DetachedValueStateManager.load(FetchConfiguration fetch)
           
 void ObjectIdStateManager.load(FetchConfiguration fetch)
           
protected  boolean StateManagerImpl.load(FetchConfiguration fetch, int loadMode, java.util.BitSet exclude, java.lang.Object sdata, boolean forWrite)
          Load the state of this instance based on the given fetch configuration and load mode.
 boolean StoreManager.load(OpenJPAStateManager sm, java.util.BitSet fields, FetchConfiguration fetch, int lockLevel, java.lang.Object edata)
          Load the given state manager.
 boolean DelegatingStoreManager.load(OpenJPAStateManager sm, java.util.BitSet fields, FetchConfiguration fetch, int lockLevel, java.lang.Object context)
           
 void PCData.load(OpenJPAStateManager sm, java.util.BitSet fields, FetchConfiguration fetch, java.lang.Object context)
          Loads some or all of the marked fields from the cache into the given state manager.
 void PCDataImpl.load(OpenJPAStateManager sm, java.util.BitSet fields, FetchConfiguration fetch, java.lang.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, java.lang.Object context)
          Loads all fields that are currently stored in the cache into the given state manager.
 void PCDataImpl.load(OpenJPAStateManager sm, FetchConfiguration fetch, java.lang.Object context)
           
 java.util.Collection StoreManager.loadAll(java.util.Collection sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object edata)
          Initialize, load, or validate the existance of all of the given objects.
 java.util.Collection DelegatingStoreManager.loadAll(java.util.Collection sms, PCState state, int load, FetchConfiguration fetch, java.lang.Object context)
           
protected  void PCDataImpl.loadField(OpenJPAStateManager sm, FieldMetaData fmd, FetchConfiguration fetch, java.lang.Object context)
          Set field-level information into the given state manager.
protected  java.lang.Object AbstractPCData.toEmbeddedField(OpenJPAStateManager sm, ValueMetaData vmd, java.lang.Object data, FetchConfiguration fetch, java.lang.Object context)
          Transform the given data into an embedded PC field value.
protected  java.lang.Object AbstractPCData.toField(OpenJPAStateManager sm, FieldMetaData fmd, java.lang.Object data, FetchConfiguration fetch, java.lang.Object context)
          Transform the given data value into its field value.
protected  java.lang.Object AbstractPCData.toNestedField(OpenJPAStateManager sm, ValueMetaData vmd, java.lang.Object data, FetchConfiguration fetch, java.lang.Object context)
          Transform the given data value to its field value.
protected  java.util.Collection AbstractPCData.toNestedFields(OpenJPAStateManager sm, ValueMetaData vmd, java.util.Collection data, FetchConfiguration fetch, java.lang.Object context)
          Transform the given data value to its field value.
protected  java.lang.Object AbstractPCData.toRelationField(OpenJPAStateManager sm, ValueMetaData vmd, java.lang.Object data, FetchConfiguration fetch, java.lang.Object context)
          Transform the given data into a relation field value.
protected  java.lang.Object[] AbstractPCData.toRelationFields(OpenJPAStateManager sm, java.lang.Object data, FetchConfiguration fetch)
          Transform the given data into relation field values.
 

Constructors in org.apache.openjpa.kernel with parameters of type FetchConfiguration
DelegatingFetchConfiguration(FetchConfiguration fetch)
          Constructor; supply delegate.
DelegatingFetchConfiguration(FetchConfiguration fetch, RuntimeExceptionTranslator trans)
          Constructor; supply delegate and exception translator.
 

Uses of FetchConfiguration in org.apache.openjpa.util
 

Methods in org.apache.openjpa.util with parameters of type FetchConfiguration
static java.util.Collection ImplHelper.loadAll(java.util.Collection sms, StoreManager store, PCState state, int load, FetchConfiguration fetch, java.lang.Object context)
          Helper for store manager implementations.