0% found this document useful (0 votes)
64 views7 pages

Eshop Product Line Use Case Document

This document presents a use case model for an eShop product line. It includes two main use cases: UC_01 for proceeding with a purchase and UC_02 for searching products. The model represents variable behavior with aspects, including ASP01 for buying a single good, ASP02 for buying with a shopping cart, and ASP03 for registering user search preferences.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views7 pages

Eshop Product Line Use Case Document

This document presents a use case model for an eShop product line. It includes two main use cases: UC_01 for proceeding with a purchase and UC_02 for searching products. The model represents variable behavior with aspects, including ASP01 for buying a single good, ASP02 for buying with a shopping cart, and ASP03 for registering user search preferences.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

eShop Product Line Use Case Document

Feature Id: 123 Feature Name: eShop Product Line specification

Contents
1. Introduction..................................................................3 2. eShop Use Case Model..........................................................4 2.1 Use Cases...................................................................4 2.1.1 UC_01 Proceed to purchase..............................................4 2.1.2 UC_02 Search products..................................................4 2.2 Aspects.....................................................................5 2.2.1 ASP01 Buy good.........................................................5 2.2.2 ASP02 Buy good with shopping cart......................................6 2.2.3 ASP03 Search products..................................................6

1. Introduction
This document presents an example of the use case model structure proposed for managing varibilities in requirements documents. The scenarios shown here, which were also presented at AOSD 09, describe part of the specifications for an electronic commerce product line.

2. eShop Use Case Model


The main difference between the current Target use case document and the proposal discussed here is that the new version of the use case model represents variant behavior in terms of aspects and advices.

2.1 Use Cases


Use cases that allow a customer to search and buy goods. These use cases describe the common behavior of the product line.

2.1.1 UC_01 Proceed to purchase


This use purchase. Setup: case describes the common behavior related to confirming a

Main Flow
SC_01 Description: This behavior corresponds to the last steps required to confirm a purchase. From Step: START To Step: END Step Id 1M 2M User Action Fill in the requested information. Select one of the available ({SM}) shipping methods. Confirm the purchase. System State System Response Request the shipping method and address. Calculate the Shipping costs. Execute the order and send a request to the Delivery System, in order to dispatch the products. @CustomerPreferences

3M

2.1.2 UC_02 Search products


It describes the behavior that allows a customer to search products.

Setup:

Main Flow
SC_01 Description: Search for products From Step: START To Step: END Step Id 1M 2M User Action Select the advanced search option. Inform the search criteria. System State System Response Request the customer to inform the search criteria. Retrieve the products that satisfy the search criteria. Show a list with the corresponding products. @CustomerPreferences Execute the order and send a request to the Delivery System, in order to dispatch the products. @CustomerPreferences

3M

Confirm the purchase.

2.2 Aspects
This section contains the aspects that introduce variable behavior to the product line use cases.

2.2.1 ASP01 Buy good


It describes the behavior that allows a customer to buy a single product.

Main Flow
ADV01_1 Description: Buy a specific product Type: BEFORE Pointcut: UC_01#1A

Step Id

User Action

System State

System Response

1R

Select the buy product option.

2R

Select the confirm option.

Present the selected product. The user can change the quantity of items he wants to buy. Request payment information.

2.2.2 ASP02 Buy good with shopping cart


It describes the behavior that allows a customer to buy product using a shopping cart.

Main Flow
ADV02_1 Description: Buy products using a shopping cart Type: BEFORE Pointcut: UC_01#1A

Step Id 1R

User Action Select the buy product option.

System State

2R

Select the confirm option.

System Response Present the selected product. The user can change the quantity of items he wants to buy. Request payment information.

2.2.3 ASP03 Search products


Register the user preferences, based on her (his) historical data of searching and purchasing.

Main Flow
ADV03_1 Description: Register user preferences Type: AFTER Pointcut: @CustomerPreferences

Step Id 1R

User Action -

System State

System Response Update the customer preferences based on the search results or purchased items.

You might also like