Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Online Book Store

1) UseCase Diagram

login buy a book maintain book record

user search books categoriewise

list books categoriewise

maintain user info cancel books

system

add new books

check current book status generate bill

administrator replenish books

2) Class diagram

3) Activity Diagram
i. Cancel Book

User

System

Cancel book Less than 7 days

Cancel date Order date More than 7days

Allow cancellation

Order is cancelled

Cannot cancel the order

Show user homepage

ii.

Login

User

system Logging In New User

Existing User Log In Check Validity Valid User User Logged on Invalid User

Sign In

Enter details

check whether user name exists? New user name Already Exists.

Enter new user detailsn database

Show user homepage

iii.

Replenish Books

User

Administrator

System

Request a book Book not available Book is available make changes in the database Report to administrator fork

Book added to the bill show error book not available

Order books requested

4) Sequence Diagram (Replenish Books)

Web interface : user : administrator

system

database

1: Order a book 2: report to system 3: check in database 4: book available 5: deduct from database 6: add to the bill 7: show bill and continue further transaction 8: book not availble 9: error

Display error message

11: error

10: order requested book

12: destroy message

You might also like