| org.apache.ojb.broker.accesslayer.RelationshipPrefetcher
All known Subclasses: org.apache.ojb.broker.accesslayer.BasePrefetcher,
RelationshipPrefetcher | public interface RelationshipPrefetcher (Code) | | Interface for Relationship Prefetchers.
Each Prefetcher handles a single Relationship (1:1 or 1:n)
author: Jakob Braeuchi version: $Id: RelationshipPrefetcher.java,v 1.5.2.1 2005/12/21 22:22:58 tomdz Exp $ |
getItemClassDescriptor | public ClassDescriptor getItemClassDescriptor()(Code) | | Returns the ClassDescriptor of the item Class
ClassDescriptor |
getLimit | public int getLimit()(Code) | | The limit of objects loaded by one SQL query
|
prefetchRelationship | public void prefetchRelationship(Collection owners)(Code) | | Prefetch the Relationship for the owners (the 1 side of a 1:n)
|
prepareRelationshipSettings | public void prepareRelationshipSettings()(Code) | | Prepare the Relationship for prefetch (ie: disable auto-retrieve)
|
restoreRelationshipSettings | public void restoreRelationshipSettings()(Code) | | Restore the Relationship settings(ie: enable auto-retrieve)
|
|
|