3a.+Use+Case+Context+Diagram+and+Brief+Use+Case+Specifications

OnCD Use Case Context Diagram

__Main Use Cases__

__UC1 Name:__ Create Account

Actor: Customer

__Purpose:__  To create a new account record for the customer which contains personal information.

__Overview:__ The customer logs onto OnCD and selects the option to create an account. The system displays a form into which the customer enters her personal information. The customer submits the information, and after the system diplays the info for review and the customer verifies its validity, the system displays a success message and stores the information. Account creation consists of providing information such as Name, Address, Age, Username, and Password

--- __UC2 Name:__  Download Music

__Actor:__ Customer

__Purpose:__  To purchase and download music from the OnCD system.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Overview: The customer purchases a selection of music and selects the download option. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">The system asks the customer where she would like to store the music on her device, and the customer selects a storage location. The system downloads the music onto the customer’s device and displays a success message if completed. If failure occurs, the system will provide customer with opportunity to re-download the music. To download multiple times, multiple payments are required.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">--- <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC3 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Sample Music

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Customer

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To allow the customer to sample digital music from the OnCD system.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">The customer requests to sample music from a certain artist, album, or genre of music. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">The system displays a media player loaded with the music the customer requested to sample. The customer plays a short sample of the music which is no longer than one minute and 30 seconds. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">--- <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC4 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Display Info

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Customer

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">To display artist, CD title and date of last shipment information for the customer.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The customer requests that the system display some information about music. The system retrieves and displays this information.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">--- <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC5 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Rate Music

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Customer

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To rate music so that others can view customer’s opinion.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The customer selects a rating of one to five stars. The system records this rating.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">--- <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC6 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Search Music <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Customer or Clerk

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To search through the music inventory and locate music of specific artist, genre, album title, or song title.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The customer requests to search music and the system displays the search tool. The customer inputs her search values and submits her search. The system searches inventory records for this query, and (1) displays the relevant music results if successful, or else (2) displays a message that music not found in inventory. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">---

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC7 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Place Order

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Clerk

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To receive order from customer and process order within OnCD.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The customer calls the store and requests the clerk place an order for her. The clerk logs into OnCD, and performs a search for the requested music. If music found in inventory, the clerk inputs the customer’s payment information and places an order. If successful, an email message is sent to the customer’s email address; otherwise, the clerk replaces the order.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">---

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC8 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Update Inventory

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">: Clerk or Administrator

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To update inventory after an order is placed.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Overview: The clerk or administrator searches the inventory for specific CD(s). The system displays the inventory info. The clerk or administrator update the inventory. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">---

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC9 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Buy CDs

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Actor:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> Customer

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To purchase CD(s) from OnCD.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The customer searches the inventory to locate specific CD. The system displays an interface which the customer can use to purchase CD. The customer enters payment information and submits her order. The system updates inventory and sends notification to store personnel for order processing. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">---

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__UC10 Name:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Create Report

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">Actor: Administrator

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Purpose:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> To create a report which informs management about current inventory levels and sales <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> data.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; vertical-align: baseline;">__Overview:__ <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> The administrator requests a report from the system. The system prints report with <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> current inventory levels and sales data. The report is logged within the system <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;"> records for future retrieval. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">-- <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 14.6667px; text-decoration: none; vertical-align: baseline;">__UC11 Name:__ Pay by Credit Card

for approval through external payment authorization service (PAS). PAS approves payment. System notifies customer her payment was approved.
--