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.jdbc.kernel OpenJPA-JDBC Runtime Kernel 
org.apache.openjpa.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
org.apache.openjpa.util OpenJPA Utilities 
org.apache.openjpa.xmlstore XML Store 
 

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  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, 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.
 Collection AbstractStoreManager.loadAll(Collection sms, PCState state, int load, FetchConfiguration fetch, 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, Object edata)
           
 boolean DataCacheStoreManager.load(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata)
           
 Collection DataCacheStoreManager.loadAll(Collection sms, PCState state, int load, FetchConfiguration fetch, Object edata)
           
 

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

Subinterfaces of FetchConfiguration in org.apache.openjpa.jdbc.kernel
 interface JDBCFetchConfiguration
          JDBC extensions to OpenJPA's FetchConfiguration.
 

Classes in org.apache.openjpa.jdbc.kernel that implement FetchConfiguration
 class DelegatingJDBCFetchConfiguration
          Delegating fetch configuration that can also perform exception transation for use in facades.
 class JDBCFetchConfigurationImpl
          JDBC extensions to OpenJPA's FetchConfiguration.
 

Methods in org.apache.openjpa.jdbc.kernel that return FetchConfiguration
 FetchConfiguration JDBCStoreManager.newFetchConfiguration()
           
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type FetchConfiguration
 void JDBCFetchConfigurationImpl.copy(FetchConfiguration fetch)
           
 ResultObjectProvider JDBCStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
 boolean JDBCStoreManager.initialize(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context)
           
 boolean JDBCStoreManager.load(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context)
           
 Collection JDBCStoreManager.loadAll(Collection sms, PCState state, int load, FetchConfiguration fetch, Object context)
           
 

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 FetchConfigurationImpl.addFetchGroup(String name)
           
 FetchConfiguration FetchConfiguration.addFetchGroup(String group)
          Adds group to the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFetchGroup(String group)
           
 FetchConfiguration FetchConfigurationImpl.addFetchGroups(Collection groups)
           
 FetchConfiguration FetchConfiguration.addFetchGroups(Collection groups)
          Adds groups to the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFetchGroups(Collection groups)
           
 FetchConfiguration FetchConfigurationImpl.addField(String field)
           
 FetchConfiguration FetchConfiguration.addField(String field)
          Adds field to the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addField(String field)
           
 FetchConfiguration FetchConfigurationImpl.addFields(Collection fields)
           
 FetchConfiguration FetchConfiguration.addFields(Collection fields)
          Adds fields to the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.addFields(Collection fields)
           
 FetchConfiguration FetchConfigurationImpl.clearFetchGroups()
           
 FetchConfiguration FetchConfiguration.clearFetchGroups()
          Clears the set of fetch group names to use when loading data.
 FetchConfiguration DelegatingFetchConfiguration.clearFetchGroups()
           
 FetchConfiguration FetchConfigurationImpl.clearFields()
           
 FetchConfiguration FetchConfiguration.clearFields()
          Clears the set of field names to use when loading data.
 FetchConfiguration DelegatingFetchConfiguration.clearFields()
           
 FetchConfiguration DelegatingFetchConfiguration.getDelegate()
          Return the direct delegate.
 FetchConfiguration DelegatingQuery.getFetchConfiguration()
           
 FetchConfiguration BrokerImpl.getFetchConfiguration()
           
 FetchConfiguration DelegatingBroker.getFetchConfiguration()
           
 FetchConfiguration QueryContext.getFetchConfiguration()
          Return the fetch configuration for this query.
 FetchConfiguration ExtentImpl.getFetchConfiguration()
           
 FetchConfiguration DelegatingExtent.getFetchConfiguration()
           
 FetchConfiguration Extent.getFetchConfiguration()
          Return the (mutable) fetch configuration for this extent.
 FetchConfiguration StoreContext.getFetchConfiguration()
          Return the (mutable) fetch configuration for loading objects from this context.
 FetchConfiguration QueryImpl.getFetchConfiguration()
           
 FetchConfiguration DelegatingFetchConfiguration.getInnermostDelegate()
          Return the native delegate.
 FetchConfiguration DelegatingStoreManager.newFetchConfiguration()
           
 FetchConfiguration StoreManager.newFetchConfiguration()
          Return a fetch configuration suitable for this runtime.
 FetchConfiguration BrokerImpl.pushFetchConfiguration()
           
 FetchConfiguration DelegatingBroker.pushFetchConfiguration()
           
 FetchConfiguration StoreContext.pushFetchConfiguration()
          Pushes a new fetch configuration that inherits from the current fetch configuration onto a stack, and makes the new configuration the active one.
 FetchConfiguration FetchConfigurationImpl.removeFetchGroup(String group)
           
 FetchConfiguration FetchConfiguration.removeFetchGroup(String group)
          Remove the given fetch group.
 FetchConfiguration DelegatingFetchConfiguration.removeFetchGroup(String group)
           
 FetchConfiguration FetchConfigurationImpl.removeFetchGroups(Collection groups)
           
 FetchConfiguration FetchConfiguration.removeFetchGroups(Collection groups)
          Removes groups from the set of fetch group names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.removeFetchGroups(Collection groups)
           
 FetchConfiguration FetchConfigurationImpl.removeField(String field)
           
 FetchConfiguration FetchConfiguration.removeField(String field)
          Remove the given fully-qualified field.
 FetchConfiguration DelegatingFetchConfiguration.removeField(String field)
           
 FetchConfiguration FetchConfigurationImpl.removeFields(Collection fields)
           
 FetchConfiguration FetchConfiguration.removeFields(Collection fields)
          Removes fields from the set of fully-qualified field names to use when loading objects.
 FetchConfiguration DelegatingFetchConfiguration.removeFields(Collection fields)
           
 FetchConfiguration FetchConfigurationImpl.resetFetchGroups()
           
 FetchConfiguration FetchConfiguration.resetFetchGroups()
          Resets the set of fetch groups to the list in the global configuration.
 FetchConfiguration DelegatingFetchConfiguration.resetFetchGroups()
           
 FetchConfiguration FetchConfigurationImpl.setFetchBatchSize(int fetchBatchSize)
           
 FetchConfiguration FetchConfiguration.setFetchBatchSize(int fetchBatchSize)
          Set the fetch batch size for large result set support.
 FetchConfiguration DelegatingFetchConfiguration.setFetchBatchSize(int fetchBatchSize)
           
 FetchConfiguration FetchConfigurationImpl.setFlushBeforeQueries(int flush)
           
 FetchConfiguration FetchConfiguration.setFlushBeforeQueries(int flush)
          The query automatic flush configuration.
 FetchConfiguration DelegatingFetchConfiguration.setFlushBeforeQueries(int flush)
           
 FetchConfiguration FetchConfigurationImpl.setLockTimeout(int timeout)
           
 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.setMaxFetchDepth(int depth)
           
 FetchConfiguration FetchConfiguration.setMaxFetchDepth(int max)
          Set the maximum depth of the fetched instance graph.
 FetchConfiguration DelegatingFetchConfiguration.setMaxFetchDepth(int depth)
           
 FetchConfiguration FetchConfigurationImpl.setQueryCacheEnabled(boolean cache)
           
 FetchConfiguration FetchConfiguration.setQueryCacheEnabled(boolean cache)
          Control whether or not query caching is enabled.
 FetchConfiguration DelegatingFetchConfiguration.setQueryCacheEnabled(boolean cache)
           
 FetchConfiguration FetchConfigurationImpl.setReadLockLevel(int level)
           
 FetchConfiguration FetchConfiguration.setReadLockLevel(int level)
          The lock level to use for locking loaded objects.
 FetchConfiguration DelegatingFetchConfiguration.setReadLockLevel(int level)
           
 FetchConfiguration FetchConfigurationImpl.setRootClasses(Collection classes)
           
 FetchConfiguration FetchConfiguration.setRootClasses(Collection classes)
          Root classes for recursive operations.
 FetchConfiguration DelegatingFetchConfiguration.setRootClasses(Collection roots)
           
 FetchConfiguration FetchConfigurationImpl.setRootInstances(Collection instances)
           
 FetchConfiguration FetchConfiguration.setRootInstances(Collection roots)
          Root instances for recursive operations.
 FetchConfiguration DelegatingFetchConfiguration.setRootInstances(Collection roots)
           
 FetchConfiguration FetchConfigurationImpl.setWriteLockLevel(int level)
           
 FetchConfiguration FetchConfiguration.setWriteLockLevel(int level)
          The lock level to use for locking dirtied objects.
 FetchConfiguration DelegatingFetchConfiguration.setWriteLockLevel(int level)
           
 FetchConfiguration FetchConfigurationImpl.traverse(FieldMetaData fm)
           
 FetchConfiguration FetchConfiguration.traverse(FieldMetaData fm)
          Traverse the given field to generate (possibly) a new configuration state.
 FetchConfiguration DelegatingFetchConfiguration.traverse(FieldMetaData fmd)
           
 

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

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.persistence
 

Methods in org.apache.openjpa.persistence that return FetchConfiguration
 FetchConfiguration FetchPlanImpl.getDelegate()
          Delegate.
 FetchConfiguration FetchPlan.getDelegate()
          Deprecated. cast to FetchPlanImpl instead. This method pierces the published-API boundary, as does the SPI cast.
 

Methods in org.apache.openjpa.persistence with parameters of type FetchConfiguration
protected  DelegatingFetchConfiguration FetchPlanImpl.newDelegatingFetchConfiguration(FetchConfiguration fetch)
          Create a new exception-translating delegating fetch configuration.
 

Constructors in org.apache.openjpa.persistence with parameters of type FetchConfiguration
FetchPlanImpl(FetchConfiguration fetch)
          Constructor; supply delegate.
 

Uses of FetchConfiguration in org.apache.openjpa.persistence.jdbc
 

Methods in org.apache.openjpa.persistence.jdbc with parameters of type FetchConfiguration
protected  DelegatingFetchConfiguration JDBCFetchPlanImpl.newDelegatingFetchConfiguration(FetchConfiguration fetch)
           
 

Constructors in org.apache.openjpa.persistence.jdbc with parameters of type FetchConfiguration
JDBCFetchPlanImpl(FetchConfiguration fetch)
          Constructor; supply delegate.
 

Uses of FetchConfiguration in org.apache.openjpa.util
 

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

Uses of FetchConfiguration in org.apache.openjpa.xmlstore
 

Methods in org.apache.openjpa.xmlstore with parameters of type FetchConfiguration
 ResultObjectProvider XMLStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
 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.
 



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.