Escolar Documentos
Profissional Documentos
Cultura Documentos
Author(s)
Name
Roja
Sections completed
Table of Contents
1.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
Introduction
Use case Registration
Use Case Search
Use Case Transactions
Use Case Add/Remove book
Use Case Report
Use Case Login
Use Case View/edit
REVISION HISTORY
Date
Name
3
3-4
4-5
5-6
6-7
7-8
8-9
9-10
Changes
USE CASES
1.0 Introduction: The purpose of the system is to allow for storing details of a
large number of books and allow for add, search, borrow, return facilities
separately to administrator, staff and students. Different privileges are
given to different types of users. Using the OOSE (Object Oriented
Software Engineering) we try to express the requirements as use cases
consisting of actors and how they interact with the system. We define the
objects and use cases as system objects. We define the functions and
attributes within these system objects
This document will outline the Use Cases for the Online library management
System Application, utilizing the following structure format.
Use Case Name
Description
Actor
Pre-Conditions
Main Flow
Alternate Flows
Exception Flows
Post Conditions
Actors: 1. Administrator (Category User)
2. Staff (Category User)
3. Students (Category User)
4. Library Account (Category System)
5. Book (Category System)
6. Transaction (Category System)
7. Report (Category System)
8. Search (Category System)
9. Registration (Category System) .
2.1
Use Case: Registration.
2.1.1 Description: This use case describes how to register a user.
Actors: Administrator, Staff
2.1.2 Pre-Conditions: The student should have a valid college membership
document which contains his name, date_of_birth, course, Rollno to obtain
library membership. The same criteria apply for registration of library and other
staff members including the administrator
2.1.3 Main Flow:
The use case begins when the administrator selects the Register button from the
main screen.
1. To register a student the administrator or staff has to first login.
2. After login the administrator or staff searches for the existing students.
3.If the student is already registered there is no need to register him.
3
2.2
Use Case: Search
2.2.1 Description: this use case will help us to search the required books.
Actors: Administrator, Staff, Students.
2.2.2 Pre-Conditions: The book or student to be searched should have been
registered in the database of the library management system.
2.2.3 Main Flow:
1. The student or staff or administrator logins to the system.
4
2.3
Use Case: Transaction
2.3.1 Description: Returning/borrowing of a book.
Actors: Administrator, Staff
2.3.2 Pre-Conditions: To return or borrow any book it is important that the
student or staff member is registered with the library and the book to be
borrowed is available with the library. To return the book the pre-condition is that
the student and the staff member is registered and that book data is available
with the library.
5
2.4
Use Case: Book (Add/Remove)
2.4.1 Description: Adding/removing of a book.
Actors: Administrator.
2.4.2 Pre-Conditions: To add any book that book should be part of the
requisition list and to delete the book the book must be part of the library
6
2.5
Use Case: Report
2.5.1 Description: Generating reports for a book or student.
Actors: Administrator, staff.
2.6
Use Case: Login
2.6.1 Description: Generating reports for a book or student.
Actors: Administrator, Staff, Student.
8
.
2.7
Use Case: View/Edit
2.7.1 Description: Viewing or editing book details.
Actors: Administrator, Staff.
2.7.2 Pre-Conditions: To view the details of any book or edit book details that
book should be part of the library database. To view or edit student or staff details
that student or staff should be part of the library database. Whoever is viewing or
editing should be registered with the library.
2.7.3 Main Flow:
1. To view details or edit details of any book the administrator or staff
should first login to the library system.
2. If login successfully they must search for that book by putting book id or
title or isbn.
3. If the book is found they should enter book id to view the details and
also edit it.
4. To view details or edit details of any student or staff the administrator or
staff should first login to the library system.
5. If login successfully they must search for that student or staff by putting
student id or staff id.
6. If the student or staff is found they should enter student id or staff id to
view the details and also edit it..
2.7.4 Alternate Flows:
1. If login fails the administrator should re-register that staff
2. If book search is unsuccessful then that book cannot be viewed or
edited.
3. If staff search is unsuccessful then that staff member cannot be viewed
or edited.
2.7.5 Exception Flows: Errors generated if the books/student is not available.
2.7.6 Post Conditions: All required Setup data has been input about the books
available and not available.
10