Package Modeling :: Package interfaces :: Module FetchSpecification :: Class IFetchSpecification
[show private | hide private]
[frames | no frames]

Class IFetchSpecification

Base --+
       |
      IFetchSpecification


A FetchSpecification gathers all information needed to fetch objects, either from a database or (in-memory) in an EditingContext.
Method Summary
  __init__(self, entityName, qualifier, sortOrderings, distinctFlag, deepFlag, hints)
Initializes the FetchSpecification
  distinctFlag(self)
  entityName(self)
  fetchLimit(self)
Returns the receiver's fetch limit.
  isDeep(self)
  locksObjects(self)
Tells whether the FetchSpecification is configured so that fetched objects will be locked or not
  qualifier(self)
Returns the qualifier used to fetch objects
  refreshesRefetchedObjects(self)
  setEntityName(self, entityName)
  setFetchLimit(self, limit)
  setIsDeep(self, aBool)
  setLocksObject(self, lockFlag)
Tells the FetchSpecification (actually, objects that will use it) whether to lock the objects while fetching or not
  setQualifier(self)
Sets the qualifier used to fetch objects
  setRefreshesRefetchedObjects(self, aBool)
  setSortOrderings(self, sortOrderings)
  setUsesDistinct(self, aBool)
  sortOrderings(self)
  usesDistinct(self)

Method Details

__init__(self, entityName, qualifier=None, sortOrderings=(), distinctFlag=0, deepFlag=0, hints={})
(Constructor)

Initializes the FetchSpecification

fetchLimit(self)

Returns the receiver's fetch limit. a zero means that there is no fetch limit to be applied

locksObjects(self)

Tells whether the FetchSpecification is configured so that fetched objects will be locked or not

qualifier(self)

Returns the qualifier used to fetch objects

setLocksObject(self, lockFlag)

Tells the FetchSpecification (actually, objects that will use it) whether to lock the objects while fetching or not

setQualifier(self)

Sets the qualifier used to fetch objects

Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 http://epydoc.sf.net