source: TI03-DataExtractor/branches/old_stuff/abstractPWSS/doc/optionHandler_module.txt @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/abstractPWSS/doc/optionHandler_module.txt@793
Revision 793, 995 bytes checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

Line 
1Help on module optionHandler:
2
3NAME
4    optionHandler
5
6FILE
7    /home/as56/abstractWebService/abstractPWSS/optionHandler.py
8
9DESCRIPTION
10    optionHandler.py
11    ================
12   
13    Holds the OptionHandler class that is used to generate available
14    option lists to send to the user via whichever presentation layer
15    is being used.
16
17CLASSES
18    OptionHandler
19   
20    class OptionHandler
21     |  Handles options based on the user's rights and the current selections
22     |  made by the user.
23     | 
24     |  Methods defined here:
25     | 
26     |  __init__(self, userRoles, username)
27     |      Sets userRoles and username instance variable.
28     | 
29     |  getOption1Choices(self)
30     |      Returns choices available to the user for option 1, this depends on
31     |      the access rights the user is entitled to.
32     | 
33     |  getOption2Choices(self, choice1)
34     |      Returns choices available to the user for option 2, depending on selection
35     |      for option 1.
36
Note: See TracBrowser for help on using the repository browser.