ECP Use Case Model - Structured
ECP Use Case Model - Structured
1
© 2001, 2002 Clear View Training Limited
LogOnCustomer
UpdateCustomer
Create
NewCustomer
«extend»
Customer DisplayOrders CancelOrder
«include» «extend»
AddItemToBasket ManageBasket
«extend»
«extend»
BrowseCDs
BrowseProducts
addItem
BrowseBooks
«include»
«actor»
Inventory
FindCDs
FindProducts
FindBooks
LogOnUser
User «include»
«include»
UpdateProduct
DeleteProduct
FromCatalog
AddProduct
ToCatalogue
Shopkeeper NewUser
DeleteCustomer
UpdateUser
Dispatcher
2
© 2001, 2002 Clear View Training Limited
Actors
3
© 2001, 2002 Clear View Training Limited
Actor Customer
ID A1
Parents
Semantics
Someone who buys products from Clear View Training Limited.
4
© 2001, 2002 Clear View Training Limited
Actor User
ID A2
Parents
Semantics
Someone who is not a Customer who uses the system.
5
© 2001, 2002 Clear View Training Limited
Actor Shopkeeper
ID A3
Parents User
Semantics
A user of the system who is responsible for managing the catalogue of products.
6
© 2001, 2002 Clear View Training Limited
Actor SystemAdministrator
ID A4
Parents User
Semantics
A special user of the system who can set up access rights for other Users.
7
© 2001, 2002 Clear View Training Limited
Actor Dispatcher
ID A5
Parents User
Semantics
This Actor represents a worker in the Dispatch department of Clear View Training.
8
© 2001, 2002 Clear View Training Limited
Actor Inventory
ID A6
Parents
Semantics
This Actor represents Clear View Training's Inventory system.
9
© 2001, 2002 Clear View Training Limited
Actor CardProcessingCompany
ID A7
Parents
Semantics
This Actor represents an external company that processes credit card transactions on behalf
of Clear View Training.
10
© 2001, 2002 Clear View Training Limited
Use Cases
11
© 2001, 2002 Clear View Training Limited
12
© 2001, 2002 Clear View Training Limited
Preconditions
1 The Customer has not been recognised by the system.
1 The scenario begins when the Customer selects “Log On”.
2 While the Customer is not logged on and the number of authentication attempts is less than
or equal to three
2.1 The system asks the Customer for their user name and password.
2.2 The Customer enters their user name and password.
3 On the final authentication attempt he user name and/or password are wrong.
4 The system logs a security violation.
Postconditions
1 The Customer is not authenticated.
2 A security violation has been logged.
13
© 2001, 2002 Clear View Training Limited
14
© 2001, 2002 Clear View Training Limited
15
© 2001, 2002 Clear View Training Limited
16
© 2001, 2002 Clear View Training Limited
17
© 2001, 2002 Clear View Training Limited
18
© 2001, 2002 Clear View Training Limited
19
© 2001, 2002 Clear View Training Limited
Alternative flow 1
1 At any point, include( FindProduct ).
20
© 2001, 2002 Clear View Training Limited
Alternative flow 1
1 At any point, include( FindProduct ).
21
© 2001, 2002 Clear View Training Limited
Alternative flow 1
1 At any point, include( FindProduct ).
22
© 2001, 2002 Clear View Training Limited
23
© 2001, 2002 Clear View Training Limited
24
© 2001, 2002 Clear View Training Limited
25
© 2001, 2002 Clear View Training Limited
26
© 2001, 2002 Clear View Training Limited
27
© 2001, 2002 Clear View Training Limited
28
© 2001, 2002 Clear View Training Limited
29
© 2001, 2002 Clear View Training Limited
30
© 2001, 2002 Clear View Training Limited
31
© 2001, 2002 Clear View Training Limited
32
© 2001, 2002 Clear View Training Limited
34
© 2001, 2002 Clear View Training Limited
35
© 2001, 2002 Clear View Training Limited
36
© 2001, 2002 Clear View Training Limited
Postconditions
1 The User is logged on.
37
© 2001, 2002 Clear View Training Limited
38
© 2001, 2002 Clear View Training Limited
39
© 2001, 2002 Clear View Training Limited
40