source: TI03-DataExtractor/branches/old_stuff/dx-webservice/doc/request_module.txt @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx-webservice/doc/request_module.txt@793
Revision 793, 1.3 KB checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

Line 
1Help on module request:
2
3NAME
4    request
5
6FILE
7    /usr/local/dx-0.1.1/request.py
8
9DESCRIPTION
10    request.py
11    ===========
12   
13    Request module for the data extractor package.
14   
15    This module holds the Requestdb class that is used
16    to store the contents of user requests.
17
18CLASSES
19    Requestdb
20   
21    class Requestdb
22     |  Requestdb method - An instance of this holds a user request that
23     |  is stored in a python shelve object.
24     | 
25     |  Methods defined here:
26     | 
27     |  __init__(self, request_id=None)
28     |      __init__ method - generates a unique id for a request if the
29     |      requests object does not already exist.
30     | 
31     |  getNumDatasets(self)
32     |      getNumDatasets method - returns the current number of datasets
33     |      selected.
34     | 
35     |  getRequestID(self)
36     |      getRequestID method - returns the request ID.
37     | 
38     |  loadRequest(self)
39     |      loadRequest method - [not yet implemented]
40     | 
41     |  readRequest(self)
42     |      readRequest method - reads the current request from the python
43     |      shelve object.
44     | 
45     |  saveRequest(self)
46     |      saveRequest method - [not yet implemented]
47     | 
48     |  writeRequest(self, request)
49     |      writeRequest method - writes the current request to a python
50     |      shelve object.
51
Note: See TracBrowser for help on using the repository browser.