Difference between revisions of "BBB BUC SAdmin MngSub"
(Created page with ''''Brief Description:''' This is a template to copy and paste into other pages. '''Scenario 1:''' Create new meeting '''Preconditions:''' Includes anything that has been set …') |
|||
Line 1: | Line 1: | ||
− | '''Brief Description:''' | + | '''Brief Description:''' The process by which an actor manages subjects and their associated professors. |
− | '''Scenario 1:''' | + | '''Scenario 1:''' Add subject |
− | '''Preconditions:''' | + | '''Preconditions:''' Manage subjects page. |
Line 12: | Line 12: | ||
! Actor !! System !! Data Used | ! Actor !! System !! Data Used | ||
|- | |- | ||
− | | | + | |Actor chooses to add a subject. ||System returns page with editable fields. || Course Code, Course Name |
|- | |- | ||
− | | || || | + | |Actor fills in fields and chooses to save. ||System persists changes and creates new record in db. || |
|} | |} | ||
− | ''' | + | '''Scenario 2:''' Edit subject. |
− | ''' | + | '''Preconditions:''' Manage subjects page. |
− | '''Preconditions:''' | + | {| class="wikitable" border="1" cellpadding="5" |
+ | |- | ||
+ | ! Actor !! System !! Data Used | ||
+ | |- | ||
+ | |Actor types subject code or name into search box and chooses to search. ||System searches db for subject code or name and returns subject(s) (if found). || Subject code, subject name | ||
+ | |- | ||
+ | |Actor selects subject and chooses to edit. ||System returns page with editable fields populated with chosen subject's details. || | ||
+ | |- | ||
+ | |Actor fills in fields and chooses to save. ||System persists changes and creates new record in db. || | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Scenario 3:''' Delete subject. | ||
+ | |||
+ | |||
+ | '''Preconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | {| class="wikitable" border="1" cellpadding="5" | ||
+ | |- | ||
+ | ! Actor !! System !! Data Used | ||
+ | |- | ||
+ | |Actor types subject code or name into search box and chooses to search. ||System searches db for subject code or name and returns subject(s) (if found). || Subject code, subject name | ||
+ | |- | ||
+ | |Actor selects subject and chooses to delete. ||System returns prompt asking for confirmation. || | ||
+ | |- | ||
+ | |Actor accepts (chooses to delete). ||System deletes subject record from db. || | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Postconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | '''Scenario 4:''' Add Section to Subject | ||
+ | |||
+ | |||
+ | '''Preconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | {| class="wikitable" border="1" cellpadding="5" | ||
+ | |- | ||
+ | ! Actor !! System !! Data Used | ||
+ | |- | ||
+ | |Actor types subject code or name into search box and chooses to search. ||System searches db for subject code or name and returns subject(s) (if found). || Subject code, subject name | ||
+ | |- | ||
+ | |Actor selects subject. ||System returns section(s) associated with selected subject. ||Subject code | ||
+ | |- | ||
+ | |Actor chooses to add a section. ||System returns an editable field. || Section letter | ||
+ | |- | ||
+ | |Actor fills out field with section letter and chooses to save. ||System persists data and adds record to db. || | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Postconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | '''Scenario 5:''' Delete Subject's Section | ||
+ | |||
+ | |||
+ | '''Preconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | {| class="wikitable" border="1" cellpadding="5" | ||
+ | |- | ||
+ | ! Actor !! System !! Data Used | ||
+ | |- | ||
+ | |Actor types subject code or name into search box and chooses to search. ||System searches db for subject code or name and returns subject(s) (if found). || Subject code, subject name | ||
+ | |- | ||
+ | |Actor selects subject. ||System returns section(s) associated with selected subject. ||Subject code | ||
+ | |- | ||
+ | |Actor selects section and chooses to delete. ||System returns prompt asking for confirmation. || Section letter | ||
+ | |- | ||
+ | |Actor accepts (chooses to delete). ||System deletes section record from db. || | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Postconditions:''' Manage subjects page. | ||
+ | |||
+ | |||
+ | '''Scenario 6:''' Add professor to section | ||
+ | |||
+ | |||
+ | '''Preconditions:''' Manage subjects page. | ||
Line 31: | Line 113: | ||
! Actor !! System !! Data Used | ! Actor !! System !! Data Used | ||
|- | |- | ||
− | | | + | |Actor types subject code or name into search box and chooses to search. ||System searches db for subject code or name and returns subject(s) (if found). || Subject code, subject name |
+ | |- | ||
+ | |Actor selects subject. ||System returns section(s) associated with selected subject. ||Subject code | ||
+ | |- | ||
+ | |Actor selects section and chooses to delete. ||System returns prompt asking for confirmation. || Section letter | ||
|- | |- | ||
− | | || || | + | |Actor accepts (chooses to delete). ||System deletes section record from db. || |
|} | |} | ||
− | '''Postconditions:''' | + | '''Postconditions:''' Manage subjects page. |
Revision as of 15:10, 14 June 2013
Brief Description: The process by which an actor manages subjects and their associated professors.
Scenario 1: Add subject
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor chooses to add a subject. | System returns page with editable fields. | Course Code, Course Name |
Actor fills in fields and chooses to save. | System persists changes and creates new record in db. |
Scenario 2: Edit subject.
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor types subject code or name into search box and chooses to search. | System searches db for subject code or name and returns subject(s) (if found). | Subject code, subject name |
Actor selects subject and chooses to edit. | System returns page with editable fields populated with chosen subject's details. | |
Actor fills in fields and chooses to save. | System persists changes and creates new record in db. |
Scenario 3: Delete subject.
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor types subject code or name into search box and chooses to search. | System searches db for subject code or name and returns subject(s) (if found). | Subject code, subject name |
Actor selects subject and chooses to delete. | System returns prompt asking for confirmation. | |
Actor accepts (chooses to delete). | System deletes subject record from db. |
Postconditions: Manage subjects page.
Scenario 4: Add Section to Subject
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor types subject code or name into search box and chooses to search. | System searches db for subject code or name and returns subject(s) (if found). | Subject code, subject name |
Actor selects subject. | System returns section(s) associated with selected subject. | Subject code |
Actor chooses to add a section. | System returns an editable field. | Section letter |
Actor fills out field with section letter and chooses to save. | System persists data and adds record to db. |
Postconditions: Manage subjects page.
Scenario 5: Delete Subject's Section
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor types subject code or name into search box and chooses to search. | System searches db for subject code or name and returns subject(s) (if found). | Subject code, subject name |
Actor selects subject. | System returns section(s) associated with selected subject. | Subject code |
Actor selects section and chooses to delete. | System returns prompt asking for confirmation. | Section letter |
Actor accepts (chooses to delete). | System deletes section record from db. |
Postconditions: Manage subjects page.
Scenario 6: Add professor to section
Preconditions: Manage subjects page.
Actor | System | Data Used |
---|---|---|
Actor types subject code or name into search box and chooses to search. | System searches db for subject code or name and returns subject(s) (if found). | Subject code, subject name |
Actor selects subject. | System returns section(s) associated with selected subject. | Subject code |
Actor selects section and chooses to delete. | System returns prompt asking for confirmation. | Section letter |
Actor accepts (chooses to delete). | System deletes section record from db. |
Postconditions: Manage subjects page.