Table of Contents

Class: BiblioCollection Bio/biblio.py

this class attempts to hide the concept of a collection id from users. each find action's results are grouped in the server under a unique collection id. this id could be used in subsequent calls to refine its content more by entering more specific search criteria. it can also return a new collection by using the subcollection method. each collection has its own current collection id as returned by the SOAP server by using the lower level Biblio class's services and it takes care of freeing this collection in the server upon destruction.

Methods   
__del__
__init__
destroy
exists
get_all
get_all_ids
get_collection_id
get_count
refine
subcollection
  __del__ 
__del__ ( self )

  __init__ 
__init__ (
        self,
        biblio,
        cid=-1,
        )

  destroy 
destroy ( self )

  exists 
exists ( self )

  get_all 
get_all ( self )

  get_all_ids 
get_all_ids ( self )

  get_collection_id 
get_collection_id ( self )

Exceptions   
'no collection id (use find)'
  get_count 
get_count ( self )

  refine 
refine (
        self,
        keywords,
        attrs,
        criteria,
        )

  subcollection 
subcollection (
        self,
        keywords,
        attrs,
        criteria,
        )


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:43 2002 by HappyDoc version 2.0.1