Package admin

Class Summary
Input This class is used to Input data for any of the tables that don't end with _REQ
It gets all paramters (table, operation, specific record ID) and displays
appropriate input fields
If operation is ADD the input fields are empty
if the operation is Modify input fields are prepopulated
if the operations is View it is dipslayed in the same way as Modify but there is no Submit Button
if operation is delete - forward to Query and pass the parameters
Login This class is used to check the username and login and to create the session and stores the real name for the user throughout the session.
Logout This class is used to clear the session and redirect to log in page
ModifyMajorList This class is used to modify not available list for Minors Very similar to ModifyReq
ModifyReq This class is used to modify requriements + pre/co requisites It displays several buttons and drop down boxes that the user uses to operate and input.
PresentMenu This class is used to display all database tables to the user in the form of an HTML form drop-down (select) field, so that the user can choose which one they want to administer, it also displays a drop down box that asks the user to select which catalog they want to use and several radio buttons to choose which operation they want to perform
Query This class is used to execute user modifications on the database depending on the parameters passed to it
QueryList This class is used to execute user modifications on the database depending on the parameters passed to it for ModifyMajorList and ModifyReq only the Courses part
Req This class is used to Select Requirements to be modified for any of the tables that end with _REQ It gets all paramters (table, operation, specific record ID) and displays all requirement records
If operation is ADD it redirects to ModifyReq
if the operation is Modify /Delete/View it displays appropriate fields
RequirementParser In the add modify module, the requirement strings the user builds are not in the native format stored in the SAS database.
TableDisplay This class is used to display all records from the table selected in PresentMenu and/or to redirect to the appropriate input handler
It takes the table_name and the operation from PresentMenu
If a list is presented the user can choose which one they want to administer
if the operation is add it redirects to Input
There are several cases:
1.
TableLayout This class is used as an HTML utility it has methods to create tables and table cells