Aqua Phoenix



  Navigator
 
  3. Design Document
 


3.3.2 Component / Behavior Model for 'Site Administrator Interface'



Figure 4: Component / Behavior Model for 'Site Administrator Interface'
Click to enlarge
 
Name: Site Administrator Interface
Defining Qualities:
  • Database Design (outlined separately in section 2.3.1.)
  • Add data to a given table; the Add Data interface is produced from the blueprint of the database
  • Edit data in a given table
  • Delete data in a given table
  • View data in a given table
  • User information is handled like any other data; it resides in a table and can be manipulated as outlined in the previous four points
  • Toggle fields on/off for search from front-end interface; all fields can participate in Search
  • Change order of search fields and search results for front-end interface
  • User Interface Manipulation (outlined separately in sections 2.3.2.)
Behaviors:
(Algorithms)
Add data to table
  • User selects which table to add data to
  • Construct a form-entry page reflecting the current table design (including the relations to other tables)
  • Upon submission, add data to table
Edit data in table
  • User selects which table to edit data from
  • User selects which item to edit
  • Construct a form-entry page reflecting the current table design (including the relations to other tables)
  • Place current values of the selected item into the form
  • Upon submission, data is updated
  • If data was referenced by rows in other tables, those rows are updated as well
Delete data from table
  • User selects which table to delete from
  • User selects one (or several items to delete)
  • Items are removed from table
  • If data was referenced by rows in other tables, those rows are updated by removing the link to this table
View data in table
  • Prints out table in a table-form, X many rows at a time
User information
  • User information is handled like any other table
  • A user's permissions to all the distinct functions of the system can be toggled on/off
  • The admin user's permissions cannot be changed; they comprise all by default
  • All user passwords can be changed
Search Options
  • Any given field in any given table can be toggled on/off for searching purposes from the front end
  • The order of how the search fields appear can be changed in a select box with 'MOVE UP' and 'MOVE DN' functions
  • The order of how results appear in the front end can be changed in a similar fashion