Package Bio :: Module biblio :: Class BiblioCollection
[hide private]
[frames] | no frames]

Class BiblioCollection

source code

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.

Instance Methods [hide private]
 
__init__(self, biblio, cid=-1) source code
 
__del__(self) source code
 
get_collection_id(self) source code
 
get_count(self) source code
 
refine(self, keywords, attrs, criteria) source code
 
subcollection(self, keywords, attrs, criteria) source code
 
get_all_ids(self) source code
 
get_all(self) source code
 
exists(self) source code
 
destroy(self) source code