|
|
Cheshire3 Objects: Document Group |
One or more Documents may be present in a DocumentGroup. This allows for users to upload a zip file of several documents and the system can process everything from there. Equally, a DocumentGroup might just be a single flat text file, an SQL database dump, or a search on a remote system.
| Function | Parameters | Returns | Description |
|---|---|---|---|
| __init__ | data | The constructer takes the data which should be used to construct the documentGroup from. This is implementation dependant. | |
| get_document | session, index | Document | Return the index'th document in the group |
| get_length | session | integer | Return the number of documents in the group |