Difference between revisions of "BBB BUC SAdmin MngSub"
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
− | '''Scenario 1:''' Add subject | + | =='''Scenario 1:''' Add subject.== |
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 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. || | |Actor fills in fields and chooses to save. ||System persists changes and creates new record in db. || | ||
Line 18: | Line 18: | ||
− | '''Scenario 2:''' Edit subject. | + | =='''Scenario 2:''' Edit subject.== |
Line 28: | Line 28: | ||
! 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 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 selects subject and chooses to edit. ||System returns page with editable fields populated with chosen subject's details. || | ||
Line 36: | Line 36: | ||
− | '''Scenario 3:''' Delete subject. | + | =='''Scenario 3:''' Delete subject.== |
Line 46: | Line 46: | ||
! 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 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 selects subject and chooses to delete. ||System returns prompt asking for confirmation. || | ||
Line 57: | Line 57: | ||
− | '''Scenario 4:''' Add Section to Subject | + | =='''Scenario 4:''' Add Section to Subject.== |
Line 67: | Line 67: | ||
! 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 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 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 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. || | |Actor fills out field with section letter and chooses to save. ||System persists data and adds record to db. || | ||
Line 80: | Line 80: | ||
− | '''Scenario 5:''' Delete Subject's Section | + | =='''Scenario 5:''' Delete Subject's Section.== |
Line 90: | Line 90: | ||
! 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 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 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 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. || | |Actor accepts (chooses to delete). ||System deletes section record from db. || | ||
Line 103: | Line 103: | ||
− | '''Scenario 6:''' Add professor to section | + | =='''Scenario 6:''' Add professor to section.== |
Line 113: | 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 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 subject. ||System returns section(s) associated with selected subject. ||Subject code. |
|- | |- | ||
− | |Actor selects section and chooses to | + | |Actor selects section and chooses to add professor. ||System returns field to search for professor. || Section letter. |
|- | |- | ||
− | |Actor | + | |Actor types professor email into search field and chooses to add. ||System first checks local db for professor, then LDAP. If professor doesn't exist in db, system will search LDAP for professor and create a record if found. || Professor email. |
|} | |} | ||
'''Postconditions:''' Manage subjects page. | '''Postconditions:''' Manage subjects page. |
Latest revision as of 15:09, 18 June 2013
Brief Description: The process by which an actor manages subjects and their associated professors.
Contents
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 add professor. | System returns field to search for professor. | Section letter. |
Actor types professor email into search field and chooses to add. | System first checks local db for professor, then LDAP. If professor doesn't exist in db, system will search LDAP for professor and create a record if found. | Professor email. |
Postconditions: Manage subjects page.