Početna stranica > Hacking Invenio > WebSubmit Internals > BibDocFile API |
The BibDocFile library handles every interaction relation between records and related fulltext document files.
Given a record_id, BibRecDocs(record_id) will be an object useful to represent all the bibdocs connected to a record.
Given a record_id and a docname or a document_id, BibDoc(recid=record_id, docname=docname) or BibDoc(docid=document_id) will be an object useful to represent all the possible version and formats of a document connected to a record.
By properly querying BibRecDocs and BibDoc you can obtain a BibDocFile. This is an object representing all the possible details related a single physical file, like a comment, a description, the path, the related URL, the size, the format, the version, the checksum, the protection...
See bibdocfile API for a complete API description.